Subject: RE: Question About Translate Function
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sun, 27 Nov 2005 22:59:58 -0000
|
> If I put your example into a xml document, say
>
> <?xml version="1.0" encoding="UTF-8"?>
> <doc>
> <myXmlElementName>myXmlElementText</myXmlElementName>
> </doc>
>
> then its perfectly valid and the < and > get
> resolved by the parser. For the xls stylesheet its
> identical to:
> <?xml version="1.0" encoding="UTF-8"?>
> <doc>
> <myXmlElementName>myXmlElementText</myXmlElementName>
> </doc>
No, it's not identical. The first document contains one element node, the
second contains two.
Michael Kay
http://www.saxonica.com/
|