<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<tt>No, it would not! You have default namespace defined in the <br>
first <font size="2"><EnvioDTE/> node.</font></tt><tt><font
size="2"> /EnvioDTE could not match <br>
<EnvioDTE xmlns="something">! Please, please, please, read</font></tt><br>
<tt><font size="2">XPath spec about nodes names. And as an illustration
see <br>
example bellow (not that the only</font></tt> <tt><font size="2">difference
between a.xml and <br>
b.xml is the default namespace declaration</font></tt><br>
<br>
<tt>[aleksey@lsh a]$ diff -u a.xml b.xml</tt><br>
<tt>--- a.xml 2003-09-24 14:04:16.000000000 -0700</tt><br>
<tt>+++ b.xml 2003-09-24 14:04:08.000000000 -0700</tt><br>
<tt>@@ -3,7 +3,7 @@</tt><br>
<tt> <!ATTLIST SetDTE ID ID #IMPLIED></tt><br>
<tt> <!ATTLIST Documento ID ID #IMPLIED></tt><br>
<tt> ]></tt><br>
<tt>-<EnvioDTE xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.sii.cl/SiiDte">"http://www.sii.cl/SiiDte"</a></tt><br>
<tt>+<EnvioDTE</tt><br>
<tt> xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
</tt><br>
<tt>xsi:schemaLocation=<a class="moz-txt-link-rfc2396E" href="http://www.sii.cl/SiiDteEnvioDTE_v03.xsd">"http://www.sii.cl/SiiDte EnvioDTE_v03.xsd"</a>
version="0.3"></tt><br>
<tt> <SetDTE ID="SetDoc"></tt><br>
<tt> <Caratula version="1.0"></tt><br>
<tt><font size="2">[aleksey@lsh a]$ xmllint --shell a.xml</font></tt><br>
<tt><font size="2">/ > xpath /EnvioDTE</font></tt><br>
<tt><font size="2">Object is a Node Set :</font></tt><br>
<tt><font size="2">Set contains 0 nodes:</font></tt><br>
<tt><font size="2">/ ></font></tt><br>
<tt><font size="2">[aleksey@lsh a]$ xmllint --shell b.xml</font></tt><br>
<tt><font size="2">/ > xpath /EnvioDTE</font></tt><br>
<tt><font size="2">Object is a Node Set :</font></tt><br>
<tt><font size="2">Set contains 1 nodes:</font></tt><br>
<tt><font size="2">1 ELEMENT EnvioDTE</font></tt><br>
<tt><font size="2"> namespace xsi
href=<a class="moz-txt-link-freetext" href="http://www.w3.org/2001/XMLSchema-instanc">http://www.w3.org/2001/XMLSchema-instanc</a>...</font></tt><br>
<tt><font size="2"> ATTRIBUTE schemaLocation</font></tt><br>
<tt><font size="2"> TEXT</font></tt><br>
<tt><font size="2"> content=<a class="moz-txt-link-freetext" href="http://www.sii.cl/SiiDte">http://www.sii.cl/SiiDte</a>
EnvioDTE_v03.xs...</font></tt><br>
<tt><font size="2"> ATTRIBUTE version</font></tt><br>
<tt><font size="2"> TEXT</font></tt><br>
<tt><font size="2"> content=0.3</font></tt><br>
<tt><font size="2">/ ></font></tt><br>
<br>
<br>
Aleksey<br>
<br>
<blockquote type="cite"
cite="midNPENKJNAFAOGCAEDEPEAIECPDCAA.jan-olof.andersson@blcc.biz"><br>
<tt><font size="2"><EnvioDTE xmlns="<a
href="http://www.sii.cl/SiiDte" target="_blank">http://www.sii.cl/SiiDte</a>"
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance"
target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"
xsi:schemaLocation="<a href="http://www.sii.cl/SiiDte" target="_blank">http://www.sii.cl/SiiDte</a>
EnvioDTE_v03.xsd" version="0.3"></font></tt><br>
<tt></tt>
<p><font size="2"></font><font size="2"><br>
</font></p>
</blockquote>
</body>
</html>