Created on 19 April 2021
icon_unfollowing
Login to follow
xml-helper

XML Helper

Stable version 0.1.1 (Compatible with OutSystems 11)
Uploaded on 28 October 2021 by 
xml-helper

XML Helper

Documentation
0.1.1

documentation

xml-helper documentation

Objective

The objective of this component is to give the programmer the possibility of listing all the elements, it's attributes, it's parent elements and it's values of a XML text or a XML File.

Functionalities

  • Load the XML Text

    Loads the XML text into the component.

    Parameters:

    Parameter NameParameter TypeData TypeIs Mandatory?
    XmlTextInput ParameterText[x]
    HasErrorOutput ParameterBoolean 
    ErrorOutput ParameterError 
  • Load the XML File

    Loads the XML File into the component.

    Parameters:

    Parameter NameParameter TypeData TypeIs Mandatory?
    XmlFileInput ParameterBinary Data[x]
    HasErrorOutput ParameterBoolean 
    ErrorOutput ParameterError 
  • List all elements in the XML

    List all the element in the XML that was loaded to the component.

    The element object properties will be explained below.

    Parameters:

    Parameter NameParameter TypeData TypeIs Mandatory?
    HasErrorOutput ParameterBoolean 
    ErrorOutput ParameterError 
    ElementsListOutput ParameterList of Element 
  • Search for a Element

    Search for a element by it's Name, it's Namespace or it's Parent Element Name.

    Note that the search is case sensitive

    Parameters:

    Parameter NameParameter TypeData TypeIs Mandatory?
    ParentNameInput ParameterText 
    NameInput ParameterText 
    NamespaceInput ParameterText 
    HasErrorOutput ParameterBoolean 
    ErrorOutput ParameterError 
    ElementsListOutput ParameterList of Element 
  • Search for a Value

    Search for a specific value in the values of the element.

    Note that the search is case sensitive

    Parameters:

    Parameter NameParameter TypeData TypeIs Mandatory?
    TextValueInput ParameterText[x]
    HasErrorOutput ParameterBoolean 
    ErrorOutput ParameterError 
    ElementsListOutput ParameterList of Element 

Objects Returned

Element

Object Definition

PropertyData TypeMandatory
NameText[x]
NamespaceText 
ParentNodeElementText 
HasChildNodesBoolean[x]
AttributesList of Attributes 
ValueText 

Attributes

Object Definition

PropertyData TypeMandatory
ParentElementText 
NameText[x]
ValueText 

Error

Object Definition

PropertyData TypeMandatory
CodeText[x]
MessageText[x]

Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
XML Helper has no dependencies.