假設的另一個值的值我有以下XML:XSL - 如何檢索XML節點的基礎上的XML節點
<ns5:OrderTotal>
<ns5:Name>AmountPaid</ns5:Name>
<ns5:Description>Payment Received</ns5:Description>
<ns5:SortOrder>4</ns5:SortOrder>
<ns5:Value>16.95</ns5:Value>
</ns5:OrderTotal>
<ns5:OrderTotal>
<ns5:Name>AmountDue</ns5:Name>
<ns5:Description>Current Amount Due</ns5:Description>
<ns5:SortOrder>5</ns5:SortOrder>
<ns5:Value>0.0</ns5:Value>
</ns5:OrderTotal>
如果我只想要打印的OrderTotal的價值時,它的名字是AmountPaid,怎麼可能做到這一點?
謝謝你的幫助。
謝謝,這就是我要找的。 – 2012-08-08 23:58:53
@yupinghe,不客氣。如果您認爲這是您問題的正確答案,請將其標記爲如此。 – khachik 2012-08-09 07:04:42