You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-user@xml.apache.org by "Saha, Sanjeev" <SS...@asce.org> on 2004/07/09 14:14:58 UTC

QName for an xml object

I have an xmlObject created by parsing a string, say '<SomeTag>'.
However, this fragment is not associated with any schema and a
subsequent XmlCursor.getName() returns 'null'.

Am I right in assuming that QName will work only if bound to a schema or
is there some other way to retrieve the element name 'SomeTag' without a
schema definition?

-Sanjeev