Trading Networks 10.7 | Administering Trading Networks | XQL Reference | Extracting Custom Attributes From XML Documents | Extracting STRINGLIST or STRING ATTRIBUTES
 
Extracting STRINGLIST or STRING ATTRIBUTES
This table shows the values Trading Networks stores for a STRINGLIST or STRING attribute based on the value returned by the XQL query /node/item
XML Data
XQL query returns (result returned as String List)
Results stored as STRINGLIST
Results stored as STRING
<node></node>
null
null
null
<node>
<item></item>
</node>
{""}
(String List with
one element, an
empty String)
{null}
(String List
with one
element, a
null String)
null
<node>
<item>value</item>
</node>
{"value"}
(String List with
one element)
{"value"}
(String List
with one
element)
"value"
<node>
<item>value</item>
<item></item>
</node>
{"value", ""}
(String List with
two elements)
{"value", null}
(String List
with two
elements)
"value"
<node>
<item></item>
<item>value</item>
</node>
{"", "value"}
(String List with
two elements)
{null,"value"}
(String List
with two
elements)
null
<node>
<item></item>
<item></item>
</node>
{"", ""}
(String List with
two elements)
{null, null}
(String List
with two
elements)
null
<node>
<item>valuea</item>
<item> </item>
<item></item>
<item>valuez</item>
</node>
{"valuea","","",
"valueb"}
(String List with
four elements)
{"valuea", null,
null, "valueb"}
(String List
with four
elements)
"valuea"