Updated: May 13, 2016
Applies To: System Center 2012 SP1 - Orchestrator, System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator
The Query XML activity is used to perform an XPath query on an XML file. You can use this activity to search for a string in an XML file.
Before you configure the Query XML activity, you need to determine the following:
The XML file name or Block of XML that you want to search.
The query you will use to perform the search.
Use the following information to configure the Query XML activity.
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.
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.
Type the XPath query for your search.
The following table lists the published data items.
Escaped Query Result
The result of the query.
Escaped 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.
The number of results published from the query.