[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: disable-output-escaping
Michael,
Unfortunately what you're getting is a parser error, which is as it should be since your file is not well-formed XML. This is a funny way of saying it's not XML because it doesn't follow the XML rules. An '&' character simply can't appear in XML except as an open delimiter for an entity (or character) reference. Your error is telling you this by saying that whitespace is not allowed after the &, since it wants to see a name (for the entity or character reference) but sees a space instead. If you fix whatever process is generating your pseudo-XML so that this character is represented as &, you'll be fine. Or you can wrap the entire string in a CDATA marked section (another way of doing the same thing). But no amount of fussing with the XSL will get around this problem since the process breaks before the XSL processor ever gets to see the data. Cheers, Wendell At 10:38 AM 7/1/2002, you wrote: I have elements in my XML document that could contain character entities but should be treated as text... ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ====================================================================== XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|