|
Subject: Re: [xsl] re-ordering an instance to match a schema From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 15 May 2003 12:55:03 -0400 |
<element name="contact">
<zeroOrMore>
<choice>
<element name="phone">
<optional>
<attribute name="location">
<choice>
<value>
home
</value>
<value>
work
</value>
<value>
mobile
</value>
</choice>
</attribute>
</optional>
<text />
</element>
<element name="fax">
<optional>
<attribute name="location">
<choice>
<value>
home
</value>
<value>
work
</value>
</choice>
</attribute>
</optional>
<text />
</element>
<element name="pager">
<text />
</element>
<element name="email">
<text />
</element>
<element name="url">
<text />
</element>
<element name="instantMessage">
<optional>
<attribute name="service" />
</optional>
<text />
</element>
</choice>
</zeroOrMore>
</element>
<elementdecl name="contact"> <element name="phone"/> <element name="fax"/> <element name="pager"/> <element name="email"/> <element name="url"/> <element name="instantMessage"/> </elementdecl>
<contact> <url>http://www.simonwoodside.com/<url> <email>sbwoodside@xxxxxxxxx</email> <phone location="work">555-1212</phone> <fax>555-1111</fax> </contact>
Good luck! Wendell
___&&__&_&___&_&__&&&__&_&__&__&&____&&_&___&__&_&&_____&__&__&&_____&_&&_
"Thus I make my own use of the telegraph, without consulting
the directors, like the sparrows, which I perceive use it
extensively for a perch." -- Thoreau| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] re-ordering an instance t, S Woodside | Thread | Re: [xsl] re-ordering an instance t, S Woodside |
| RE: [xsl] XSLT In the Build Process, Passin, Tom | Date | [xsl] Lookup alternate inflections , Chris Loschen |
| Month |