UniBasic Commands Reference - Rocket Software
UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software
C:\Program Files\Adobe\FrameMaker8\UniData 7.2\7.2rebranded\BASICREF\BASRX.fm 3/5/10 XDOMCreateNode Syntax XDOMCreateNode(xmlHandle, nodeName, nodeValue, nodeType, nodeHandle) Note: This function is case-sensitive. If you want it to be case-insensitive, you must compile your programs using the BASIC command with the -i option. Description XDOMCreateNode creates a new node in the DOM structure. Parameters The following table describes each parameter of the syntax. Parameters Description 1-936 UniBasic Commands Reference xmlHandle A handle to the DOM structure. This handle acts as the context when resolving the namespace_uri from the prefix or resolving the prefix from the namespace_uri. [IN] nodeName The name of the node to be created. [IN] The name can be in any of the following formats: Local_name prefix: local_name:namespace_uri prefix:local_name :local_name:namespace_uri The nodeName parameter uses the in-encoding parameter set in the system-level or account-level xmlconfig file, the XMLSE- TOPTIONS command, or the XMLSetOptions() API. XDOMCreateNode Parameters
C:\Program Files\Adobe\FrameMaker8\UniData Parameters Description nodeValue The string to hold the node value. [IN] The nodeValue parameter uses the in-encoding parameter set in the system-level or account-level xmlconfig file, the XMLSE- TOPTIONS command, or the XMLSetOptions() API. nodeType The type of the node to be created. Valid values are: XDOM.ELEMENT.NODE XDOM.ATTR.NODE XDOM.TEXT.NODE XDOM.CDATA.NODE XDOM.ENTITY.REF.NODE XDOM.ENTITY.NODE XDOM.PROC.INST.NODE XDOM.COMMENT.NODE XDOM.DOC.NODE XDOM.DOC.TYPE.NODE XDOM.DOC.FRAG.NODE XDEOM.NOTATION.NODE XDOM.XML.DECL.NODE UniData uses this argument, along with direction and childIndex, to get the right type node. For example, if direction is XDOM.PREV.SIBLING, and nodeType is XDOM.ELEMENT.NODE, UniData finds the element node that is the first previous sibling of nodeHandle. If direction is XDOM.CHILD, childIndex is XDOM.FIRST.CHILD, and nodeType is XDOM.ELEMENT.NODE, UniData finds the element node that is the first element child of nodeHandle. If the direction is XDOM.CHILD, childIndex is 2, and nodeType is XDOM.ELEMENT.NODE, UniData finds the element node that is the second element child of nodeHandle. When the direction is XDOM.NEXT.SIBLING.WITH.SAME.NAME, XDOM.PREV.SIBLING.WITH.SAME.NAME, or XDOM.PARENT, this argument is not used. [IN] nodeHandle A handle to the node to be created in the DOM structure. [IN] XDOMCreateNode Parameters (continued) XDOMCreateNode 1-937
- Page 952 and 953: Related Commands UniBasic TRIMB, TR
- Page 954 and 955: TRIMF Syntax TRIMF(str.expr) Descri
- Page 956 and 957: Example In the following example, t
- Page 958 and 959: Parameters The following table desc
- Page 960 and 961: UNLOCK Syntax UNLOCK [num.expr] Des
- Page 962 and 963: UPCASE Syntax UPCASE(string.expr) D
- Page 964 and 965: Related Commands UniBasic PAUSE Uni
- Page 966 and 967: STATUS Function Return Values After
- Page 968 and 969: Related Commands UniBasic CLOSESEQ,
- Page 970 and 971: 1-903 UniBasic Commands Reference
- Page 972 and 973: Related Commands UniBasic CLOSE, DE
- Page 974 and 975: UniData SQL SELECT - For informatio
- Page 976 and 977: Parameter Description Example In th
- Page 978 and 979: Parameter Description Example In th
- Page 980 and 981: The following table describes the r
- Page 982 and 983: Parameters The following table desc
- Page 984 and 985: WRITEU Syntax WRITEU expr {ON | TO}
- Page 986 and 987: Return Value Description Example In
- Page 988 and 989: Parameters The following table desc
- Page 990 and 991: The following example is taken from
- Page 992 and 993: Parameters The following table desc
- Page 994 and 995: C:\Program Files\Adobe\FrameMaker8\
- Page 996 and 997: C:\Program Files\Adobe\FrameMaker8\
- Page 998 and 999: C:\Program Files\Adobe\FrameMaker8\
- Page 1000 and 1001: C:\Program Files\Adobe\FrameMaker8\
- Page 1004 and 1005: C:\Program Files\Adobe\FrameMaker8\
- Page 1006 and 1007: C:\Program Files\Adobe\FrameMaker8\
- Page 1008 and 1009: C:\Program Files\Adobe\FrameMaker8\
- Page 1010 and 1011: C:\Program Files\Adobe\FrameMaker8\
- Page 1012 and 1013: C:\Program Files\Adobe\FrameMaker8\
- Page 1014 and 1015: C:\Program Files\Adobe\FrameMaker8\
- Page 1016 and 1017: C:\Program Files\Adobe\FrameMaker8\
- Page 1018 and 1019: C:\Program Files\Adobe\FrameMaker8\
- Page 1020 and 1021: C:\Program Files\Adobe\FrameMaker8\
- Page 1022 and 1023: C:\Program Files\Adobe\FrameMaker8\
- Page 1024 and 1025: C:\Program Files\Adobe\FrameMaker8\
- Page 1026 and 1027: C:\Program Files\Adobe\FrameMaker8\
- Page 1028 and 1029: C:\Program Files\Adobe\FrameMaker8\
- Page 1030 and 1031: C:\Program Files\Adobe\FrameMaker8\
- Page 1032 and 1033: C:\Program Files\Adobe\FrameMaker8\
- Page 1034 and 1035: C:\Program Files\Adobe\FrameMaker8\
- Page 1036 and 1037: C:\Program Files\Adobe\FrameMaker8\
- Page 1038 and 1039: C:\Program Files\Adobe\FrameMaker8\
- Page 1040 and 1041: C:\Program Files\Adobe\FrameMaker8\
- Page 1042 and 1043: C:\Program Files\Adobe\FrameMaker8\
- Page 1044 and 1045: C:\Program Files\Adobe\FrameMaker8\
- Page 1046 and 1047: C:\Program Files\Adobe\FrameMaker8\
- Page 1048 and 1049: C:\Program Files\Adobe\FrameMaker8\
- Page 1050 and 1051: C:\Program Files\Adobe\FrameMaker8\
C:\Program Files\Adobe\FrameMaker8\UniData 7.2\7.2rebranded\BASICREF\BASRX.fm<br />
3/5/10<br />
XDOMCreateNode<br />
Syntax<br />
XDOMCreateNode(xmlHandle, nodeName, nodeValue, nodeType, nodeHandle)<br />
Note: This function is case-sensitive. If you want it to be case-insensitive, you must<br />
compile your programs using the BASIC command with the -i option.<br />
Description<br />
XDOMCreateNode creates a new node in the DOM structure.<br />
Parameters<br />
The following table describes each parameter of the syntax.<br />
Parameters Description<br />
1-936 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />
xmlHandle A handle to the DOM structure. This handle acts as the context<br />
when resolving the namespace_uri from the prefix or resolving<br />
the prefix from the namespace_uri.<br />
[IN]<br />
nodeName The name of the node to be created. [IN]<br />
The name can be in any of the following formats:<br />
Local_name<br />
prefix: local_name:namespace_uri<br />
prefix:local_name<br />
:local_name:namespace_uri<br />
The nodeName parameter uses the in-encoding parameter set in<br />
the system-level or account-level xmlconfig file, the XMLSE-<br />
TOPTIONS command, or the XMLSetOptions() API.<br />
XDOMCreateNode Parameters