|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] question from a newbie...please help
If you're using the old and abandoned(?) dialect of XSL, Eran's example
could be rewritten as follows. But you probably should look for a newer
XSL processor.
<xsl>
<rule>
<root>
<HTML>
<HEAD>
</HEAD>
<BODY>
<children/>
</BODY>
</HTML>
</rule>
<!-- Copy and adapt the following rule for each of the intermediate-level
elements ... department, subdepartment, type, subtype
-->
<rule>
<target-element type="department">
<UL>
<children/>
</UL>
</rule>
<!-- Copy and adapt the following rule for each of the "leaf"
elements ... code, product
-->
<rule>
<target-element type="code">
<LI><children/></LI>
</rule>
</xsl>
______________________________________
Joe Kesselman / IBM Research
Unless stated otherwise, all opinions are solely those of the author.
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








