XMLXREF

Description

Returns the value referenced by Node and LookupValue from a specially defined cross reference document (see example below).

Syntax

XMLXREF ( filename, node, lookup_value )

Parameter Description
filename Any filename.
node Node element for lookup.
lookup_value Lookup attribute of node.

Examples

<Countries>

<Country Lookup="AD" Return="Andorra"></Country>   

<Country Lookup="AE" Return="U.A.E."></Country>   

<Country Lookup="AF" Return="Afghanistan"></Country>   

<Country Lookup="AG" Return="Antigua and Barbados"></Country>   

.    

.    

.    

<Country Lookup="ZA" Return="South Africa"></Country>   

<Country Lookup="ZM" Return="Zambia"></Country>   

<Country Lookup="ZR" Return="Zaire"></Country>   

<Country Lookup="ZW" Return="Zimbabwe"></Country>   

</Countries>

 

XMLXREF( filename, "Country", "ZW" ) = Zimbabwe