[xsl] Text normalization problem.

Subject: [xsl] Text normalization problem.
From: "Nestel, Frank" <frank.nestel@xxxxxx>
Date: Mon, 19 Feb 2001 11:56:46 +0100
Hi there,

I have a problem understanding text nodes in Stylesheet processing:
In the situation

<ELEMENT>
t1
t2
</ELEMENT>

I expected the XPATH expressions

	ELEMENT/text()
and
	ELEMENT

both to select "t1\nt2", since I thought in the XSL context text is
supposed to be normalized. Actually in my test cases with Xalan the
first XPATH selects "t1" instead. What is right? Is this a known
Xerces bug, am I supposed to switch on parser normalization explicitely?

Thanks,
Frank

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread