28 #ifndef _RTXXMLQNAME_H_ 29 #define _RTXXMLQNAME_H_ 37 const OSUTF8CHAR* nsURI;
38 const OSUTF8CHAR* nsPrefix;
39 const OSUTF8CHAR* localName;
64 (
OSCTXT* pctxt,
const OSUTF8CHAR* localName,
const OSUTF8CHAR* prefix,
65 const OSUTF8CHAR* nsuri);
129 (
const OSXMLFullQName* pqname, OSUTF8CHAR* buffer, OSUINT32 bufsiz);
EXTERNRT OSBOOL rtxQNamesEqual(const OSXMLFullQName *pqname1, const OSXMLFullQName *pqname2)
This function tests 2 QNames for equality.
EXTERNRT OSXMLFullQName * rtxNewFullQName(OSCTXT *pctxt, const OSUTF8CHAR *localName, const OSUTF8CHAR *prefix, const OSUTF8CHAR *nsuri)
This function creates a new full QName structure given the parts.
EXTERNRT OSUINT32 rtxQNameHash(const OSXMLFullQName *pqname)
This function computes a hash code for the given QName.
Common run-time context definitions.
This version of QName contains complete namespace info (prefix + URI)
EXTERNRT void rtxQNameFreeMem(OSCTXT *pctxt, OSXMLFullQName *pqname, OSBOOL dynamic)
This function frees all memory within a QName structure,.
EXTERNRT const OSUTF8CHAR * rtxQNameToString(const OSXMLFullQName *pqname, OSUTF8CHAR *buffer, OSUINT32 bufsiz)
This function returns the QName in the following stringified format: {uri}/localName.
EXTERNRT OSXMLFullQName * rtxNewFullQNameDeepCopy(OSCTXT *pctxt, const OSXMLFullQName *pqname)
This function allocates a new QName instance and makes a deep copy of the given QName including the s...
Run-time context structure.
EXTERNRT void rtxQNameDeepCopy(OSCTXT *pctxt, OSXMLFullQName *pdest, const OSXMLFullQName *psrc)
This function makes a deep copy of the given QName including the strings inside.