[XML-SIG] xpath with namespaces

Rich Salz rsalz at datapower.com
Wed Sep 24 14:18:22 EDT 2003


Luiz Siqueira Neto wrote:
> I can't access some elements with out namespaces. How can I do that?

It would help to see code. :)


> On line 2 the xmlns dont have the name. Ex "xmlns:si"

Not needed -- "xmlns='....'" sets the default namespace for all 
elements.  (It doesn't set it for attributes, which default to being in 
no-namespace.)

	/r$

-- 
Rich Salz, Chief Security Architect
DataPower Technology                           http://www.datapower.com
XS40 XML Security Gateway   http://www.datapower.com/products/xs40.html
XML Security Overview  http://www.datapower.com/xmldev/xmlsecurity.html




More information about the XML-SIG mailing list