antlets/makeantlet/src/resources/stylesheets properties2xdoc.xsl,1.1,1.2
[email protected] Wed, 03 Mar 2004 13:02:56 -0800
| Newsgroups | gmane.comp.krysalis.metamorphosis.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/metamorphosis/antlets/makeantlet/src/resources/stylesheets
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19756/makeantlet/src/resources/stylesheets
Modified Files:
properties2xdoc.xsl
Log Message:
minor changes
Index: properties2xdoc.xsl
===================================================================
RCS file: /cvsroot/metamorphosis/antlets/makeantlet/src/resources/stylesheets/properties2xdoc.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** properties2xdoc.xsl 2 Mar 2004 21:16:38 -0000 1.1
--- properties2xdoc.xsl 3 Mar 2004 21:02:53 -0000 1.2
***************
*** 21,25 ****
<xsl:apply-templates select="*">
! <xsl:with-param name="property"><xsl:value-of select="nodename()"/></xsl:with-param>
</xsl:apply-templates>
</section>
--- 21,25 ----
<xsl:apply-templates select="*">
! <xsl:with-param name="property"><xsl:value-of select="name()"/></xsl:with-param>
</xsl:apply-templates>
</section>
***************
*** 29,32 ****
--- 29,33 ----
<xsl:template match="*">
+ level up
<xsl:param name="property"/>
<xsl:value-of select="$property"/>
***************
*** 37,45 ****
</xsl:when>
<xsl:otherwise>
- <xsl:apply-templates select="*">
- <xsl:with-param name="property"><xsl:value-of select="$property"/>.<xsl:value-of select="name()"/></xsl:with-param>
- </xsl:apply-templates>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
--- 38,48 ----
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>
+ <xsl:variable name="test"><xsl:value-of select="$property"/>.<xsl:value-of select="name()"/></xsl:variable>
+ <xsl:apply-templates select="*">
+ <xsl:with-param name="property" select="$test"/>
+ </xsl:apply-templates>
+ level down
</xsl:template>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click