Copyright (1997-2013) EDMGROUP Pty Ltd - EZY Prolog Reference

 XML_OBJECT Model

 

EZY Prolog uses XML_OBJECT model when dealing with XML data.

XML documents are presented as a linked list of XML_OBJECTS.

Each XML_OBJECT is represented internally as:

 

XML_OBJECT = xnode(STRING NAME, STRING DATA,ATTIBUTE_LIST, XML_LIST)

XML_LIST = XML_OBJECT* % list of XML_OBJECTS

XML_ATTRIBUTE = xattr(STRING NAME, STRING VALUE)

ATTIBUTE_LIST = XML_ATTRIBUTE* % list of XML attributes

 

EZY Prolog XML (EZY XML) subsystem has language calls to work with XML_OBJECT.

 

XML node data can be:

 

EZY XML is simplified version of XML. It is up to programmer to comply with W3C XML standards while creating XML documents.

 

EZY Prolog XML uses EXPAT parser to create XML_OBJECT from XML stream.

 

More information about XML OBJECT in:

Copyright 1997-2013 EDMGROUP (Australia)