This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Text normalization problem.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]