Hi All,

I have the following code that works OK:

testXSLT -PARAM Missing "'Fred'" -IN register.xml -XSL registerParse.xsl

registerParse.xsl

...
  <xsl:for-each select="REGISTER/[EMAIL PROTECTED] = $Missing]">
    <xsl:copy-of select="."/>
  </xsl:for-each>
...

I now want to extend it so that I can select multiple names in the register, 
the names being passed in on the command line. However, as the number of names 
for any one call is unknown I can not just add lots of PARAMs. In effect I want 
to do the following:

testXSLT -PARAM Missing "@name = 'Fred' or @name = 'John'" -IN register.xml 
-XSL registerParse.xsl

registerParse.xsl

...
  <xsl:for-each select="REGISTER/DEATILS[$Missing]">
    <xsl:copy-of select="."/>
  </xsl:for-each
..

But that does not work. Any suggestions how I might get this to work?

                        Regards, Richard

Reply via email to