2 votes
How do I only get nodes with direct children?
/*/Check[Level="Warning"] The XPath you were using ./Check[Level="Warning"] returned nothing if the context is the root node. You were off by a step.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
xml × 214741java × 36442
android × 31297
c# × 29300
xslt × 23704
php × 17990
xpath × 12773
python × 12463
xsd × 9787
javascript × 8414
xml-parsing × 7865
html × 7116
parsing × 5853
.net × 5342
sql-server × 5188
android-layout × 5183
json × 4852
jaxb × 4668
sql × 4567
soap × 3983
jquery × 3941
linq × 3645
xslt-1.0 × 3247
dom × 3112
linq-to-xml × 3101