Re: Readable regexs

OK,

Maybe I was confused by the phrase “when the XSLT stylesheet is initially compiled”.

The fact is that the comments are not skipped as result of (XML) parsing of the stylesheet.

And, certainly, when the parsed stylesheet is compiled as XSLT, then the value of an xsl:variable declared as=”xs:string” is obtained as the string value of the node named “xsl:variable” — that is, as the concatenation of all its text nodes.

Is this explanation more correct?

Cheers,

Dimitre Novatchev

Reply

The content of this field is kept private and will not be shown publicly.