Subject: Re: Question About Translate Function
From: Manfred Staudinger <manfred.staudinger@xxxxxxxxx>
Date: Sun, 27 Nov 2005 15:47:46 -0800
|
Ops, thanks for the correction. The
<myXmlElementName>myXmlElementText</myXmlElementName>
is a text-node ...
Manfred
On 27/11/05, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> > 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/
|