dbertoni    2003/01/24 16:46:06

  Modified:    c/samples/TransformToXercesDOM birds.xsl
  Log:
  Add some stuff to generate comments and PIs.
  
  Revision  Changes    Path
  1.3       +2 -0      xml-xalan/c/samples/TransformToXercesDOM/birds.xsl
  
  Index: birds.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/samples/TransformToXercesDOM/birds.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- birds.xsl 24 Jan 2003 18:26:23 -0000      1.2
  +++ birds.xsl 25 Jan 2003 00:46:06 -0000      1.3
  @@ -15,12 +15,14 @@
   </xsl:template>
   
   <xsl:template match="Family">
  +  <xsl:processing-instruction name="{parent::Order/@Name}">Parent 
Order</xsl:processing-instruction>
     <xsl:element name="{@Name}">
        <xsl:apply-templates select="*"/>
     </xsl:element>
   </xsl:template>
   
   <xsl:template match="Species">
  +    <xsl:comment>This is a species...</xsl:comment>
        <xsl:copy-of select="."/>
   </xsl:template>
   
  
  
  

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

Reply via email to