question from a newbie...please help

Subject: question from a newbie...please help
From: keshlam@xxxxxxxxxx
Date: Fri, 18 Sep 1998 13:28:59 -0400
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


Current Thread