당연(?)하지만 and로 여러개 나열해주면 되는 듯?
//category[@name='Sport' and ./author/text()='James Small'] |
[링크 : https://stackoverflow.com/questions/10247978/xpath-with-multiple-conditions]
'Programming > xml' 카테고리의 다른 글
XML DOM과 SAX (0) | 2019.12.01 |
---|---|
xpath exist boolean() (0) | 2019.09.29 |
xsd minOccurs, maxOccurs (0) | 2019.09.11 |
xpath count() (0) | 2019.09.09 |
xpath xsi (0) | 2019.08.12 |