Hi,
There is not an interface in XAware currently that will give you the data type of an
XML element or attribute, but if you are using XML Schema, there is a way derive the data type, though it will take some work. The basic approach is to load the XML Schema associated with the document instance, then query it for the data type of the element or attribute. I have not done this myself, so I'd have to research what libraries are available for this purpose.
If you are actually trying to retrieve the underlying metadata from the data source, then the issue is more difficult. XAware does not save this metadata as part of the BizComp. I would like to hear your specific use case... why you would need the underlying database type at run-time. As an abstraction layer, XAware generally hides this type of detail so the user of a service does not couple themselves directly to the database. But again, please let me know your use case and we'll go from there.
Thanks,
-Kirstan