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 TypeFunction nameArguments
hzStringhzXmlNode::Filename(void)

Declared in file: hzDocument.h
Defined in file : hzDocXml.cpp

Function Logic:

0:START 1:unknown 2:Return m_pHostDoc->Filename() 3:Return x

Function body:

hzString hzXmlNode::Filename (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: Instance of hzString by value being document name
   hzString    x ;         //  Target string
   if (m_pHostDoc)
       return m_pHostDoc->Filename() ;
   else
       return x ;
}