|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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








