[Home] [By Thread] [By Date] [Recent Entries]


This should be simple, but I am having a hell of a time getting it right.  I
want to selectively copy a part of one node (/wml/card/p[2]), while just
copying the other.   

I've tried endless versions of template matches and <copy> <copy-of>
constructs.  Could someone please set me straight.

Thank you very much ...

John


<xsl:template match="/">	
	<xsl:apply-templates/>
</xsl:template>

<xsl:template match="/wml/card/p[2]">
	....
</xsl:template>

<xsl:template match="/*">
	.....
</xsl:template>


<wml>
	<card>
		<p>Story Details</p>
		<p> WASHINGTON ...</p>
		<do type="options" label="Home">
			<go href="h?p=-1045203755"/>
		</do>
		<do type="prev" label="Back">
			<prev/>
		</do>
	</card>
</wml>



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member