Re: Problem: Cannot apply template of element with mixed data

2005-04-08 Thread Mukul Gandhi
node() | @* is being used as match pattern of the template.. node() represents any node other than root and attribute nodes. @* represents attribute nodes.. | operator is union operator .. Regards, Mukul On Apr 8, 2005 5:05 PM, Kostas Karadamoglou <[EMAIL PROTECTED]> wrote: > Mukul, thank you it

Re: Problem: Cannot apply template of element with mixed data

2005-04-08 Thread Kostas Karadamoglou
Mukul, thank you it works now!!! but I cannot understand the meaning of "node() | @*" Can you explain me? Thank you very much , Kostas. Mukul Gandhi wrote: Probably you need a identity transform, and other templates for some specific nodes.. If this is not ok! Please explain the problem bit more cl

Re: Problem: Cannot apply template of element with mixed data

2005-04-08 Thread Mukul Gandhi
Probably you need a identity transform, and other templates for some specific nodes.. If this is not ok! Please explain the problem bit more clearly! http://www.w3.org/1999/XSL/Transform";> Regards, Mukul On Apr 8, 2005 2:45 PM,

Re: Problem: Cannot apply template of element with mixed data

2005-04-08 Thread Kostas Karadamoglou
Hi Mukul, I don't think that the xsl:copy-of is the best solution as you can see from the example xml code that I provided you in my first message the "content" element contains html tags and custom xml tags. I would like to deep copy html tags and apply templates to custom xml tags. If I use x

Re: Problem: Cannot apply template of element with mixed data

2005-04-08 Thread Mukul Gandhi
Hi Kostas, I think you need xsl:copy-of instead xsl:copy.. xsl:copy does shallow copy, whereas xsl:copy-of does deep copy.. http://www.w3.org/1999/XSL/Transform";> Regards, Mukul On Apr 8, 2005 1:31 PM, Kostas Karadamoglou <[EMAIL PROTECTED]> wro