<snip> > you have to define the ids with a DTD. there are no default > "id"-attributes in the XML-specs.
Ahh, that clarify's alot. > Add: > <!DOCTYPE test [ > <!ATTLIST el1 id ID #REQUIRED> > <!ATTLIST el2 id ID #REQUIRED> > ]> > > to your XML document, and it should work. Thanks for your quick answer, this quireled me al day! > or use XPath to access the nodes: > "//@id='id1'" Can you give me a pointer how to do that in php5, I thought that this was not implemented (yet)? Gr, John -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php