xsl-list
[Top] [All Lists]

[NEWBIE] XSL String Manipulation Question.

2003-02-06 19:54:03
Hello Folks.
    I have a problem with some XSL I'm trying to FORMAT.


I have a few fields I'm trying format, into the same variable, and it's not
working.



  <xsl:variable name="strUnitBlock" select="$strUnitNumber"/>
  
  <xsl:if test="$strUnitBlock != ''">
    <xsl:if test="$strUnitSeperator != ''">
        <xsl:variable name="strUnitBlock" select="concat($strUnitBlock,
$strUnitSeperator)"/>
    </xsl:if>
  </xsl:if>

   <xsl:variable name="strUnitBlock" select="concat($strUnitBlock,
$strStreetNumber)"/>



Of course, I cannot duplicate the declaration of an <xs:variable name.../>

Is there any way this could be done please?

Thank you in advance for any help.


-Jussy-
_____________________________________________________________________
[root(_at_)linux /root]# 
gawk; grep; unzip; touch; finger; mount; fsck; gasp; yes; umount; sleep.

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



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