logo of XML Sapiens
XML Sapiens Yahoo Group
Join Now
6.4.1 Data Pointer (Element SAPI:VALUE-OF)
Beginning » XML Sapiens v.1.1 Specification » 6. Body of the SAPI Document » 6.4 Pointers » 6.4.1 Data Pointer (Element SAPI:VALUE-OF)

<!ELEMENT sapi:apply - O EMPTY>
<!ATTLIST sapi:apply -- reference to the pointer --
name  %Text   #REQUIRED  -- pointer to object properties  --
exp  %Text   #IMPLIED  -- pointer to object properties  --
src  %Text   #IMPLIED  -- pointer to data source for this object  --

>

Start tag: mandatory, End tag: mandatory

Attributes definition

name = %Text [CN]

Mandatory. The value of this attribute contains the name of the pointer to object properties (see Objects of SAPI Documents).

exp = %Text [CN]

The value of this attribute contains the expression.

src = %Text [CN]

Value of this attribute defines data source for object. Value can be:

<sapi:apply name="qc.variable1.value" src="obj:ddc.name.value" />
<sapi:apply name="sdc.variable2.value" src="ref:/about/company/" />

The element referencing a data container through a pointer returns the value of this container.

<sapi:apply name="variable1.value" />

6.4.1.1 Attribute name

Attributes definition

name = %Text [CN]

Mandatory. The value of this attribute contains a pointer to object properties.

exp = %Text [CN]

Mandatory. The value of this attribute contains expression.

(C) 2004-2006 Red Graphic Systems. All Rights Reserved. Red Graphic Systems liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.