[xsl] processing different nodes

Subject: [xsl] processing different nodes
From: "sony sebastian" <sony50@xxxxxxxxxxx>
Date: Wed, 28 Mar 2001 22:17:46
Hi,

I had posted a similar question before. I am afraid the XML I had did not reflect the complexity and was wrong.

Please take a look at the new XML code.

<document>
<item name="Body">
<richtext>
<pardef id="1" leftmargin="1in" rightmargin="7.5000in" />
<par def="1">
<run>
<font style="bold" />
aaaa
</run>
</par>
<pardef id="2" leftmargin="1.2500in" rightmargin="7.5000in" list="bullet" />
<par def="2">bbb<par><!--bullet list starts here-->
<par>ccc</par>
<par>ddd</par>
<par>eee</par>
<par def="1" /> <!--ends here-->
<par>
<run>
<font style="bold" />
fff
</run>
</par>
<par>ggg</par>
<par def="2">hhh</par> <!--bullets start here-->
<par>iii</par>
<par def="1" /> <!--bullets end here-->
<par>
<run>
<font style="bold" />
jjjj
</run>
</par>
<par>kkk</par>
</richtext>
</item>
</document>
Output I am looking for is:


aaaa
*bbb
*ccc
...
*eee
fff
ggg
*hhh
*iii

Can somebody please help me on this? Jeni, last time I had you confused. Sorry about that. I got the XML wrong.


Thank you very much in advance.


-Sony.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread