Clarity

 View Only

XML Nodes Count - New Command in Clarity 16.3.2+

  • 1.  XML Nodes Count - New Command in Clarity 16.3.2+

    Broadcom Employee
    Posted 11 hours ago
    Edited by Nika Hadzhikidi 11 hours ago

    Hello Clarity folks

    This is to inform the community that we have added a new functionality in Clarity to be able to count the amount of XML nodes in a XOG import file.

    Count the number of XML Nodes in a XOG import file with a command: 

    1. Connect to Clarity server
    2. Prepare a few large XML files on that server in a known location
    3. Navigate to $clarity\xog-unzipped\bin
    4. Run the command:

    xog -analyze <your file path>

    1. The output will show the exact amount of nodes in your file:

    C:\clarity\xog-unzipped\bin>xog -analyze C:\TestFiles\Test_status.xml

    =======File Analysis=========

    File : C:\TestFiles\Test_status.xml

    Node Count : 1491934

    This will be handy for large XOG imports, migrations, integrations and such. We are adding the steps in the technical documentation as well and here is the KB: Count of Nodes in XML file for Clarity



    ------------------------------
    Nika Hadzhikidi
    Sr Principal Support Engineer
    Broadcom
    ------------------------------