【发布时间】:2012-02-19 23:39:52
【问题描述】:
我有以下 xml:
<assets>
<asset type="full">
<file_name>WME__HD_2CH_EN_16X9_178_2398_FINAL.mov</file_name>
</asset>
...
</assets>
我有多个asset 块,所以我需要引用属性type = "full"。这是我目前必须全部引用的内容--
node.xpath("//t:assets/t:asset/t:file_name/text()",
namespaces={'t':'http://apple.com/itunes/importer'})
我如何仅使用type = "full" 引用资产?
【问题讨论】: