You'll find an example that replaces newline characters by <br/>
elements in the FAQ for this list under "replace".
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> Balaji Ramachandran
> Sent: 20 May 2002 22:51
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject: new member
>
>
> hi,
>
> i wanted to convert all CDATA in the imput xml to
> html.
> while doing this, its converting all the < to <
> which is fine.
>
> <![ CDATA [<abstract>
> <para>
> <text/></para>
> </abstract>]]>
>
> converting to:
> <abstract><para><text/></para></abs
> tract>
>
> but I want them to put as newline for each line
> <abstract> <br/> <para><br/>
> <text/><br/></para><br/></abstract>
> <br/>
>
>
> 2. And also I want to generate a toc from a list of
> xml files. how can i generate?
>
> How will I acheive this?
>
> Thanks
>
> - Balaji
>
>
> __________________________________________________
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|