Re: [xsl] Whitespace Copied in Element Content Nodes

Subject: Re: [xsl] Whitespace Copied in Element Content Nodes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 22 Jul 2008 10:04:14 +0100
> I don't think it would matter whether you use Saxon SA or B for it (it is
> ignorable whitespace, not illegal whitespace).


The behaviour would be different if the schema (or DTD) were used, ignorable
white space is stripped by default in that case while building tthe
input tree.

see respectively

http://www.w3.org/TR/xpath-datamodel/#const-infoset-text

http://www.w3.org/TR/xpath-datamodel/#const-psvi-text


This is an (incompatible) change between XSLT1 and XSLT2 (or rather a
change between the interfaces between those systems and their XML
parsers).

David



________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread