Wednesday, September 20, 2006 01:53 AM
I have parsed my XML file using the apache DOM parser and i am walking the tree. Now certain attributes are marked as Keys/keyrefs in the XSD file, while certain other attributes are IDs and IDREFs in the XSD file. While walking the tree i am able to correctly identify the ID and IDREF attributes by using
and checking its either "ID" or "IDREF". What i also need to know is how i determine if an attribute is a key or a keyref? I am unable to find approprite methods to do so.
thanks in advance,