我想从 xml api 中选择数据:数据外观
<workzag-jobs>
<position>
<id>116303</id>
<recruitingCategory>Festangestellte</recruitingCategory>
<name>Initiativbewerbung (Festanstellung)</name>
<jobDescriptions>
<jobDescription>
<name>WAS DU MACHEN WIRST</name>
<value>
<![CDATA[
<p style="color:rgb(0,0,0);font-family:Verdana, Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:normal;background-color:rgb(255,255,255);">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.</p><ul style="color:rgb(0,0,0);font-family:Verdana, Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:normal;background-color:rgb(255,255,255);"><li>Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</li><li>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</li><li>At vero eos et accusam et justo duo dolores et ea rebum.</li><li>Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</li></ul>
]]>
</value>
</jobDescription>
<jobDescription>
<name>WAS DU MITBRINGST</name>
<value>
现在我想用 Javascript 选择“Jobdescription.name”和“Jobdescription.value”,然后第二次选择第二个“jobdescription.name”和“value”,依此类推。
相关分类