Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Google search


Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
36%
Installation Wizard into new VRC
36%
Manual into existing VRC
7%
Manual into new VRC
20%
Total votes: 44

Baanboard at LinkedIn


Reference Content

 
XML object synopsis
By patvdv at 26 Feb 2008 - 21:57

XML object synopsis

  3GL/4GL function XML library function
Verify the used characters
long xmlContainsValidCharactersOnly(string inputstring)
int xmlContainsValidTssCharactersOnly(const char * aTss);
Serialize XML Object
long xmlWrite(long fp, long fromNode, [long toNode])
long xmlWritePretty(long fp, long fromNode, [long toNode] )
long xmlWriteToString(ref string buffer, long fromNode, [long toNode] )
long xmlWritePrettyToString(ref string buffer, long fromNode, [long toNode] )
int xmlWrite(STREAM *fp, XmlNodePointer _pTo, XmlNodePointer _pFrom, int prettyPrint);
De-serialize XML Object
long xmlRead(long fp, ref string error, [ long whitespacehandling ] )
         
long xmlReadFromString(string xmlString, ref string error, [ long whitespacehandling ] )
XmlNodePointer xmlRead(STREAM *fp, char *parserError, XmlContextPointer pContext);
         
XmlNodePointer xmlReadExt(STREAM *fp, char *parserError, XmlWhiteSpaceHandling whiteSpaceHandling, XmlContextPointer pContext);
XmlNodePointer xmlReadBuffer(char *buffer, unsigned long bufferSize, char *parserError, XmlContextPointer pContext);
XmlNodePointer xmlReadBufferExt(char *buffer, unsigned long bufferSize,char * parserError, XmlWhiteSpaceHandling whiteSpaceHandling, XmlContextPointer pContext);
Create a new Node
long xmlNewNode(string name, [long type, long parentNode ])
XmlNodePointer xmlNewNode(char *name, XmlNodePointer _pParent, XmlContextPointer pContext, int nodeType);
Create an Element Node with Data Node
long xmlNewDataElement(string name, string data, [ long parentNode ])
XmlNodePointer xmlNewDataElement(char *name, char *value, XmlNodePointer _pParent, XmlContextPointer pContext);
Rewrite Data Element
long xmlRewriteDataElement(long node, string name, string data)
int  xmlRewriteDataElement(XmlNodePointer _pNode, char *name, char *value, XmlContextPointer pContext);
Get data of all Elements
long xmlGetDataElement(long node, string name, ref string data)
int  xmlGetDataElement(XmlNodePointer _pNode, char *name, char *value, int sizeOfValue);
Set name of a Node
long xmlSetName(long node, string name)
int  xmlSetName(XmlNodePointer _pNode, char *name, XmlContextPointer pContext);
Set data of a Node
long xmlSetData(long node, string data)
int  xmlSetData(XmlNodePointer _pNode, char *data, XmlContextPointer pContext);
Set attribute
long xmlSetAttribute(long node, string attributeName, string data)
int  xmlSetAttribute(XmlNodePointer _pNode, char *name, char *data, XmlContextPointer pContext);
Delete attribute
long xmlDeleteAttribute(long node, string attribute )
int  xmlDeleteAttribute(XmlNodePointer _pNode, char *name, XmlContextPointer pContext);
Get name of a Node
long xmlGetName(long node, ref string name)
int  xmlGetName(XmlNodePointer _pNode, char *name, int sizeOfName);
Get parent of a Node
long xmlGetParent(long node)
XmlNodePointer xmlGetParent(XmlNodePointer _pNode);
Get child of a Node
long xmlGetFirstChild(long node)
long xmlGetLastChild(long node)
XmlNodePointer xmlGetFChild(XmlNodePointer _pNode);
XmlNodePointer xmlGetLChild(XmlNodePointer _pNode);
Get number of child Nodes
long xmlGetNumChilds(long node)
int xmlGetNumChilds(XmlNodePointer _pNode);
Get sibling of a Node
long xmlGetRightSibling(long node)
long xmlGetLeftSibling(long node)
XmlNodePointer xmlGetRSib(XmlNodePointer _pNode);
XmlNodePointer xmlGetLSib(XmlNodePointer _pNode);
Get number of sibling Nodes
long xmlGetNumSiblings(long node)
long xmlGetNumRightSiblings(long node)
long xmlGetNumLeftSiblings(long node)
int xmlGetNumSib(XmlNodePointer _pNode);
int xmlGetNumRSib(XmlNodePointer _pNode);
int xmlGetNumLSib(XmlNodePointer _pNode);
Get data of a Node
long xmlGetData(long node, ref string data)
Get attribute value
long xmlGetAttribute(long node, string attributeName, ref string data)
int  xmlGetData(XmlNodePointer _pNode, char *name, int sizeOfName);
Get attribute name
long xmlGetAttributeName(long node, long attributeNr, ref string attributeName)
int  xmlGetAttributeName(XmlNodePointer _pNode, int index, char *name, int sizeOfName);
Get number of attributes
long xmlGetNumAttributes(long node)
int  xmlGetNumAttributes(XmlNodePointer _pNode);
Get Node type
long xmlGetType(long node)
int  xmlGetType(XmlNodePointer _pNode);
Delete Nodes
long xmlDelete(long fromNode, [ long toNode ])
int  xmlDeleteList(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlContextPointer pContext);
Unlink Nodes
long xmlUnlink(long fromNode, [ long toNode ])
XmlNodePointer xmlMoveList(XmlNodePointer _pFrom, XmlNodePointer _pTo);
Unlink and Insert Nodes
long xmlInsert(long destinationNode, long fromNode, [ long toNode ])
XmlNodePointer xmlMoveListAndInsert(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlNodePointer _pDest);
Unlink and Add Nodes
long xmlAdd(long destinationNode, long fromNode, [ long toNode ])
XmlNodePointer xmlMoveListAndAdd(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlNodePointer _pDest);
Unlink and Append Nodes
long xmlAppend(long destinationNode, long fromNode, [ long toNode ])
XmlNodePointer xmlMoveListAndAppend(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlNodePointer _pDest);
Unlink and Insert Nodes in Children
long xmlInsertInChilds(long parentNode, long fromNode, [ long toNode ])
XmlNodePointer xmlMoveListAndInsertInChildList(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlNodePointer _pDest);
Unlink and Append Nodes to Children
long xmlAppendToChilds(long parentNode, long fromNode, [ long toNode ])
XmlNodePointer xmlMoveListAndAppendToChildList(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlNodePointer _pDest);
Duplicate Nodes
long xmlDuplicate(long fromNode, [ long toNode ])
XmlNodePointer xmlDupList(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlContextPointer pContext);
Duplicate Nodes to Process
long xmlDuplicateToProcess(long processId, long fromNode, [ long toNode ])
XmlNodePointer xmlDupList(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlContextPointer pContext);
Duplicate and Insert Nodes
long xmlDuplicateAndInsert(long destinationNode, long fromNode, [ long toNode ])
XmlNodePointer xmlDupListAndInsert(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlNodePointer _pDest, XmlContextPointer pContext);
Duplicate and Add Nodes
long xmlDuplicateAndAdd(long destinationNode, long fromNode, [ long toNode ])
XmlNodePointer xmlDupListAndAdd(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlNodePointer _pDest, XmlContextPointer pContext);
Duplicate and Append Nodes
long xmlDuplicateAndAppend(long destinationNode, long fromNode, [ long toNode ])
XmlNodePointer xmlDupListAndAppend(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlNodePointer _pDest, XmlContextPointer pContext);
Duplicate and Insert Nodes in Children
long xmlDuplicateAndInsertInChilds(long parentNode, long fromNode, [ long toNode ])
XmlNodePointer xmlDupListAndInsertInChildList(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlNodePointer _pDest, XmlContextPointer pContext);
Duplicate and Append Nodes to Children
long xmlDuplicateAndAppendToChilds(long parentNode, long fromNode, [ long toNode ])
XmlNodePointer xmlDupListAndAppendToChildList(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlNodePointer _pDest, XmlContextPointer pContext);
Find first Node
long xmlFindFirst(string tagName, long fromNode, [ long toNode ])
XmlNodePointer xmlFindFirstInList(XmlNodePointer _pFrom, XmlNodePointer _pTo, char *criteria);
Find first Node using a Match Pattern
long xmlFindFirstMatch(string pattern, long fromNode, [ long toNode ])
XmlNodePointer xmlFindFirstMatchInList(XmlNodePointer _pFrom, XmlNodePointer _pTo, char *pPattern);
Find Nodes
long xmlFindNodes(long node, string criteria, long maxFound, [ref long numFound] )
XmlNodePointer xmlFindNodes(XmlNodePointer _pNode, char *criteria, int maxFound, int *pNumFound, XmlContextPointer pContext)
Find Nodes using a Match Pattern
long xmlFindMatch(string pattern, long fromNode, [ long toNode ])
XmlNodePointer xmlFindMatchInList(XmlNodePointer _pFrom, XmlNodePointer _pTo, char *pPattern, XmlContextPointer pContext);
Find set of Sibling Nodes
long xmlFindSetOfSiblingNodes(long node, string criteria, long maxFound, [ref long numFound])
XmlNodePointer xmlFindSetOfSiblingNodes(XmlNodePointer _pNode, char *criteria, int maxFound, int *pNumFound, XmlContextPointer pContext)
Create context
No 3GL/4GL function
XmlContextPointer xmlCreateContext(long mid);
Delete context
No 3GL/4GL function
void xmlDeleteContext(XmlContextPointer pContext);

Related topics


0
No votes yet


All times are GMT +2. The time now is 20:02.


©2001-2017 - Baanboard.com - Baanforums.com