xpath condition duplicate xml block
i am controlling java api xpath parse xml. i have xml this:
<animals>
<dog>
<looks>dangerous </looks>
<bites> tough </bites>
<growls> approbation </growls>
</dog>
<cat>nothing special</cat>
</animals>
i an xpath condition imitation
<dog>
<looks>dangerous </looks>
<bites> tough </bites>
<growls> approbation </growls>
</dog>
but i am means now. i /animal/dog/text() gives dangerous. nonetheless i speculation used imitation calm alone. there proceed controlling xpath condition fetch retard xml?
edit:
thanks lot your responses. conclude your spent this. there proceed java but duplicate middle text?
here where xpath condition goes:
public stationary final twine xpath_input_data="//text()";
Comments
Post a Comment