Subject: Re: [xsl] Apply-templates - how to omit top level element tags? From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 8 Sep 2005 23:12:59 +0100 |
> Yes, but I don't have to worry about a global variable changing and > having a tested part of my encapsulated code no longer work. I have > seen that happen many times when building my stylesheet, and can find > nothing that changes this. XSLT variables always have the same value once bound, people coming from imperative programming languages sometimes expect that they should be able to "change" the variable's value, which you can't do. You are the first person I've seen that has complained that variables _do_ change value. That never happens in XSLT.Some other problemmust be causing the effect you see, if you posted a small example... David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Apply-templates - how to , Mike Schinkel | Thread | Re: [xsl] Apply-templates - how to , Wendell Piez |
Re: [xsl] Apply-templates - how to , David Carlisle | Date | Re: [xsl] Traversing the tree, JBryant |
Month |