Give us feedback
html-parsar
Reactive icon

Html Parsar

Stable version 1.0.2 (Compatible with OutSystems 11)
Published on 30 Apr by 
0.0
 (0 ratings)
html-parsar

Html Parsar

Documentation
1.0.0

Html Parsar is used to parse any html. Using Xpath we can parse any html tag text.

For example if we need anchor tag("//html//body//p//a") text from below html. 

<html>

  <head>

    <title>Href Attribute Example</title>

  </head>

  <body>

    <h1>Href Attribute Example</h1>

    <p>

      <a href='https://www.freecodecamp.org/contribute/'>The freeCodeCamp Contribution Page</a> shows you how and where you can contribute to freeCodeCamp's community and growth.

    </p>

  </body>


</html>


Below are the steps -

1. First install this component from forge. https://www.outsystems.com/forge/component-overview/12910/html-parsar

2. Add reference using manage dependency.


3. Use "GetInnerText" server action to pass input parameter inputHtml and xPath("//html//body//p//a"). It will give you the result as innerText.


Thanks