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

Re: XSL 2.0 and .NET and VB

Subject: Re: XSL 2.0 and .NET and VB
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Sun, 1 Jul 2007 14:06:11 +0200 (CEST)
Re:  XSL 2.0 and .NET and VB
"M. David Peterson" wrote:

> On Sun, 01 Jul 2007 05:27:13 -0600, Florent Georges wrote:

> >  Actually, this is still a problem if you use @xml:space in
> > your stylesheet to preserve some whitespace nodes in literal
> > result elements, instead of using xsl:text.  Hence your
> > advice: always use xsl:text for significant characters

> I knew there was a reason I was doing that!

  The other point to use xsl:text is to not have non intended
whitespace in the output when you "indent" the stylesheet and have a
"well-indented" stylesheet where a string is surrounded by spaces and
newlines.  The human eye is used to strip white spaces in XML, so you
not always see them:

    <xsl:attribute name="href">
      http://www.fgeorges.org/
    </xsl:attribute>

    <xsl:attribute name="href">
      <xsl:text>http://www.fgeorges.org/</xsl:text>
    </xsl:attribute>

  Regards,

--drkm



















      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

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.