Copyright (1999-2008) EDMGROUP Pty Ltd - EZY Prolog Reference

List of predicates for group XML

[This is preliminary specification and subject to change.]

List of all groups


Type

Predicate

Parameters

Flow pattern

Description

nondeterm

ezy_xml_attribute

XML_REFERENCE PARENT,
STRING NAME,
STRING VALUE

(i,i,o),(i,i,i),(i,o,o)

Get/Set/Verify/Destroy attribute of the XML node.

determ

ezy_xml_attributelist

XML_REFERENCE XML_REFERENCE,
XML_LIST

(i,o)

Return list of attributes for the given XML node

determ

ezy_xml_child_create

XML_REFERENCE PARENT,
STRING NAME,
STRING VALUE,
XML_REFERENCE CHILD

(i,i,i,o)

Creates child XML Object for given XML Object.

nondeterm

ezy_xml_child_get

XML_REFERENCE PARENT,
XML_REFERENCE CHILD

(i,i)

non-deterministically return reference to child of XML Object. Fails after all child nodes processed

determ

ezy_xml_child_list

XML_REFERENCE XML_REFERENCE,
XML_LIST

(i,o)

Returns list of child XML Objects for given XML Object.

determ

ezy_xml_create

XML_REFERENCE

(o)

Creates XML node and returns reference to it

determ

ezy_xml_data

XML_REFERENCE XML_REFERENCE,
STRING NAME,
STRING VALUE

(i,o,o),(i,i,i)

Get/Set value of the XML Object(node name and node value)

determ

ezy_xml_destroy

XML_REFERENCE

(i)

Destroys XML Object and it's related elements(child nodes and attributes)

determ

ezy_xml_node_delete

XML_REFERENCE ,
STRING NODENAME

(i,i)

Delete all NODES from the XML object. Node specified by name.

determ

ezy_xml_read

STRING FILENAME,
XML_REFERENCE XML_REF

(i,o)

Create XML Object from text file using EXPAT XML parser

determ

ezy_xml_to_str

XML_REFERENCE XML_REF,
STRING XML_STR

(i,o)

Get text representation of the XML node

determ

ezy_xml_tree

XML_REFERENCE XML_REF,
BROWSELIST_ITEM XML_TREE

(i,o)

Get tree representation of the XML object Each tree node has reference to the corresponding XML node

determ

ezy_xml_write

XML_REFERENCE XML_REF,
STRING FILENAME

(i,i)

Save XML Object into text file.


Copyright 1997-2013 EDMGROUP (Australia)