saradalal

saradalal

  • NA
  • 51
  • 0

Generate treeview from XML using react.js? URGENT

Sep 29 2021 3:47 AM

Hi, I am new to react.js. I need to display xml as a expand/ collapse treeview . Please find my xml in zip file. Please provide me the react component code that can display?

node level is shown with <entity id="e1.."  First number shows the node level. This is parent node.

<entity id="e2.." shows the second node level.

tree looks like the below...

-Sale

- A_test1

      -A_Item1

           --A_Test_5

+Service

Thanks


Attachment: Itemtree.xml.zip