xsl-list
[Top] [All Lists]

Re: White Spaces

2003-03-14 08:44:03

white space nodes are stripped but
                                   >
         results.asp?ax=9
            <      

isn't a white space node it's a text node with some white space and some
non white characters.
It's _always_ best to put text inside <xsl:text> then the white space
will be ignored as it will be on its own, so
 <xsl:attribute name="href">
         <xsl:text>p?ax=9</xsl:text>
            <xsl:if

etc

or simply don't put the space there in the first place:


 <xsl:attribute name="href"
  >results.asp?ax=9<xsl:if test="$meetid!=''"
         >&amp;meetid=<xsl:value-of select="$meetid"/>
            </xsl:if>

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>