I'm having some problems with nodeFromID (MSXML3 parser). I've read the
msdn on-line help and webs like vbxml.com and it is said that
Document.nodeFromID(IdString) returns the IXMLDOMNode containing the element
whose ID is IdString.
As it is said in XML 1.0 "ID attribute values must be unique within their
XML documents and no element can specify more than one ID attribute."
I have defined my DTD file and made something like .att<!ENTITY %
'xmi.id ID #IMPLIED xmi.label CDATA #IMPLIED xmi.uuid
CDATA #IMPLIED ' >
and then in my element I define my attributes as:
When I call that function objDocument.nodeFromID (IdString) it always
returns Null. Is it because I have defined my ID attribute in an entity?
Maybe 'cause my ID attribute is not called "ID" and it's called XMI.id?
Has anyone had the same problem?
Thanks a lot: