This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xml to html paragraphing
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] xml to html paragraphing
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Sat, 31 Mar 2001 16:22:30 +0100
- References: <20010330190553.18931.qmail@web513.mail.yahoo.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
hi David
I am also facing the same problem
can you please give me the client-side JavaScript
function and tell me how to use it, it will really be
great
thanks
Pravin
--- David Carlisle <davidc@nag.co.uk> wrote:
>
> > I resolved the problem by writing a small,
> > client-side JavaScript function
>
> You could probably just have used the
> disable-output-encoding attribute
> in XSLT to save using javascript, but this is only a
> last resort when it
> isn't possible to fix the source not to have CDATA
> sections.
>
> David
>
>
_____________________________________________________________________
> This message has been checked for all known viruses
> by Star Internet delivered
> through the MessageLabs Virus Control Centre. For
> further information visit
> http://www.star.net.uk/stats.asp
>
> XSL-List info and archive:
> http://www.mulberrytech.com/xsl/xsl-list
>
I think you mis read my message. You don't need client side javascript
for this. The best solution is to fix the input document so it is
correctly marked up. If that isn't possible then you can use the
standard xslt disable-output-encoding feature to copy quoted
XML sections through to an output file as markup.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list