Adrian Herscu schrieb am 06.04.2009 um 13:32:51 (+0300):
> 
> Please remember that this is just a simplified test case. My actual 
> problem is traversing relational data structures with less XSL code.

> [...] I was looking for an extension function that will enable 
> me to write something like that:
> <for-each select="myxslutils:ref(/wsdl:definitions/wsdl:binding,
>   'name', @binding, /wsdl:definitions/@targetNamespace)">
> ...
> </for-each>

Hi Adrian,

I'd consider repackaging your problem in a compact and comprehensible
test case and posting it to xsl-list at lists.mulberrytech.com, as
that's where most of the experts hang out.

> Hmmm... It appears that the parser completely ignores all 'xmlns'
> attributes. The interesting thing is that it reads attributes from
> other non-null namespaces.

The xmlns may look like an attribute, but it really isn't. It's a
namespace declaration, which happens to use attribute syntax. That's
why it doesn't show up among the attributes, neither in DOM nor in XDM
(XPath Data Model).

Michael Ludwig

Reply via email to