|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xslt sorting
-- snip
<?xml version="1.0"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="sort.xsl" type="text/xsl"?>
<content>
<employees>
<employee>
<name>
<given>Zoe </given>
<family>Zeldman</family>
</name>
</employee>
</employees>
<employees>
<employee>
<name>
<given>Kari </given>
<family>Scott</family>
</name>
</employee>
</employees>
-- snip
Your XML file is wrong (aside from the missing </content> tag) for what you
intend. You have two separate <employees> nodes and each is being processed
separately. It should look like:
<content>
<employees>
<employee>
<name>
<given>Zoe </given>
<family>Zeldman</family>
</name>
</employee>
<employee>
<name>
<given>Kari </given>
<family>Scott</family>
</name>
</employee>
</employees>
</content>
Steve Schrank
3M Health Information Systems
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








