|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Adding element to xml snippet using xslt
> <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).
Michael Kay
http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! 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
|

Cart








