Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
37%
Installation Wizard into new VRC
39%
Manual into existing VRC
3%
Manual into new VRC
21%
Total votes: 38

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 23rd June 2004, 21:48
steveauckly steveauckly is offline
Senior Member
 
Join Date: Sep 2001
Location: Kansas City, MO, USA
Posts: 168
steveauckly is on a distinguished road
Baan: Baan IVc4 SP26 - DB: Oracle 10g - OS: Windows XP Pro
xml question

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)?
Reply With Quote
  #2  
Old 24th June 2004, 19:42
NPRao's Avatar
NPRao NPRao is offline
Guru
 
Join Date: Aug 2001
Location: Pacific NW, USA
Posts: 3,032
NPRao will become famous soon enough
Baan: iBaanERP-5.2a(Reger),SSA-ERP-LN-6.1,Infor LN-10.x - DB: Oracle-10g,11g,12c,MS-SQL - OS: HP-UX, 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
__________________
The art of perfection does not lie in doing extraordinary things but, doing ordinary things extraordinarily well. [-N. Prashanth Rao]
How To Ask Questions The Smart Way,BaaNBoard,NPRao
Reply With Quote
  #3  
Old 25th June 2004, 10:22
kmorozov kmorozov is offline
Newbie
 
Join Date: Jun 2004
Posts: 2
kmorozov is on a distinguished road
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)
Reply With Quote
  #4  
Old 25th June 2004, 10:30
kmorozov kmorozov is offline
Newbie
 
Join Date: Jun 2004
Posts: 2
kmorozov is on a distinguished road
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)
Reply With Quote
Sponsored Links
  #5  
Old 27th July 2004, 11:41
msjumbu's Avatar
msjumbu msjumbu is offline
Junior Member
 
Join Date: Jan 2002
Location: India
Posts: 13
msjumbu is on a distinguished road
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xml aneesh_av Tools Development 26 18th August 2005 18:33
Baan xml functions gous99 Tools Development 0 9th June 2004 19:41
Baan reports in XML format... r_nagu Tools Development 1 11th March 2004 00:45
XML connector examples sant123 Tools Development 1 26th February 2004 07:16
Redirect Print to xml file prajesh Tools Administration & Installation 5 8th July 2002 16:56


All times are GMT +2. The time now is 04:49.


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