Subject: [xsl] Re: How to duplicate an entire subtree From: "nick public" <nickpubl@xxxxxxxxx> Date: Mon, 29 Dec 2008 10:30:59 +0100 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: ANN: A static code qualit, Mukul Gandhi | Thread | Re: [xsl] Re: How to duplicate an e, G. Ken Holman |
Re: [xsl] HTML character entity iss, Jirka Kosek | Date | Re: [xsl] Re: How to duplicate an e, G. Ken Holman |
Month |