Page 1 of 1

DomXML question

Posted: Thu Jan 26, 2006 2:39 am
by thejasondean
Hi people. I'm trying to parse an XML document using DomXML.
Some tags have attributes in the following style:
<Cell ss:Index="13"><Data ss:Type="Number">65</Data></Cell>

i'm trying to get the ss:Index value using
$node->get_attribute("ss:Index")
Yet it returns nothing at all

I also tried $node->get_attribute("ss")
and
$node->get_attribute("Index")
but still i can't get anything...

Is that a real attribute or am I missing something ?
If it is so, is it the correct way of getting the attribute ?

Any help is welcome