xsl-list
[Top] [All Lists]

Re: Question About Translate Function

2005-11-27 16:47:46
Ops, thanks for the correction. The
<myXmlElementName>myXmlElementText</myXmlElementName>
is a text-node ...
Manfred

On 27/11/05, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:
If I put your example into a xml document, say

<?xml version="1.0" encoding="UTF-8"?>
<doc>
&lt;myXmlElementName&gt;myXmlElementText&lt;/myXmlElementName&gt;
</doc>

then its perfectly valid and the  &lt and &gt 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/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>