• NA
  • 51
  • 0

How to generate a tree from .XML file using react.js?

Sep 22 2021 7:38 AM


I am new to Core and React.js. I am converting webform application to react.js. Current application displays data in treeview using .xml, .xslt and .js. Please help me how to use these current .xml, .xslt code to generate a tree in react.js. Please find the current code in the attachment. I want the tree similar to this:. I am also including the react code component. This displays all the data in one list. Please modify the code so that it will generate a tree in react.




                       - A_TestTemplate




        -Gift Card





                -Business Card


               -New Card




               - instantCard








Answers (4)