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

Subject: Re: [xsl] Matching " within a variable as:item()*
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Tue, 05 Jan 2010 14:39:04 +0100
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/

Current Thread