XMLSAXAddNodeAttr XML SAX 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   XMLSAXAddNodeAttr
(   XMLHandle :LONGINT;
    nodeAttrName :STRING;
    nodeAttrValue :STRING
) :INTEGER ;

Python:

def  vs.XMLSAXAddNodeAttr(XMLHandle, nodeAttrName, nodeAttrValue):
   return INTEGER

Description:

Write XML using SAX, adds a node attributes to a node begun with XMLSAXBeginNode.



  XMLSAXAddNodeValue XML SAX 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   XMLSAXAddNodeValue
(   XMLHandle :LONGINT;
    nodeValue :STRING
) :INTEGER ;

Python:

def  vs.XMLSAXAddNodeValue(XMLHandle, nodeValue):
   return INTEGER

Description:

Write XML using SAX, adds a node value to a node begun with XMLSAXBeginNode.



  XMLSAXBeginDocFile XML SAX 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   XMLSAXBeginDocFile
(   XMLHandle :LONGINT;
    whichPath :INTEGER;
    filename :STRING
) :INTEGER ;

Python:

def  vs.XMLSAXBeginDocFile(XMLHandle, whichPath, filename):
   return INTEGER

Description:

Write XML using SAX, begin of a document file. XMLSAXEndDoc ends a document.



  XMLSAXBeginDocMemory XML SAX 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   XMLSAXBeginDocMemory
( XMLHandle:LONGINT ) :INTEGER ;

Python:

def  vs.XMLSAXBeginDocMemory(XMLHandle):
   return INTEGER

Description:

Write XML using SAX, begin of a document in memory. XMLSAXEndDocMemory ends a document.



  XMLSAXBeginNode XML SAX 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   XMLSAXBeginNode
(   XMLHandle :LONGINT;
    nodeName :STRING
) :INTEGER ;

Python:

def  vs.XMLSAXBeginNode(XMLHandle, nodeName):
   return INTEGER

Description:

Write XML using SAX, begin of a node. XMLSAXEndNode ends a node



  XMLSAXEndDoc XML SAX 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   XMLSAXEndDoc
( XMLHandle:LONGINT ) :INTEGER ;

Python:

def  vs.XMLSAXEndDoc(XMLHandle):
   return INTEGER

Description:

Write XML using SAX, end of a document. XMLSAXBeginDocFile begins a document.



  XMLSAXEndDocMemory XML SAX 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   XMLSAXEndDocMemory
(   XMLHandle :LONGINT;
  VAR  XMLData :DYNARRAY[] of CHAR
) :INTEGER ;

Python:

def  vs.XMLSAXEndDocMemory(XMLHandle):
   return (INTEGER, XMLData)

Description:

Write XML using SAX, end of a document. XMLSAXBeginDocMemory begins a document.



  XMLSAXEndNode XML SAX 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   XMLSAXEndNode
( XMLHandle:LONGINT ) :INTEGER ;

Python:

def  vs.XMLSAXEndNode(XMLHandle):
   return INTEGER

Description:

Write XML using SAX, end of a node. XMLSAXBeginNode begins a node.



  XMLSAXParseFile XML SAX 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   XMLSAXParseFile
(   XMLHandle :LONGINT;
    whichPath :INTEGER;
    filename :STRING;
    nodeCallback :PROCEDURE
) :INTEGER ;

Python:

def  vs.XMLSAXParseFile(XMLHandle, whichPath, filename, nodeCallback):
   return INTEGER

Description:

Parse an XML file using SAX.



  XMLSAXParseMemory XML SAX 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   XMLSAXParseMemory
(   XMLHandle :LONGINT;
    XMLData :DYNARRAY[] of CHAR;
    nodeCallback :PROCEDURE
) :INTEGER ;

Python:

def  vs.XMLSAXParseMemory(XMLHandle, XMLData, nodeCallback):
   return INTEGER

Description:

Parse an XML from memory using SAX.