Re: [xsl] Fixing <b>

Subject: Re: [xsl] 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