On 06/02/2008, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> 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/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--