dmarston    01/06/22 14:38:01

  Modified:    test/tests/conf/idkey idkey43.xsl
  Log:
  Do away with disallowed syntax
  
  Revision  Changes    Path
  1.2       +3 -4      xml-xalan/test/tests/conf/idkey/idkey43.xsl
  
  Index: idkey43.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/idkey/idkey43.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- idkey43.xsl       2001/02/12 20:21:28     1.1
  +++ idkey43.xsl       2001/06/22 21:38:01     1.2
  @@ -6,11 +6,10 @@
     <!-- DocVersion: 19991116 -->
     <!-- Section: 5.2 -->
     <!-- Creator: David Marston -->
  -  <!-- Purpose: Use variables in match pattern in id() argument and 
predicate. -->
  +  <!-- Purpose: Use variables in predicate of match pattern that also has 
id() -->
   
   <xsl:strip-space elements="a b c"/>
   
  -<xsl:variable name="pick" select="'id2'"/>
   <xsl:variable name="major" select="'b'"/>
   
   <xsl:template match="/">
  @@ -20,12 +19,12 @@
     </out>
   </xsl:template>
   
  -<xsl:template match="id($pick)/*[name()=$major]/text()" priority="2">
  +<xsl:template match="id('id2')/*[name()=$major]/text()" priority="2">
     <xsl:text>&#10;</xsl:text>
     <bee><xsl:value-of select="../@id"/></bee>
   </xsl:template>
   
  -<xsl:template match="id($pick)//text()">
  +<xsl:template match="id('id2')//text()">
     <xsl:text>&#10;</xsl:text>
     <x><xsl:value-of select="../@id"/></x>
   </xsl:template>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to