Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
重複の可能性: xpath を使用してノードの N 番目の子を取得する
次のセットから N 番目のノードにアクセスするにはどうすればよいですか。 XPath = /ProcessData/*[starts-with(name(), 'INV')]
以下の表現が役立ちます
(/ProcessData/*[starts-with(name(), 'INV')])[5]
ここで、5 を目的の値に置き換えて、選択された (フィルター処理された) ノードから n 番目のノードを取得できます。