Converts the specified object to QName type (the detailed representation of an XML name; see below) according to the following rules:
obj
is already a QName object
(i.e. an instance of com.docflex.xml.QName
),
the function works simply as a type cast operator,
same as it would be in Java: (QName) obj
obj
is not null
, the function uses
the string returned by the call obj.toString()
as
an XML qualified name and interprets it against
the XML document context associated with the current
generator context element.
The result object is the same as the one returned by
the expression: QName(obj.toString())
null
You may call this function in a more method-like style:
obj.toQName()
${include ../../../refs/qname_type_heading.htm}
${include ../../../gom/QName/doc.htm}