User login
|
|
Frontpage Sponsor
|
|
Poll
|
How big is your Baan-DB (just Data AND Indexes) 0 - 200 GB 16% 200 - 500 GB 27% 500 - 800 GB 2% 800 - 1200 GB 9% 1200 - 1500 GB 9% 1500 - 2000 GB 14% > 2000 GB 23% Total votes: 44 |
Baanboard at LinkedIn
|

|
|
|
 |

23rd June 2004, 21:48
|
Senior Member
|
|
Join Date: Sep 2001
Location: Kansas City, MO, USA
Posts: 169
|
|
Baan: Baan IVc4 SP26 -
DB: Oracle 10g -
OS: Windows XP Pro
|
I noticed in the ostpxmlstd library there is a global function named "xmlgetdata". Does anyone know how to use this or have any documentation on it? Does it come from bic_global? If so, is there any way to get info from the include6.1 files like bic_global (like the way you can look at library definitions with bic_info.exe)?
|

24th June 2004, 19:42
|
 |
Guru
|
|
Join Date: Aug 2001
Location: Pacific NW, USA
Posts: 3,081
|
|
Baan: Baan 4-5,5.2(Reger),LN-6.1,Infor LN-10.x -
DB: Oracle,MS-SQL -
OS: HPUX, Linux, Windows
|
Steve,
Quote:
Does it come from bic_global?
|
I am not sure its there.
Quote:
If so, is there any way to get info from the include6.1 files like bic_global (like the way you can look at library definitions with bic_info.exe)?
|
I dont think we have a way to see the function prototypes in the $BSE/include files.
Refer to the link -
xmlGetData
|

25th June 2004, 10:22
|
Newbie
|
|
Join Date: Jun 2004
Posts: 2
|
|
Baan: Baan4, Baan5 -
DB: Oracle -
OS: SunOS, WinNT
|
XML functions
This is a part of bic_global
| XML defines and functions
| ===== XML NODE TYPES ========================================================
#define XML_DATA 1
#define XML_ELEMENT 2
#define XML_DTD 3
#define XML_PI 4
| ===== XML SERIALIZE =========================================================
| return number of bytes written
| return 0 on error
| =============================================================================
function global long xmlWrite(long fp, long fromNode, [ long toNode ])
function global long xmlWritePretty(long fp, long fromNode, [ long toNode ] )
function global long xmlWriteToString(ref string buffer, long fromNode, [long toNode])
function global long xmlWritePrettyToString(ref string buffer, long fromNode, [long toNode])
| ===== XML CONSTRUCT ========================================================
| return node on success
| return 0 on error
| =============================================================================
function global long xmlRead(long fp, ref string error)
function global long xmlReadFromString(string xmlString, ref string error)
function global long xmlNewNode(string name, [long type, long parentNode ])
function global long xmlNewDataElement(string name, void data, [ long parentNode ])
function global long xmlRewriteDataElement(long node, string name, void data)
function global long xmlGetDataElement(long node, string name, ref void data)
| ===== XML GET/SET/DELETE properties =========================================
| return node on success
| return 0 on error
| =============================================================================
function global long xmlSetName(long node, string name)
function global long xmlSetData(long node, void data)
function global long xmlSetAttribute(long node, string attributeName, void data)
function global long xmlDeleteAttribute(long node, string attribute )
function global long xmlGetName(long node, ref string name)
function global long xmlGetParent(long node)
function global long xmlGetFirstChild(long node)
function global long xmlGetLastChild(long node)
function global long xmlGetRightSibling(long node)
function global long xmlGetLeftSibling(long node)
function global long xmlGetData(long node, ref void data)
function global long xmlGetAttribute(long node, string attribiteName, ref void data)
function global long xmlGetAttributeName(long node, long attributeNr, ref string attributeName)
| return a number (or type for getType(): return XML_ELEMENT XML_DATA XML_DTD XML_PI)
function global long xmlGetType(long node)
function global long xmlGetNumAttributes(long node)
function global long xmlGetNumSiblings(long node)
function global long xmlGetNumRightSiblings(long node)
function global long xmlGetNumLeftSiblings(long node)
function global long xmlGetNumChilds(long node)
| ===== XML TREE MANIPULATION =================================================
| return node or true on success (source is always unlinked from old location)
| return 0 on error
| =============================================================================
function global long xmlDelete(long fromNode, [ long toNode ])
function global long xmlUnlink(long fromNode, [ long toNode ])
function global long xmlInsert(long destinationNode, long fromNode, [ long toNode ])
function global long xmlAdd(long destinationNode, long fromNode, [ long toNode ])
function global long xmlAppend(long destinationNode, long fromNode, [ long toNode ])
function global long xmlInsertInChilds(long parentNode, long fromNode, [ long toNode ])
function global long xmlAppendToChilds(long parentNode, long fromNode, [ long toNode ])
function global long xmlDuplicate(long fromNode, [ long toNode ])
function global long xmlDuplicateToProcess(long processId, long fromNode, [ long toNode ])
function global long xmlDuplicateAndInsert(long destinationNode, long fromNode, [ long toNode ])
function global long xmlDuplicateAndAdd(long destinationNode, long fromNode, [ long toNode ])
function global long xmlDuplicateAndAppend(long destinationNode, long fromNode, [ long toNode ])
function global long xmlDuplicateAndInsertInChilds(long parentNode, long fromNode, [ long toNode ])
function global long xmlDuplicateAndAppendToChilds(long parentNode, long fromNode, [ long toNode ])
| ===== XML TREE SEARCH =======================================================
| return node on success
| return 0 on error
| =============================================================================
function global long xmlFindFirst(string tagName, long fromNode, [ long toNode ])
function global long xmlFindFirstMatch(string pattern, long fromNode, [ long toNode ])
function global long xmlFindMatch(string pattern, long fromNode, [ long toNode ])
function global long xmlFindNodes(long node, string criteria, long maxFound, [ref long numFound] )
function global long xmlFindSetOfSiblingNodes(long node, string criteria, long maxFound, [ref long numFound])
| ===== XML TREE MISCELANEOUS =================================================
| return node on success
| return 0 on error
| =============================================================================
function global long xmlExecuteSql(long node, long companyNo)
function global long xmlExecuteDllMethod(long dllMethod)
function global long xmlDllSignature(string dllName, [ string methodName ])
function global long xmlNodeToSymbol(void symbol, long node, long bdbTyp)
function global long xmlInitSql(long numCursors, long numQueries, long intervalCursors, long intervalQueries)
function global long xmlRefreshSqlCache()
function global long xmlStatisticsSqlCache(ref long statArray())
function global long xmlContainsValidCharactersOnly(const string inputstring())
| ===== XML LOGGING ===========================================================
| =============================================================================
function global void xmlPutStringToLog(long processId, string logString)
function global long xmlGetLog(long processId)
function global void xmlCleanupLog(long processId)
function global long xmlInstallLogListener(long processId)
function global void xmlDeInstallLogListener(long processId)
|

25th June 2004, 10:30
|
Newbie
|
|
Join Date: Jun 2004
Posts: 2
|
|
Baan: Baan4, Baan5 -
DB: Oracle -
OS: SunOS, WinNT
|
XML functions
This is a part of bic_global
| XML defines and functions
| ===== XML NODE TYPES ========================================================
#define XML_DATA 1
#define XML_ELEMENT 2
#define XML_DTD 3
#define XML_PI 4
| ===== XML SERIALIZE =========================================================
| return number of bytes written
| return 0 on error
| =============================================================================
function global long xmlWrite(long fp, long fromNode, [ long toNode ])
function global long xmlWritePretty(long fp, long fromNode, [ long toNode ] )
function global long xmlWriteToString(ref string buffer, long fromNode, [long toNode])
function global long xmlWritePrettyToString(ref string buffer, long fromNode, [long toNode])
| ===== XML CONSTRUCT ========================================================
| return node on success
| return 0 on error
| =============================================================================
function global long xmlRead(long fp, ref string error)
function global long xmlReadFromString(string xmlString, ref string error)
function global long xmlNewNode(string name, [long type, long parentNode ])
function global long xmlNewDataElement(string name, void data, [ long parentNode ])
function global long xmlRewriteDataElement(long node, string name, void data)
function global long xmlGetDataElement(long node, string name, ref void data)
| ===== XML GET/SET/DELETE properties =========================================
| return node on success
| return 0 on error
| =============================================================================
function global long xmlSetName(long node, string name)
function global long xmlSetData(long node, void data)
function global long xmlSetAttribute(long node, string attributeName, void data)
function global long xmlDeleteAttribute(long node, string attribute )
function global long xmlGetName(long node, ref string name)
function global long xmlGetParent(long node)
function global long xmlGetFirstChild(long node)
function global long xmlGetLastChild(long node)
function global long xmlGetRightSibling(long node)
function global long xmlGetLeftSibling(long node)
function global long xmlGetData(long node, ref void data)
function global long xmlGetAttribute(long node, string attribiteName, ref void data)
function global long xmlGetAttributeName(long node, long attributeNr, ref string attributeName)
| return a number (or type for getType(): return XML_ELEMENT XML_DATA XML_DTD XML_PI)
function global long xmlGetType(long node)
function global long xmlGetNumAttributes(long node)
function global long xmlGetNumSiblings(long node)
function global long xmlGetNumRightSiblings(long node)
function global long xmlGetNumLeftSiblings(long node)
function global long xmlGetNumChilds(long node)
| ===== XML TREE MANIPULATION =================================================
| return node or true on success (source is always unlinked from old location)
| return 0 on error
| =============================================================================
function global long xmlDelete(long fromNode, [ long toNode ])
function global long xmlUnlink(long fromNode, [ long toNode ])
function global long xmlInsert(long destinationNode, long fromNode, [ long toNode ])
function global long xmlAdd(long destinationNode, long fromNode, [ long toNode ])
function global long xmlAppend(long destinationNode, long fromNode, [ long toNode ])
function global long xmlInsertInChilds(long parentNode, long fromNode, [ long toNode ])
function global long xmlAppendToChilds(long parentNode, long fromNode, [ long toNode ])
function global long xmlDuplicate(long fromNode, [ long toNode ])
function global long xmlDuplicateToProcess(long processId, long fromNode, [ long toNode ])
function global long xmlDuplicateAndInsert(long destinationNode, long fromNode, [ long toNode ])
function global long xmlDuplicateAndAdd(long destinationNode, long fromNode, [ long toNode ])
function global long xmlDuplicateAndAppend(long destinationNode, long fromNode, [ long toNode ])
function global long xmlDuplicateAndInsertInChilds(long parentNode, long fromNode, [ long toNode ])
function global long xmlDuplicateAndAppendToChilds(long parentNode, long fromNode, [ long toNode ])
| ===== XML TREE SEARCH =======================================================
| return node on success
| return 0 on error
| =============================================================================
function global long xmlFindFirst(string tagName, long fromNode, [ long toNode ])
function global long xmlFindFirstMatch(string pattern, long fromNode, [ long toNode ])
function global long xmlFindMatch(string pattern, long fromNode, [ long toNode ])
function global long xmlFindNodes(long node, string criteria, long maxFound, [ref long numFound] )
function global long xmlFindSetOfSiblingNodes(long node, string criteria, long maxFound, [ref long numFound])
| ===== XML TREE MISCELANEOUS =================================================
| return node on success
| return 0 on error
| =============================================================================
function global long xmlExecuteSql(long node, long companyNo)
function global long xmlExecuteDllMethod(long dllMethod)
function global long xmlDllSignature(string dllName, [ string methodName ])
function global long xmlNodeToSymbol(void symbol, long node, long bdbTyp)
function global long xmlInitSql(long numCursors, long numQueries, long intervalCursors, long intervalQueries)
function global long xmlRefreshSqlCache()
function global long xmlStatisticsSqlCache(ref long statArray())
function global long xmlContainsValidCharactersOnly(const string inputstring())
| ===== XML LOGGING ===========================================================
| =============================================================================
function global void xmlPutStringToLog(long processId, string logString)
function global long xmlGetLog(long processId)
function global void xmlCleanupLog(long processId)
function global long xmlInstallLogListener(long processId)
function global void xmlDeInstallLogListener(long processId)
|

27th July 2004, 11:41
|
 |
Junior Member
|
|
Join Date: Jan 2002
Location: India
Posts: 13
|
|
Hi,
In which version of Baan IV the xml functions are available? Or is it dependent on the porting set? Or is it available only when we install the OW?
__________________
Regards,
Senthil
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|