이 콘텐츠는 선택한 언어로 제공되지 않습니다.

8.4. Create a New XML Document View Model


Important

Please note that XML Document Modeling has been deprecated.

8.4.1. Create a New XML Document View Model

To create a new empty XML document view model:
  1. Launch the New Model Wizard.
  2. Specify a unique model name.
  3. Select XML option from Model Class drop-down menu.
  4. Select View Model from Model Type drop-down menu.
  5. Click Finish.

Note

You can change the target location (i.e. project or folder) by selecting the Browse... button and selecting a project or folder within your workspace.
In addition to creating a new empty XML document view model, the following builder options are available:
  1. Copy from existing model of the same model class.
  2. Build XML documents from XML schema.

8.4.2. Copy an Existing XML Document View Model

This builder option performs a structural copy of the contents of an existing model to a newly defined model. You can choose a full copy or select individual model components for copy.
To create a new XML document view model by copying contents from another XML document view model, complete first 4 steps from the Create a New XML Document View Model section and continue with these additional steps:
  1. Select the model builder labeled Copy from existing model of the same model class and click Next >. The Copy Existing Model dialog will be displayed.
  2. Select an existing XML document from the workspace using the browse button.
  3. Select the Copy all descriptions option if desired. Click Finish.

8.4.3. Build an XML Document View Model

This option creates an XML View document model based on a selected XML schema and its dependencies.
To create a new XML document view model by from XML schema, complete first 4 steps from the Create a Xml Document View Model section and continue with these additional steps:
  1. Select the model builder labeled Build XML documents from XML schema and click Next >. The Select XML Schema dialog will be displayed.
  2. Select an existing schema model from the workspace using the browse button.

    Note

    An existing model will be preselected if an XSD model in the workspace is selected in the VDB explorer prior to starting the new model wizard. The schema must be found in the workspace so if you need to get one or more into the workspace use the XSD Schemas on file system importer.
  3. Move the available schema root elements you want to become virtual documents in the new model over to the Virtual Documents list by using the arrow button to move all elements.
  4. Select the appropriate document options and mapping options. Click Finish.
  5. Click Finish to create a model of all selected document entities or (optional) click Next > to view Selected Documents Statistics page which shows document entity statistics and gives you an idea the size of the model being created.
  6. (Optional) Click Finish to create a model of all selected document entities or click Next > to view Preview Generated Documents page that allows you to exclude document specific entities then click Finish.

    Note

    For deeply nested schema, your total entity count may be large. If so, displaying the preview may take some time.
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat
맨 위로 이동