[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: disable-output-escaping

Subject: RE: disable-output-escaping
From: "CROFT, MICHAEL" <MCROFT@xxxxxxxxx>
Date: Mon, 1 Jul 2002 11:21:46 -0400
disable amp in xmldocument
The & is a character that could be entered by the user, I have no control
over what they enter.  It is a dynamic process.  I need to tell the XML
parser to treat any text entered by the user as text.

		-----Original Message-----
		From:	Henk Meulekamp [mailto:henkm@xxxxxxx]
		Sent:	Monday, July 01, 2002 11:21 AM
		To:	'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
		Subject:	RE:  disable-output-escaping

		use &amp; instead of &

		| -----Original Message-----
		| From: CROFT, MICHAEL [mailto:MCROFT@xxxxxxxxx] 
		| Sent: maandag 1 juli 2002 16:38
		| To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
		| Subject:  disable-output-escaping
		| 
		| 
		| 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
		| 

		 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.