|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Strip contents but keep children
drkm's suggestion will work..
You could adopt this approach as well: <xsl:template match="/author"> <xsl:apply-templates select="person" /> </xsl:template> <xsl:template match="person">
<person>
<FirstName><xsl:value-of select="FirstName" /></FirstName>
<LastName><xsl:value-of select="LastName" /></LastName>
</person>
</xsl:template>The XML is: <?xml version="1.0" ?> <author> <person> by <FirstName>Jane</FirstName> <LastName>Doe</LastName>, </person> </author> Regards, Mukul On 7/5/06, Chad Chelius <cchelius@xxxxxxxxxxxxxxx> wrote: I have an XML file that is structured like this:
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Cast Your Vote
We need your help – Vote for DataDirect XML Products!
Winners and finalists announced at SOA World Conference in November. Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|







