Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Google search


Poll
What version of Baan have you installed
Baan IV
31%
FP3
4%
FP4
0%
FP5
0%
FP6
2%
FP7
4%
10.2 (incl. 10.2.1)
4%
10.3
6%
10.4
19%
10.5
28%
Other
2%
Total votes: 83

Baanboard at LinkedIn


Reference Content

 
Items for 'Manual' (by date)
By Date  
Alphabetically By Date  

 

You are browsing all items of this content category sorted by date (most recent first). Note that forum posts/threads are not included here.

 

If you would like to search through the content then please refer to the Site Search page.

 

Set data of a Node
By patvdv at 26 Feb 2008 - 21:57

Set data of a Node

Synopsis

long xmlSetData(long node, string data)

XML library function

int xmlSetData(XmlNodePointer _pNode, char *data, XmlContextPointer pContext);

Description

Set the data of an XML_DATA or XML_PI node.

Arguments

node

node is the node for which the data is set.

0
No votes yet

Get child of a Node
By patvdv at 26 Feb 2008 - 21:57

Get child of a Node

Synopsis

long xmlGetFirstChild(long node)
long xmlGetLastChild(long node)

XML library function

XmlNodePointer xmlGetFChild(XmlNodePointer _pNode);
XmlNodePointer xmlGetLChild(XmlNodePointer _pNode);

Description

Get the first (most left) or last (most right) child node of an XML_ELEMENT or XML_DTD node.

0
No votes yet

Set name of a Node
By patvdv at 26 Feb 2008 - 21:57

Set name of a Node

Synopsis

long xmlSetName(long node, string name)

XML library function

int xmlSetName(XmlNodePointer _pNode, char *name, XmlContextPointer pContext);

Description

Set the name of an XML_ELEMENT or XML_DTD node.

Arguments

node

node is the node for which the name is set.

0
No votes yet

Get data of a Node
By patvdv at 26 Feb 2008 - 21:57

Get data of a Node

Synopsis

long xmlGetData(long node, ref string data)

XML library function

Description

Get the data of a node. When node is of type XML_DATA or XML_PI, only the data from this node is obtained. When node is of type XML_ELEMENT or XML_DTD, the data from all child XML_DATA and XML_PI nodes is concatenated.

0
No votes yet

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)

0
No votes yet

Get data of all Elements
By patvdv at 26 Feb 2008 - 21:57

Get data of all Elements

Synopsis

long xmlGetDataElement(long node, string name, ref string data)

XML library function

int xmlGetDataElement(XmlNodePointer _pNode, char *name, char *value, int sizeOfValue);

Description

For each child XML_ELEMENT node that has a name equal to name, get the data contained in XML_DATA child nodes. The data from all matching nodes is concatenated.

0
No votes yet

Unlink and Add Nodes
By patvdv at 26 Feb 2008 - 21:57

Unlink and Add Nodes

Synopsis

long xmlAdd(long destinationNode, long fromNode, [ long toNode ])

XML library function

XmlNodePointer xmlMoveListAndAdd(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlNodePointer _pDest);

Description

Unlink a tree or a list of trees and add this list to a new list after the node referred to by destinationNode.

0
No votes yet

Functions with variable number of arguments: overview
By patvdv at 26 Feb 2008 - 21:57

Functions with variable number of arguments: overview

In the BAAN 3GL programming language, you can define a function with a variable number of arguments. For example:
function long change.attributes( long id, ... )

{
|
| some code
|
}

The ellipsis [...] in the function definition indicates that the number of function arguments is variable, up to a maximum of 255. The function call determines how many and which arguments the function uses.

0
No votes yet

Duplicate and Append Nodes to Children
By patvdv at 26 Feb 2008 - 21:57

Duplicate and Append Nodes to Children

Synopsis

long xmlDuplicateAndAppendToChilds(long parentNode, long fromNode, [ long toNode ])

XML library function

XmlNodePointer xmlDupListAndAppendToChildList(XmlNodePointer _pFrom, XmlNodePointer _pTo, XmlNodePointer _pDest, XmlContextPointer pContext);

Description

0
No votes yet

put.double.arg(), put.long.arg(), put.string.arg()
By patvdv at 26 Feb 2008 - 21:57


put.double.arg(), put.long.arg(), put.string.arg()

Syntax

long put.double.arg( long arg_no, double value )

long put.long.arg( long arg_no, long value )

long put.string.arg( long arg_no, string value )
0
No votes yet


All times are GMT +2. The time now is 10:28.


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