Scripting/Server/Classes/XML/XmlDocument
Creates a document object bound to a file path. Properties: Name.
Syntax
XmlDocument("path/file.xml")Arguments
- any "path/file.xml"
Example
function onPlayerCommand( player, cmd, params )
{
if ( cmd == "xmldocument" )
{
XmlDocument( 0 );
}
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
- doc.LoadFile
- doc.FirstChild
- doc.LinkChild
- doc.Clear
- XmlElement
- el.FirstChild
- el.LinkChild
- el.RemoveChild
- el.GetAttribute
- el.Clear
Section: XML
Categories: Server methods | XML