如何在XML文件中选择stRef:filePat中的所有元素?我设法找到的例子只选择了1个特定元素。 例如:
/Volumes/WIP/AAA/BBB/CCC/DDD/123.tif
/Volumes/WIP/AAA/BBB/CCC/DDD/456.tif
/Volumes/WIP/AAA/BBB/CCC/DDD/789.tif
/Volumes//WIP/AAA/BBB/CCC/DDD/321.tif
代码
<xmpMM:Manifest>
<rdf:Seq>
<rdf:li rdf:parseType="Resource">
<stMfs:linkForm>EmbedByReference</stMfs:linkForm>
<stMfs:reference rdf:parseType="Resource">
<stRef:filePath>/Volumes/WIP/AAA/BBB/CCC/DDD/123.tif</stRef:filePath>
</stMfs:reference>
</rdf:li>
<rdf:li rdf:parseType="Resource">
<stMfs:linkForm>EmbedByReference</stMfs:linkForm>
<stMfs:reference rdf:parseType="Resource">
<stRef:filePath>/Volumes/WIP/AAA/BBB/CCC/DDD/456.tif</stRef:filePath>
</stMfs:reference>
</rdf:li>
<rdf:li rdf:parseType="Resource">
<stMfs:linkForm>EmbedByReference</stMfs:linkForm>
<stMfs:reference rdf:parseType="Resource">
<stRef:filePath>/Volumes/WIP/AAA/BBB/CCC/DDD/789.tif</stRef:filePath>
</stMfs:reference>
</rdf:li>
<rdf:li rdf:parseType="Resource">
<stMfs:linkForm>EmbedByReference</stMfs:linkForm>
<stMfs:reference rdf:parseType="Resource">
<stRef:filePath>/Volumes//WIP/AAA/BBB/CCC/DDD/321.tif</stRef:filePath>
</stMfs:reference>
</rdf:li>
</rdf:Seq>
</xmpMM:Manifest>
答案 0 :(得分:0)
使用xpath请求是://stRef:filePath