Subject: Re: [xsl] Required help in XSL transformation From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Thu, 07 Sep 2006 15:16:38 +0200 |
Cheers, Abel Braaksma http://abelleba.metacarpus.com
Hi All,
I want to transform the following XML data into text format. But I want to retain the HTML tags which will be required for further processing.
<?xml version="1.0" encoding="UTF-8" ?> <elem id="1234" date="14 Aug 2006" time="13:36">
<title>Sample Title</title>
<text>
<p> This is some data </p>
<p> </p>
<p> This is some special characters <AHLN.AS> </p>
<p> A group of students have gone to picnic. </p>
<p> </p>
<PRE> ** This is another special tag
</PRE></text>
</story>
The output is required in delimited format.
The requirement is that the new lines will be replaced by <br> tag and the double quotes will get converted to a special character.
The output required is as follows.
Elem Id, News Details\r\n 1234, detailed data with character replacement\r\n
Any clues how to implement the same?
Thanks & Regards, Ambika Prasad Das
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Required help in XSL tran, David Carlisle | Thread | [xsl] Complicated grouping question, Josh Goodman |
Re: [xsl] Required help in XSL tran, David Carlisle | Date | Re: [xsl] Data Integration at runti, Florent Georges |
Month |