Subject: RE: [xsl] Find and change an attribute in a Processing Instruction From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Mon, 30 Jan 2006 21:42:33 -0000 |
> Memory is a little rusty here, but off the top of my head I think that > processing nodes in the XPath model aren't associated with a > stylesheet but do have names, so either : > > <xsl:processing-instruction name="name()"> > > or > > <xsl:processing-instruction name="local-name()"> > > should do the trick. Almost right, but it needs to be in curlies: name="{local-name()}". Either form will work since a PI never has a prefix. Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Find and change an attrib, Jon Gorman | Thread | Re: [xsl] Find and change an attrib, David Carlisle |
RE: [xsl] ordering nodes, bokluk | Date | Re: [xsl] Find and change an attrib, David Carlisle |
Month |