Subject: Re: [xsl] Whitespace Copied in Element Content Nodes From: Jeff Sese <jeferson.sese@xxxxxxxxxxxx> Date: Wed, 23 Jul 2008 07:30:25 +0800 |
Again thanks! -- Jeff
The fact that there is an XML Schema isn't going to affect the behaviour of
the XSLT processor unless it knows about it, and it won't know about it
unless it is schema-aware.
So yes, you need Saxon-SA. (And you need to use the schema- awareness, by
ensuring that the source document is validated on its way into the
transformation.)
Michael Kay http://www.saxonica.com/
-----Original Message----- From: Jeff Sese [mailto:jeferson.sese@xxxxxxxxxxxx] Sent: 22 July 2008 08:39 To: XSL List List Subject: [xsl] Whitespace Copied in Element Content Nodes
Hi,
I'm doing a identity transformation of an XML that is defined in a XML Schema, why is it that my element defined as element only content retains the whitespace used for indention in the result? I expected that this would be removed because these are ignorable whitespace as defined in the schema.
I'm using XSLT 2.0 and transforming using oXygen and Saxon 9B.
Do I need a SA version of Saxon for this?
Thanks, -- Jeff
Jeferson L. Sese jeferson dot sese at asiatype dot com Asiatype Inc. Suite 114 Columbia Tower Ortigas Ave., Greenhills Mandaluyong City 1550 Philippines Tel: +632-744-6262 Mobile: +63927-671-7901
Jeferson L. Sese jeferson dot sese at asiatype dot com Asiatype Inc. Suite 114 Columbia Tower Ortigas Ave., Greenhills Mandaluyong City 1550 Philippines Tel: +632-744-6262 Mobile: +63927-671-7901
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Whitespace Copied in Elem, Michael Kay | Thread | Re: [xsl] Whitespace Copied in Elem, Andrew Welch |
RE: [xsl] Fetch xml from URL in XSL, Michael Kay | Date | Re: [xsl] FO table-body empty valid, G. Ken Holman |
Month |