|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Pb with identity transform in XT
I can't figure it out, the identity transform in XT appears to not
copy the document element. Using the following stylesheet:
<stylesheet xmlns="http://www.w3.org/XSL/Transform/1.0">
<template match="@*|*|text()|processing-instruction()">
<copy>
<apply-templates select="@*|node()"/>
</copy>
</template>
</stylesheet>
and the following document:
<hello bit="on">
<world bit="off">How are you?</world>
</hello>
XT prints out:
<world bit="off">How are you?</world>
Where is my `hello' element? What am I doing wrong? This driving me
nuts, but I just can't see it. Can anyone shed some light?
Thanks,
--
Dr. Denys Duchier Denys.Duchier@xxxxxxxxxxxx
Forschungsbereich Programmiersysteme (Programming Systems Lab)
Universitaet des Saarlandes, Geb. 45 http://www.ps.uni-sb.de/~duchier
Postfach 15 11 50 Phone: +49 681 302 5618
66041 Saarbruecken, Germany Fax: +49 681 302 5615
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








