RE: [xsl] xml to html paragraphing

Subject: RE: [xsl] xml to html paragraphing
From: "John Wang" <jwang@xxxxxxxxxxx>
Date: Thu, 29 Mar 2001 11:39:23 -0600
Is that possible to use <xsl:copy> to include <p> tag in the output html?
Try that.

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Clapham, Paul
Sent: Thursday, March 29, 2001 11:06 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] xml to html paragraphing

You put something into a CDATA section if you ** don't ** want it to be
treated as XML markup.  And that's exactly what you are getting.  If you
want <p/> to be treated as XML and output as an HTML paragraph marker, then
don't put it into CDATA.

If you are getting this CDATA from someone else and you have to try and
parse it into XML yourself, your problem is far too difficult for me to try
to answer.  I'd try to avoid that scenario at all costs, but someone else
may have some ideas.

PC2

-----Original Message-----
From: Java XML [mailto:jaxlive@xxxxxxxxxxx]
Sent: March 29, 2001 08:46
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] xml to html paragraphing


Hi Peter,
             But i have the para tags in within the text of the element so
there is not need to worry about inserting the tags but now my problem is
when i generate an html the tags are show as &lt;p&gt;
thats the problem now is there a way so that i can output the tags as it is
and these tags are in the cdata section of the element is ther a way to
disable the escaping...

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread