OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   simple copy doc question

[ Lists Home | Date Index | Thread Index ]

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>






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS