Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
18%
200 - 500 GB
28%
500 - 800 GB
3%
800 - 1200 GB
8%
1200 - 1500 GB
8%
1500 - 2000 GB
12%
> 2000 GB
24%
Total votes: 78

Baanboard at LinkedIn


Reference Content

 
Items for 'BaanERP' (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.

 

Unlink and Insert Nodes in Children
By patvdv at 26 Feb 2008 - 21:57

Unlink and Insert Nodes in Children

Synopsis

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

XML library function

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

Description

Unlink a tree or a list of trees and insert this list as the first child of the node referred to by parentNode.

0
No votes yet

Get number of sibling Nodes
By patvdv at 26 Feb 2008 - 21:57

Get number of sibling Nodes

Synopsis

long xmlGetNumSiblings(long node)
long xmlGetNumRightSiblings(long node)
long xmlGetNumLeftSiblings(long node)

XML library function

int xmlGetNumSib(XmlNodePointer _pNode);
int xmlGetNumRSib(XmlNodePointer _pNode);
int xmlGetNumLSib(XmlNodePointer _pNode);

Description

Get the total number of sibling nodes, the number of right or left sibling nodes.

0
No votes yet

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

Unlink Nodes

Synopsis

long xmlUnlink(long fromNode, [ long toNode ])

XML library function

XmlNodePointer xmlMoveList(XmlNodePointer _pFrom, XmlNodePointer _pTo);

Description

Unlink a tree or a list of trees.

0
No votes yet

Verify the used characters
By patvdv at 26 Feb 2008 - 21:57

Verify the used characters

Synopsis

long xmlContainsValidCharactersOnly(string inputstring)

XML library function

int xmlContainsValidTssCharactersOnly(const char * aTss);

Description

This function verifies whether the supplied string contains valid characters only.
According to [XMLSTD], the following Unicode characters are allowed in an XML document:

0
No votes yet

Example XML parsing
By patvdv at 26 Feb 2008 - 21:57

Example XML parsing

Below a piece of Baan-C code is shown for parsing and exploring the XML document which was shown in the previous section.

0
No votes yet

Create a new Node
By patvdv at 26 Feb 2008 - 21:57

Create a new Node

Synopsis

long xmlNewNode(string name, [long type, long parentNode ])

XML library function

XmlNodePointer xmlNewNode(char *name, XmlNodePointer _pParent, XmlContextPointer pContext, int nodeType);

Description

Create a new XML node.

0
No votes yet

import()
By patvdv at 26 Feb 2008 - 21:57

import()

Syntax

long import( "variable", ref
variable )

Description

Import retrieves the value of the specified variable of the parent process. This parent process is not always identified by the variable parent in case of dynamic index switching. When using dynamic index switching, the parent process is sometimes killed and restarted. This causes a different parent process, whereas the variable parent is not updated.

0
No votes yet

Create an Element Node with Data Node
By patvdv at 26 Feb 2008 - 21:57

Create an Element Node with Data Node

Synopsis

long xmlNewDataElement(string name, string data, [ long parentNode ])

XML library function

XmlNodePointer xmlNewDataElement(char *name, char *value, XmlNodePointer _pParent, XmlContextPointer pContext);

Description

Create a new XML_ELEMENT node and new XML_DATA node. The XML_DATA node is the first child of the XML_ELEMENT node.

0
No votes yet

import.4gl.var()
By patvdv at 26 Feb 2008 - 21:57


import.4gl.var()

Syntax

void import.4gl.var( "variable", ref variable )

Description

Imports a 'predefined' 4GL variable. Like number.of.marks which is actually a macro.

Note

Currently only the following predefined variables can be imported:

  • number.of.marks
  • curr.key

In case an unknown variable is passed to this function, an ASSERT message pops up.

0
No votes yet

Create context
By patvdv at 26 Feb 2008 - 21:57

Create context

Synopsis

No 3GL/4GL function

XML library function

XmlContextPointer xmlCreateContext(long mid);

Description

Create an XML context which is bound to a 3GL/4GL process.

Arguments

mid memory

mid memory allocation id returned by mal_reserve_id().

0
No votes yet


All times are GMT +2. The time now is 03:11.


©2001-2018 - Baanboard.com - Baanforums.com