cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yao, Di" <d...@profilesys.com>
Subject (How) can I achieve this?
Date Thu, 10 Aug 2000 20:33:35 GMT
I have an xml file composed of many records like
<oneline parentid=3 id=2>content</oneline>

I wrote xsl like
1	<xsl:template match="oneline[@parentid='']">......
2	     <xsl:apply-templates select="oneline[@parentid=????]"/>
3	</xsl:template>

the goal I want to achieve(by write something correct at the ????)
is to apply template(at line 2) only to records that have parentid equals to
the id of the current node.  
What can I do? 
Thanks in advance

yaodi

Mime
View raw message