Hello!
In an example from
https://jaxb2-reflection.dev.java.net/users-guide.html
to obtain a property name p.getName() is used.
The javadoc says:
For example, "foo" or "bar". Generally, a property name is different
from XML, (although they are often related, as a property name is often
computed from tag names / attribute names.) In fact, *property names do
not directly affect XML*. The property name uniquely identifies a
property within a class.
Is there a way to get an XML name (the one found in <xs:element
name="XXX"...)?
Thank you in advance.