11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

C:\Program<br />

Files\Adobe\FrameMaker8\UniData<br />

XMAPCreate<br />

Syntax<br />

XMAPCreate(u2xmapping_rules, mapping_flag, XMAPhandle)<br />

Note: This function is case-sensitive. If you want it to be case-insensitive, you<br />

must compile your programs using the BASIC command with the -i option.<br />

Description<br />

The XMAPCreate function creates an empty XML document for transferring data<br />

from the UniData database to XML according the mapping rules you define.<br />

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

u2xmapping_rules The name of the U2XMAP file, or the <strong>UniBasic</strong> variable<br />

containing the XML to Database mapping rules.<br />

mapping_flag A flag indicating if the mapping file is the U2XMAP file itself<br />

or a string located within the <strong>UniBasic</strong> program. Valid values<br />

are:<br />

XMAP.FROM.FILE - the mapping rules are contained in a<br />

U2XMAP file.<br />

XMAP.FROM.STRING - u2xmapping_rules is the name of<br />

the variable containing the mapping rules.<br />

XMAPhandle The handle to the XMAP dataset.<br />

XMAPCreate Parameters<br />

XMAPCreate 1-991

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!