UiPath Documentation
activities
latest
false

Developer activities

Last updated May 21, 2026

Get XML Nodes

UiPath.WebAPI.Activities.GetNodes

Description

Gets the list of first-level nodes from a specified XML document.

Project compatibility

Windows - Legacy | Windows | Cross-platform

Cross-platform configuration

  • XMLString - A string or string variable containing the XML. This field supports only strings and string variables.

Advanced options

Output
  • XMLNodes - An IEnumerable<XNode> variable containing the retrieved XML nodes. For more information on XNode objects, go here.

Windows - Legacy, Windows configuration

Properties panel

Input
  • ExistingXML - An XDocument variable containing the XML. Completing this field makes the XMLString field unusable. This field supports only XDocument variables. For more information on XDocument objects, go here .
  • XMLString - A string or string variable containing the XML. Completing this field makes the ExistingXML field unusable. This field supports only strings and string variables.
Output
  • XMLNodes - An IEnumerable<XNode> variable containing the retrieved XML nodes. For more information on XNode objects, go here.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Common
  • DisplayName - The display name of the activity.
  • Description
  • Project compatibility
  • Cross-platform configuration
  • Advanced options
  • Windows - Legacy, Windows configuration
  • Properties panel

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated