Ambika(_dot_)Das(_at_)iflexsolutions(_dot_)com wrote:
Hi David,
I am trying to retain the HTML tags like <p> and <pre>. At the same
time, I want to add a <br> tag in case of line break and '""' symbol for
'"'. Finally the whole output should be CSV compliant.
That is precisely what my solution does for you. Have you tried it? It
works for me (I used Saxon 6.5). If you go for another solution, you
better choose "text" as output, instead of "html". In addition, if you
cannot use the node-set function, you'll have to stick to the recursive
call-template approach for your string replacement, however, the
xml-to-text technique can remain the same (but you may want to retain
attributes, too, which I did not implement for you, but you can easily
add it yourself).
Cheers
-- Abel Braaksma
http://www.nuntia.nl
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--