o2xdl-core samples  3.01
Functions
minimal_object02.o2xSobj File Reference

Minimal o2x:object - 2: tests references. More...

Functions

 XML_code ()
 o2x:object code. More...
 

Detailed Description

This is a small o2x:object for references test.

data
Data is defined by reference, i.e. using a local file defined by URIref attribute in <o2x:dataValues> tag.
methods
The unique method is defined by reference, i.e. using a remote file defined by URIref attribute in <o2x:method> tag.
Returns
An HTML fragment: the ship address formatted to print.

Function Documentation

◆ XML_code()

XML_code ( )

Implementation: data in local file, method in remote file.

Note
o2x:method/@key MUST match the template key in file "minimal_object02_method.xsl"


-<o2x:object name="minimal_object02" xmlns:o2x="http://www.o2xdl.org/3.0/o2xdl">
<o2x:dataValues URIref="file:////C:/o2xdl-30/CORE/samples/minimal_object02_data.xml"/>
<o2x:method key="OBJ.050511.M01" URIref="http://www.o2xdl.org/3.0/CORE/samples/minimal_object02_method.xsl"/>
</o2x:object>