DEV Community

ray_v101
ray_v101

Posted on

Evaluation of XPathResult is returning an error

I have a xml and i want to read it's <block> node. But when i execute below XPath , it's giving me an error.

The xml that i am trying to parse:

   let x = `<xml&gt
    <block type="block_onGreenFlagClicked" id=";]jZ*Zs|[L-Sr{nhCB%V" x="25" y="0">
         <field name="NAME1">When</field>
         <statement name="function_name">
            <block type="helper_Player__walkSecondsDrop" id="9lo_/{gKTxB6/FRH2Pw">
             <field name="LABEL">Player.</field>

Top comments (0)