xsl-list
[Top] [All Lists]

RE: [xsl] build-in template question

2008-09-04 18:37:48
I have a question concerning text nodes. If I have an xml file like

<root>
   <e>text</e>
</root>

and a template like

<xsl:template match="e">
   <xsl:copy/>
</xsl:template>

than, the output will be "<e>text</e>".

No, it will be <e/>.

Is the text insterted to the output by xsl:copy or by the 
build-in template

Neither.

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--