[XML-SIG] xpath with namespaces

Luiz Siqueira Neto cybersamurai at mac.com
Wed Sep 24 14:10:19 EDT 2003


I can't access some elements with out namespaces. How can I do that?

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

example:

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns = "http://www.w3.org/1999/xhtml">
<head>
 <title>Quick Example</title>
</head>
<body>
<h1> Quick Example
</h1>
<a href = "http://validator.w3.org/check/referer">
<img src = "http://validator.w3.org/images/vxhtml10"
 height = "31"
 width = "88"
 border = "0"
 hspace = "16"
 align = "left"
 alt = "Valid XHTML 1.0!"
 /></a>
<p> Note that the layout (with tabs and alignment) is
 purely for readability - XHTML doesn't require it.
</p>
</body>
</html>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/xml-sig/attachments/20030924/8a924dbb/attachment.html


More information about the XML-SIG mailing list