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
33%
Installation Wizard into new VRC
39%
Manual into existing VRC
6%
Manual into new VRC
22%
Total votes: 49

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.

 

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


XML object constraints

The XML object is not meant to implement a full XML parser/generator for building advanced XML document processing applications. The purpose of the XML object is to allow 3GL/4GL applications to exchange structured data using the XML format. Therefore not the complete XML standard is supported by the parser/generator, but only the sub-set needed to meet its requirement. Below a list of restrictions with respect to [XMLSTD] is given.

0
No votes yet

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

Example XML generation

Below a piece of Baan-C code is shown for generating an XML document. For ease of reading, no checking on the return codes of the functions is done.

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

Variables (inter-process transfer) overview and synopsis
By patvdv at 26 Feb 2008 - 21:57


Variables (inter-process transfer) overview and synopsis

Overview

Use these functions to access the variables of other processes. The variables can be of any type. They must be declared as external (with the keyword EXTERN).

1
Average: 1 (1 vote)


All times are GMT +2. The time now is 07:23.


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