File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
XML and Related Technologies
what does mixed attribute mean in <xs:complexType>
Joined: Aug 01, 2009
Apr 21, 2013 22:34:08
<xs:element name="MarkedUpDesc"> <xs:complexType mixed="true"> <xs:sequence> <xs:element name="Bold" type="xs:string" /> <xs:element name="Italic" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:element>
Joined: Jan 18, 2011
Apr 22, 2013 11:27:03
It means it would validate this kind of document.
<MarkupDesc>some text acceptable<Bold>bold-text</Bold>some text acceptable<Italic>italic-text</Italic>some text acceptable</MarkupDesc>
Joined: Oct 14, 2005
Apr 22, 2013 12:37:23
Yes, the technical term for that is "mixed content", which means that text and elements are mixed together.
I agree. Here's the link:
subject: what does mixed attribute mean in <xs:complexType>
Problem in XSD
converting xsd to html
.xsd schema questions
<xsd:attribute> & <xsd:sequence> mutually exclusive???
XML schema fails to load
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014