Subject: [xsl] disable-output-escaping From: "CROFT, MICHAEL" <MCROFT@xxxxxxxxx> Date: Mon, 1 Jul 2002 10:38:12 -0400 |
I have elements in my XML document that could contain character entities but should be treated as text... <Comments>Comments about loss description: Adding some comments here & testing the section </Comments> Ive tried using combinations of <xsl:output method= "text">, and the <xsl:value-of select="Comments" disable-output-escaping="yes"/>, but Im using them incorrectly. I am getting this error: Whitespace is not allowed at this location. Error processing resource 'file:///C:/APA/XSLT/Auto Report Project/FNOLReport8.xml'. Line 18, Position 75 <Comments>Comments about loss description: Adding some comments here & testing the section</Comments> ---------------------------------------------------------------------------- ----------------------^ How do I set this up so <Comments> sections display text and instruct the XML parser to bypass processing these characters? The output is HTML. Mike ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender and postmaster@xxxxxxxxxx ********************************************************************** XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Using mode to override te, Michael Kay | Thread | Re: [xsl] disable-output-escaping, Wendell Piez |
RE: [xsl] XSL: For-Each Efficient o, Michael Kay | Date | RE: [xsl] Merging two XML files, Michael Kay |
Month |