xsl-list
[Top] [All Lists]

Re: [xsl] Matching " within a variable as:item()*

2010-01-05 08:39:28
Alex Muir wrote:

Within the VariableAsItem I was creating the "ZXZX" as follows due to
a lazy cut and paste from previous code that was selecting the value
of a variable rather than just text.

              <xsl:text>"</xsl:text>
            <xsl:value-of select="'ZXZX'"/>
            <xsl:text>"</xsl:text>

I think with the variable typed as item()* you will get a sequence of three items that way while

If I write the code such as
          <xsl:text>"ZXZX"</xsl:text>

that gives you one item.

And that way your
  <xsl:for-each select="$VariableAsItem">
processes different inputs.

--

        Martin Honnen
        http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--