Query XML
The Query XML object is used to
perform an XPath query on an XML file.
Note: This object requires Microsoft
.NET Framework 2.0.
How it is used
Use the Query XML object to search
for a string in an XML file.
Configuration
To configure the Query XML object,
you need to know the name of the XML file or Block of XML that you
want to search in, and the query that you will use to perform the
search.
Details tab
XML File
|
Select either this
option or the XML Text
option. Type the path or URL of the XML file that you want to
search in, or click the ellipsis button (...) and browse for it.
|
XML Text
|
Select either this
option or the XML File
option. Type the name of the element in the XML text that you want
to search in.
|
XPath Query
|
Type the XPath query for
your search.
|
Available Published Data
Name
|
Description
|
Query Result
|
The result of the
query.
|
XML Attributes
|
The attributes found in
the element tag of the query result.
|
The input XML file
|
The name of the XML file
that you are searching in. This item is blank if you used the
Block of XML option.
|
The input XML text
|
The XML text that you
searched in. This item is blank if you used the XML File option.
|
The XPath query.
|
The XPath query that was
used in the search.
|
Node count
|
The number of results returned
from the query.
|