cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clark Slater <>
Subject xsl:if test
Date Mon, 17 Jul 2000 21:27:17 GMT

i want to do a replacement inside of xsl:if test and then
check the value.  in the following code, name="{name}"
is being resolved properly, while /page/{name} is not.
when i hardwire the variable, ie /page/foo, the test
works just fine.  

can anyone help?

      <input type="{type}" name="{name}" value="t">
        <xsl:if test="/page/{name}='t'">
          <xsl:attribute name="checked"/>
      on </input>


View raw message