XPath check for non-existing node -
im having bit of trouble finding right xpath syntax check if particular node in xml exists. i'm allowed use xpath (so no xsl or else that, has pure xpath expression syntax).
i have xml , has node filename
doesn't exist in every case. when filename isn't specified, livecycle proces use different route fill in filename. how check if filename
node exists?
you can use count
function - passing in path of nodes checking.
if not exist, value of count
0:
count(//filename) = 0
Comments
Post a Comment