[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Fixing <b>
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 28 Mar 2002 19:03:36 GMT
> 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."

would you require the processor cleverness to include getting namespaces
right, if so probably parsing and re-serialising is probably about the
best you can do. In theory this is already available as
document('data:text/xml,&lt;foo/&gt;')

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

No, but you could do
document('data:text/html,&lt;br&gt;')
so long as you knew the html parser used on your text/html input streams
returned things as an "instance of the data model" to use xpath2
terminoligy:-)

the data:mime-type,string URI scheme is a standard scheme (and supported
by netscape since the beginning of time, I think)

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread
  • RE: Fixing &amp;lt;b&amp;gt;, (continued)
      • 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)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member