In a schema the defined element names and associated attribute names are not "elements" and "attributes".
Neither SAX nor DOM API contain methods that will provide access to
getting the name of the element (CurrencyTran) and the names of its attributes
(name and type). Below is a schema fragment for this element.
Experience and talent are independent of age
There is nothing in this tree that says "name" and "type" are attributes of "CurrencyTran".
All you need is a little bit of XPath to find it don't you?
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |