[erlang-questions] xmerl_xpath and namespaces

denis dloutrein.lists@REDACTED
Tue Oct 7 15:42:58 CEST 2008


Hi bryan,
> >
> > If I want to get all "element" attributes, I need to do a query like
> >
> > xmerl_xpath:string("//xs:simpleType", X)
> >
> > Is there a way to not having to give the namespace in the query ??
> 
> This XPath should get it //*[local-name()='simpleType']
> 

I had test this before but where unable to get it working with R12B3. I tried it again yesterday with R12B4 and it works now. It was a bug which has been fixed. Cool !

Thanks for your answer
Denis




More information about the erlang-questions mailing list