[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to duplicate an entire subtree

Subject: Re: How to duplicate an entire subtree
From: "nick public" <nickpubl@xxxxxxxxx>
Date: Mon, 29 Dec 2008 10:30:59 +0100
 Re: How to duplicate an entire subtree
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.Load(xslt)
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:
>
>   http://www.xmlprague.cz/index.html
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.

Nicola

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.