XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Arlen OvervigSubject: display of schema instance per document form of schema display
Author: Arlen Overvig
Date: 18 Mar 2009 01:27 PM
When xsd file is displayed in "Documentation" tab and a sequence is contained inside a choice, the "XML Instance Representation" displays the elements of the sequence as elements of the choice. e.g.
<xs:complexType name="ExpressionValue">
<xs:element name="InValue" type="OneOfAnyExpression"/>
<xs:element name="OutValue" type="OneOfAnyExpression" minOccurs="0"/>
<xs:element name="OutValue" type="OneOfAnyExpression"/>

displays as

Start Choice [1]
<InValue> OneOfAnyExpression </InValue> [1]
<OutValue> OneOfAnyExpression </OutValue> [0..1]
<OutValue> OneOfAnyExpression </OutValue> [1]
End Choice

where the 2 OutValue elements are apparently equally valid for the choice.

Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.