Reputation: 1020
I need to select processing instruction that has a value.
example:
<doc>
<?aaa?>
<?aaa bbb?>
</doc>
above example, I can select both pi using //processing-instruction('aaa')
xpath. any idea how can I select pi that has a value. (this example, only should be selected)
Upvotes: 0
Views: 51