分析 XML 檔案

    內容表格
    沒有標頭

    parseXML.sh:

    reference to undefined name 'syntax' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. (click for details)

    test.xml:

    <?xml version="1.0"?>
    <status>
      <xyz arg1="1"> a </xyz>
      <abc arg2="2"> p </abc>
      <pqr arg3="3" arg4="a phrase"> x </pqr>
    </status>
    

    執行

    # bash parseXML.sh test.xml
    a |  p |  x
    1 |  2 |  3 | a phrase 
    
    標籤 (Edit tags)
    • No tags
    您必須 登入 才能發佈評論。
    Powered by MindTouch Core