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

Fwd: How to stop XSLT from transforming &174; to singl

Subject: Fwd: How to stop XSLT from transforming &174; to single character
From: "B. Tommie Usdin" <btusdin@xxxxxxxxxxxxxxxx>
Date: Tue, 22 Jan 2002 12:21:20 -0500
174
>To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
>Subject: How to stop XSLT from transforming &174; to single character
>From: carlson@xxxxxxxxxxxxxxxxx
>
>Hi,
>I have looked at the FAQ and mailing list archives, but I still don't
>get it.
>
>I have some xml source <name>joe user&174;</name>
>I am trying to transform it to different formatted xml, but when I do,
>the &174; entity gets converted to a single character, the registered
>symbol.
>I am using <xsl:value-of select="/name" disable-output-escaping="yes"/>
>to get the value of the tag.
>My out tag is <xsl:output method="xml" encoding="iso-8859-1/>.
>
>I am ultimately going to transform to HTML, so I want to keep the entity
>in decimal form. Also, I get a problem when I get the xpath where the
>parser throws an exception saying the <name> element  is missing an
>end-tag for those <name> elements that have the single special character.
>
>
>What I am trying to determine is, how can I leave the &174; as &174; in
>the new xml.
>
>I am using xalan as my parser, but the same thing happens with msxml.
>
>Thanks for any thoughts or suggestions.
>
>--Peter



 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.