[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Replace new lines by
and double quote with special char: Problem retaining HTML tags


Subject: Re: [xsl] Replace new lines by <br> and double quote with special char: Problem retaining HTML tags
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Fri, 08 Sep 2006 14:39:08 +0200

May we see your code that works with the input you send? And what it outputs now, and what you want it to output?

-- Abel

Ambika.Das@xxxxxxxxxxxxxxxxxx wrote:
Hi Abel,

I have tried David's code. But the output is required in a particular
format since the output is the input for another application. Yes you
are right. I want CSV like output. The first line should contain the
headers and the second line contains data. I am not able to get the data
portion in one line.


Thanks & Regards,
Ambika Prasad Das


-----Original Message-----
From: Abel Braaksma [mailto:abel.online@xxxxxxxxx] Sent: Friday, September 08, 2006 5:29 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Replace new lines by <br> and double quote with
special char: Problem retaining HTML tags


Ambika.Das@xxxxxxxxxxxxxxxxxx wrote:
My apologies. There was a typo in the XML. Once again I am giving the
input and output
Please be attentive to what you submit, and read through the replies you

get before answering. David has given you a possible solution. Just resubmitting the same question with corrected inp/outp will not really help, as it is only part of the story.

In some of the postings you asked "is it possible to do so in xslt". Answer: yes
In most of your questions you ask how to embed html (or xhtml?) inside CSV-like output. This is possible also. My guess is that David's reply is just about that (but I didn't try it myself. He did, but more importantly: *you* should try it).


Since you don't supply the requested XSLT, the part that you tried yourself and what errors you got or where it went wrong, and since we have no clue whatsoever of whose answers where helpful and whose weren't

and why, it is impossible to guide you further. Unless of course you decide to respond to the questions you have got, you supply the XSLT that you have so far and you reply to the suggested solutions and what your findings where.

Cheers,

Abel Braaksma
http://abelleba.metacarpus.com
-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx] Sent: Thursday, September 07, 2006 6:46 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Required help in XSL transformation



Any clues how to implement the same?
did you try the template I posted earlier? Why start a new thread with
an identical question?


Current Thread
Keywords