[Top] [All Lists]

[xsl] Re: How to duplicate an entire subtree

2008-12-29 04:31:25
Hi Ken,
I believe understood.
I'm using the xsl:copy that copy just the text values and not the
structure. In fact, if I wrap the xsl:copy in a new element, in the
result tree I have the new element and, inside, the text values of
source elements. The xsl:copy is using the XSLT built-in template.

Instead, xsl:copy-of uses a own template that consist of to keep the
copied structure.

Thank you very much for your help.

PS: I've some problem with Internet Explorer XSLT runtime because
seems ignore the <?xml-stylesheet href="book.xsl"?> directive. Infact,
puts in output exactly the XML source.
I resolved with a simple .NET program, like xslt-msxsl, that use the
.NET frawork XSLT runtime.
Dim inXml As String = argv(0)
Dim xslt As String = argv(1)
Dim outXml As String = argv(2)
Dim t As XslCompiledTransform = New XslCompiledTransform()
t.Transform(inXml, outXml)

p.s. I note your time zone is central Europe ... I'm running an
in-depth, hands-on publicly-subscribed XSLT class in Prague in March
as a pre-conference tutorial to the XML Prague'2009 conference:

Actually I'm living in Italy, near Milan.
I thank you a lot for your invitation. I think is very difficult I can
partecipate to your conference but I'll try to follow you in internet.


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>

<Prev in Thread] Current Thread [Next in Thread>