T4S4  18.2 C7549 A21431
Teamcenter Gateway for SAP S/4HANA API Reference
xdom Namespace Reference

Create an DOM tree from XML. More...

Detailed Description

Create an DOM tree from XML.

All functions within this namespace belong to the tcl library tDOM used in this software. It equals all commands in the "dom" namespace of tDOM and has been renamed due to naming conflicts. Please consult the documentation of tDOM available at https://tdom.github.io/ for more information.

Parameters
methodmethod to be called on the DOM, e.g. parse, setStoreLineColumn, setResultEncoding, ...
argsFurther arguments allowed, depending on the method called, e.g. xdom parse ?options? ?data?
Returns
Depends on the method used. Please consult dom API documentation at https://tdom.github.io/dom.html
1 xdom setResultEncoding utf-8
2 xdom parse $xml domtree
3 set domroot [$domtree documentElement]