in reply to XML::LibXML getElementsById problem
There is nothing magical about an attribute named 'id'. You have to tell the system that it is of type... 'ID', either by using a DTD (you could probably also use a RelaxNG schema), or by using 'xml:id', which IS magical, instead of just 'id'.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XML::LibXML getElementsById problem
by pmc (Initiate) on Dec 15, 2005 at 16:25 UTC | |
by mirod (Canon) on Dec 15, 2005 at 16:39 UTC |