On Sunday 21 August 2005 10:25, Daniel Veillard wrote: > On Sun, Aug 21, 2005 at 07:40:34AM +0200, Christian Parpart wrote: > > Hmm.... what did I wrong? > > You still didn't realized that "foo" in an xpath expression will > *not* catch an element named foo but in a namespace, and the element > defined in your variable is in a namespace ! > This is XPath FAQ #1 I said I had problems in understanding xpath toghether with namespaces, didn't I? btw, "{exsl:node-set($RTF)/*/@attribute}" gives the result, but I can't replace that "*" (maybe/obviousely *that* namespacing problem). Thanks for the link to that FAQ your're refering to :p Christian. -- 10:29:51 up 150 days, 23:37, 0 users, load average: 0.04, 0.06, 0.01
Attachment:
pgpXsGwRKFhaA.pgp
Description: PGP signature