This provides the name of the XML file used as the source of XML this XML node is a part. This is useful in diagnosing config errors as config files can be spread accross more than one XML file (eg SiteServer configs). Arguments: None
| Return Type | Function name | Arguments |
|---|---|---|
| const char* | hzXmlNode::Fname | (void) |
Declared in file: hzDocument.h
Defined in file : hzDocXml.cpp
Function Logic:
Function body:
const char* hzXmlNode::Fname (void)
{
// Category: Diagnostics
//
// This provides the name of the XML file used as the source of XML this XML node is a part. This is useful in diagnosing config errors as config
// files can be spread accross more than one XML file (eg SiteServer configs).
//
// Arguments: None
// Returns: Filename of host document if this is known, 0 otherwise.
return m_pHostDoc ? m_pHostDoc->Fname() : 0;
}