[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Xsl:strip-space and xsl:preserve-space (XSLT 2.0)

Subject: Re: Xsl:strip-space and xsl:preserve-space (XSLT 2.0)
From: Evan Lenz <evan@xxxxxxxxxxxx>
Date: Wed, 24 Sep 2008 09:31:12 -0700
Re:  Xsl:strip-space and xsl:preserve-space (XSLT 2.0)
Pankaj,

You can force MSXML to preserve whitespace by adding xml:space="preserve" to the root element of your document. Then your original stylesheet should work as desired. Let me know if that works.

Evan


Pankaj Chaturvedi wrote:
Not a good news for me.

Well anyways David/Michael thanks for looking into this.


Best,


Pankaj Chaturvedi

============================================================================
================


-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx] Sent: Wednesday, September 24, 2008 6:36 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: Xsl:strip-space and xsl:preserve-space (XSLT 2.0)



I believe it's true that the AltovaXML processor always strips whitespace nodes (or calls the MSXML parser in a way that strips them) and I'm not aware of any way of changing this.

Michael Kay
http://www.saxonica.com/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.