-1
鑑於這種DTD XPATH最後一個元素:具有特定元素
<!ELEMENT root (t*)>
<!ELEMENT t (pay|gift)?>
<!ELEMENT pay EMPTY>
<!ATTLIST pay amount CDATA #IMPLIED >
<!ELEMENT gift (#PCDATA)>
<!ATTLIST gift amount CDATA #REQUIRED >
我怎麼能由XPath查詢到達最後禮物的金額?