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

RE: Fixing <b>

Subject: RE: Fixing <b>
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 28 Mar 2002 08:55:27 -0000
RE:  Fixing &amp;lt;b&amp;gt;
>The
>standard response really is to either goad the people responsible for the
>crappy data into fixing it, or to not use XSLT, because trying to work with
>this kind of data in XSLT, in the way that you want to do it, while not
>impossible, requires using a much despised feature
(disable-output-escaping)
>that undermines the language's principle of being something meant to work
with
>trees, rather than being a general text processing tool.

Actually, I think the basic problem, of processing unparsed XML data that
arrives as a string, is quite a common one and can arise for some legitimate
reasons. Using disable-output-escaping isn't a nice way of dealing with it,
but I think one could clean up the semantics to make it workable. I'm
thinking in terms of a facility that says "Here is some XML, represented as
unparsed text containing markup characters. I want this XML copied onto the
result tree. Conceptually, I want to parse the XML and copy the resulting
nodes to the result tree. But if the result tree is being serialized to XML,
I don't mind the processor being clever and bypassing the parse/serialize
operations by copying the raw XML straight to the serial output file."

That doesn't deal with the HTML variant of the problem, though ....

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • RE: Fixing &amp;lt;b&amp;gt;, (continued)
    • Lea Allison - Wed, 27 Mar 2002 01:12:29 -0500 (EST)
    • tammy - Wed, 27 Mar 2002 06:44:48 -0500 (EST)
      • naha - Wed, 27 Mar 2002 09:08:55 -0500 (EST)
      • Mike Brown - Wed, 27 Mar 2002 21:56:59 -0500 (EST)
        • Michael Kay - Thu, 28 Mar 2002 03:50:25 -0500 (EST) <=
        • naha - Thu, 28 Mar 2002 08:54:20 -0500 (EST)
        • David Carlisle - Thu, 28 Mar 2002 13:59:46 -0500 (EST)
        • Mike Brown - Sun, 31 Mar 2002 23:25:12 -0500 (EST)
    • tammy - Wed, 27 Mar 2002 08:38:49 -0500 (EST)

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.