Local name (the second argument to getElementsByTagNameNS) is the name to the 
right of the colon.  Using "dcxml", you are looking for all elements that are 
in the namespace
"http://tomate/2001/DCXMLSchema"; and have a local name "dcxml".  These elements 
could be expressed in the source document by a <dcxml:dcxml> element.  However, 
there aren't any and so the list has
zero length.  I believe what you want to do is:

doc.getElementsByTagNameNS("http://tomate/2001/DCXMLSchema";, "*").getLength();


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to