This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fixing <b>



> 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,<foo/>')

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

No, but you could do
document('data:text/html,<br>')
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]