[xsl] Re: Documenting XML -and- viewing an XML tree in IE

Subject: [xsl] Re: Documenting XML -and- viewing an XML tree in IE
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Mon, 17 Mar 2003 19:42:12 +0100
Bryan,

The posted stylesheet does not generally produce well-formed xml:

Example:

<ttt:authors xmlns:ttt="f:ttt">xxx &amp; yyy</ttt:authors>

will be displayed as:

<ttt:authors xmlns:ttt="f:ttt">xxx & yyy</ttt:authors>


There are two problems with this:

1. The namespace binding for the "ttt" prefix is missing.

2. A single ampersand is displayed, because of this what is displayed is not
a well-formed xml document.


The stylesheet used by the XPath Visualizer for mozilla (originally created
by Jonas Sicking and adapted by me) does not have these two problems:


http://www.topxml.com/code/default.asp?p=3&id=v20021221025528




=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL




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


Current Thread