OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   content model question

[ Lists Home | Date Index | Thread Index ]


Is is possible to create an XML Schema content model for an element
containing mixed content (i.e. text and subelements) and to also specify
the sequence of the text and the subelements? For example an instance
might look like this:

<myelement>textblob
<mysubelement1>textblob1</mysubelement1>
<mysubelement2>textblob2</mysubelement2>
</myelement>

The goal is to constrain the content of <myelement> so that the textblob
must occur first and then be followed by <mysubelement1> and
<mysubelement2>

Thank you for your help.

Morgan Cundiff
Library of Congress







 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS