使用JavaScript从XML检索特定数据

时间:2019-06-23 13:06:34

标签: javascript xml

我有一个XML APi,我想使用JavaScript从中提取信息(办公室,部门,招聘类别...),仅在id =“ 90381”的情况下。

<workzag-jobs>
  <position>
    <id>90381</id>
    <office>Sulzbach</office>
    <department>Product Development</department>
    <recruitingCategory>Festanstellung</recruitingCategory>
    <name>DevOps Engineer [m/w/d] </name>
    <jobDescriptions>...</jobDescriptions>
    <employmentType>permanent</employmentType>
    <seniority>experienced</seniority>
    <schedule>full-time</schedule>
    <yearsOfExperience>2-5</yearsOfExperience>
    <occupation>network_and_server_administration</occupation>
    <occupationCategory>it_software</occupationCategory>
    <createdAt>2018-09-26T09:38:43+02:00</createdAt>
  </position>
  <position>
    <id>88386</id>
    <office>Sulzbach</office>
    <department>Project Management</department>
    <recruitingCategory>Festanstellung</recruitingCategory>
    <name>

0 个答案:

没有答案
相关问题