[xsl] Re: Re: Creating a XSL to return the input

Subject: [xsl] Re: Re: Creating a XSL to return the input
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Wed, 5 Mar 2003 06:55:46 +0100
>   The "identity transformation" is NOT defined as an identity function
> but a side effect of the definition of XPath and XSLT and assuming that
> the XSLt processor provides serialization.

Pardon my ignorance. Doesn't xsltproc provide serialization?

> It will not do identity for all the items possibly present in the
> initial infoset or serailization and not represented by the
> XPath data model.

Aren't comments and PIs represented in the XPath data model?

>From the XPath spec:
http://www.w3.org/TR/xpath#section-Comment-Nodes

"There is a comment node for every comment, except for any comment that
occurs within the document type declaration."

http://www.w3.org/TR/xpath#section-Processing-Instruction-Nodes
"There is a processing instruction node for every processing instruction,
except for any processing instruction that occurs within the document type
declaration."

>   You're IMHO both wrong and a bit pedant :-)

I'd love to be really wrong on this. :o)  Probably other people also could
clarify this question.



=====
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