Subject: Re: [xsl] Adding element to xml snippet using xslt From: Nishi Bhonsle <nishi.bhonsle@xxxxxxxxxx> Date: Tue, 22 Feb 2005 13:57:41 -0800 |
Hi:<xsl:template match="abc:configuration/drillOutDir"> <xsl:element name="drillOutDir"> <xsl:value-of select="abc:configuration/drillOutDir"/> </xsl:element> </xsl:template>
but that will not do anything unless you apply templates to the
drillOutDir element.
I haven't seen the source document, but even if the above template is invoked, it will only do anything useful if there is a structure something like this:
<abc:configuration> <drillOutDir> <abc:configuration> <drillOutDir>
(namespaces and all).
.... </abc:configuration>
Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Adding element to xml sni, Michael Kay | Thread | RE: [xsl] Adding element to xml sni, Michael Kay |
Re: [xsl] Count, Tham Tinh | Date | RE: [xsl] Adding element to xml sni, Michael Kay |
Month |