|
Subject: Re: [xsl] I mean self::* doesn't select attributes :( From: Joe English <jenglish@xxxxxxxxxxxxx> Date: Wed, 25 Apr 2001 07:21:54 -0700 |
Evan Lenz wrote:
>
> Removing unneeded complexity from my previous examples, I now have the
> following approaches to testing whether the attribute context node's name is
> a particular namespaced name:
>
> @*[local-name()='foo' namespace-uri()='&xyzURI;']
> @*[generate-id()=generate-id(../@xyz:foo)]
> @*[count(.|../@xyz:foo)=count(../@xyz:foo)] (Thanks Ken)
[...]
> What I naturally tried was:
> @*[self::xyz:foo]
> But that doesn't work, [...]
Wouldn't
attribute::xyz:foo
or
@xyz:foo
work?
--Joe English
jenglish@xxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] conditionals not allowed , Michael Kay | Thread | Re: [xsl] I mean self::* doesn't se, David Carlisle |
| RE: [xsl] conditionals not allowed , Michael Kay | Date | RE: [xsl] Table Building Problem, Jon Wynacht |
| Month |