Subject: Re: [xsl] strip-spaces From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx> Date: Wed, 6 Feb 2008 10:38:46 +0000 |
On 06/02/2008, David Carlisle <davidc@xxxxxxxxx> wrote: > > > Is that an accurate view of whats going on? > > yes :0) After 8 years or so of XSLT now, the "a-ha" moment only came to me the other day when I saw a post with xmlns on xsl:template: <xsl:template match="foo" xmlns="abc"> It looked odd and illegal, but then I realised its perfectly fine because XSLT is XML - and it's that reason that determines the namespaces of LREs. So the golden rule for dealing with xmlns="" is to look at your stylesheet as XML and it should be clear where the problem is. It seems so obvious now, but it will go down as yet-another-xslt-a-ha-moment... cheers -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] strip-spaces, David Carlisle | Thread | RE: [xsl] strip-spaces, Michael Kay |
Re: [xsl] strip-spaces, David Carlisle | Date | RE: [xsl] strip-spaces, Michael Kay |
Month |