[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
outputting raw HTML from element body??
Subject: outputting raw HTML from element body?? From: e e <furriskey@xxxxxxxxx> Date: Thu, 27 Jul 2000 14:56:56 -0700 (PDT) |
I have an element in my XML document containing HTML tags, e.g. <body.content> <p>An earthquake struck western Colombia on Monday, killing at least 143 people and injuring more than 900 as it toppled buildings across the country's coffee-growing heartland, civil defense officials said.</p> </body.content> The only way I know of getting this content , including the HTML tags, through XSLT is to have CDATA tags in the source document, and to use disable-output-escaping="yes" when selecting the content. e.g. <body.content> <![CDATA[ <p>An earthquake struck western Colombia on Monday, killing at least 143 people and injuring more than 900 as it toppled buildings across the country's coffee-growing heartland, civil defense officials said.</p> ]]> </body.content> <xsl:value-of select="body.content" disable-output-escaping="yes"/> Without those CDATA tags the <p> tags are stripped out alltogether. Is there any way of outputting the content of elements containing xhtml markup without modifying the source document to use CDATA?? Thanks, Evan. __________________________________________________ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: XHTML to PDF ( was Re: RTF and, Jeff Hamilton | Thread | RE: outputting raw HTML from elemen, Kay Michael |
RE: XHTML to PDF ( was Re: RTF and, Jeff Hamilton | Date | xalan dev list? (was: Re: XALAN on , Martin Stricker |
Month |