VirtualBox

Changeset 43902 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Nov 16, 2012 6:23:10 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
82135
Message:

IPRT/xml: Add getPrefix() method to get a prefix a xml node (pref:name returns pref as the prefix)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/xml.cpp

    r39933 r43902  
    517517{
    518518    return m_pcszName;
     519}
     520
     521/**
     522 * Returns the name of the node, which is either the element name or
     523 * the attribute name. For other node types it probably returns NULL.
     524 * @return
     525 */
     526const char* Node::getPrefix() const
     527{
     528    return m_pcszNamespacePrefix;
    519529}
    520530
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette