| CreateNewXMLDocument | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION CreateNewXMLDocument
( XMLHandle :LONGINT; rootElementName :STRING ) :INTEGER ; Python:
return INTEGER
def vs.CreateNewXMLDocument(XMLHandle, rootElementName): Description:
Creates a new XML document.
| DeleteAttribute | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION DeleteAttribute
( XMLHandle :LONGINT; elementPath :STRING; attribute :STRING ) :INTEGER ; Python:
return INTEGER
def vs.DeleteAttribute(XMLHandle, elementPath, attribute): Description:
Deletes an attribute
| DeleteCDATA | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION DeleteCDATA
( XMLHandle :LONGINT; elementPath :STRING ) :INTEGER ; Python:
return INTEGER
def vs.DeleteCDATA(XMLHandle, elementPath): Description:
Deletes a CDATA section
| DeleteElement | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION DeleteElement
( XMLHandle :LONGINT; elementPath :STRING ) :INTEGER ; Python:
return INTEGER
def vs.DeleteElement(XMLHandle, elementPath): Description:
Deletes the element at the location specified by the path.
| FindAttribute | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION FindAttribute
( XMLHandle :LONGINT; startElementPath :STRING; searchAttribute :STRING; VAR foundPath :STRING; VAR attributeValue :STRING ) :INTEGER ; Python:
return (INTEGER, foundPath, attributeValue)
def vs.FindAttribute(XMLHandle, startElementPath, searchAttribute): Description:
Finds the specified attribute by name.
| FindElement | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION FindElement
( XMLHandle :LONGINT; startElementPath :STRING; searchElement :STRING; VAR foundPath :STRING ) :INTEGER ; Python:
return (INTEGER, foundPath)
def vs.FindElement(XMLHandle, startElementPath, searchElement): Description:
Finds the specified element by name.
| GetAttributeValue | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION GetAttributeValue
( XMLHandle :LONGINT; elementPath :STRING; attribute :STRING; VAR value :STRING ) :INTEGER ; Python:
return (INTEGER, value)
def vs.GetAttributeValue(XMLHandle, elementPath, attribute): Description:
Gets a value of an attribute.
| GetCDATA | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION GetCDATA
( XMLHandle :LONGINT; elementPath :STRING; VAR returnVal :DYNARRAY[] of CHAR ) :INTEGER ; Python:
return (INTEGER, returnVal)
def vs.GetCDATA(XMLHandle, elementPath): Description:
Gets CDATA section.
| GetElementValue | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION GetElementValue
( XMLHandle :LONGINT; elementPath :STRING; VAR value :STRING ) :INTEGER ; Python:
return (INTEGER, value)
def vs.GetElementValue(XMLHandle, elementPath): Description:
Gets a value of an element, given a path.
| GetFirstChild | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION GetFirstChild
( XMLHandle :LONGINT; elementPath :STRING; VAR value :STRING ) :INTEGER ; Python:
return (INTEGER, value)
def vs.GetFirstChild(XMLHandle, elementPath): Description:
Returns first child of given element.
| GetNextElement | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION GetNextElement
( XMLHandle :LONGINT; elementPath :STRING; VAR value :STRING ) :INTEGER ; Python:
return (INTEGER, value)
def vs.GetNextElement(XMLHandle, elementPath): Description:
Returns the next element (sibling) of the given element.
| GetPreviousElement | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION GetPreviousElement
( XMLHandle :LONGINT; elementPath :STRING; VAR value :STRING ) :INTEGER ; Python:
return (INTEGER, value)
def vs.GetPreviousElement(XMLHandle, elementPath): Description:
Returns the previous element (sibling) of the given element.
| InitXML | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION InitXML
:LONGINT ; Python:
return LONGINT
def vs.InitXML(): Description:
Initializes the XML System
| ReadXMLFile | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION ReadXMLFile
( XMLHandle :LONGINT; whichPath :INTEGER; filename :STRING ) :INTEGER ; Python:
return INTEGER
def vs.ReadXMLFile(XMLHandle, whichPath, filename): Description:
Opens and reads an XML file.
| ReadXMLMemory | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION ReadXMLMemory
( XMLHandle :LONGINT; XMLData :DYNARRAY[] of CHAR ) :INTEGER ; Python:
return INTEGER
def vs.ReadXMLMemory(XMLHandle, XMLData): Description:
Parses XML data in memory.
| ReleaseXML | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION ReleaseXML
( XMLHandle:LONGINT ) :INTEGER ; Python:
return INTEGER
def vs.ReleaseXML(XMLHandle): Description:
Releases XML parser internal memory.
| SetAttributeValue | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION SetAttributeValue
( XMLHandle :LONGINT; elementPath :STRING; attribute :STRING; value :STRING ) :INTEGER ; Python:
return INTEGER
def vs.SetAttributeValue(XMLHandle, elementPath, attribute, value): Description:
Sets a value of an attribute.
| SetCDATA | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION SetCDATA
( XMLHandle :LONGINT; elementPath :STRING; data :DYNARRAY[] of CHAR ) :INTEGER ; Python:
return INTEGER
def vs.SetCDATA(XMLHandle, elementPath, data): Description:
Sets CDATA section.
| SetElementValue | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION SetElementValue
( XMLHandle :LONGINT; elementPath :STRING; value :STRING ) :INTEGER ; Python:
return INTEGER
def vs.SetElementValue(XMLHandle, elementPath, value): Description:
Sets a value of an element, given a path.
| WriteXMLFile | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION WriteXMLFile
( XMLHandle :LONGINT; whichPath :INTEGER; filename :STRING ) :INTEGER ; Python:
return INTEGER
def vs.WriteXMLFile(XMLHandle, whichPath, filename): Description:
Writes an XML file.
| WriteXMLMemory | XML Vectorworks 2011 |
VectorScript Declaration:
FUNCTION WriteXMLMemory
( XMLHandle :LONGINT; VAR XMLData :DYNARRAY[] of CHAR ) :INTEGER ; Python:
return (INTEGER, XMLData)
def vs.WriteXMLMemory(XMLHandle): Description:
Creates XML data from an internal DOM tree.