Login
Register
Home
Q&A
Questions
Tags
Send feedback
Sidebar
How do I use HPath to find a segment with a blank field/component?
+1
vote
477
views
asked
Jul 3, 2013
by
rich-c-2789
(
16,180
points)
How do I use HPath to find a segment with a blank field/component?
For example I want to find a PID segment where PID-4 is blank:
PID|1|54664|125-54664||Mouse^Mickey^L||19410101||||||
hpath
nodepath
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
+1
vote
Best answer
Be sure to use a quoted empty string after the equals sign.
Example: PID[@4='']
answered
Jul 3, 2013
by
rich-c-2789
(
16,180
points)
edited
Jul 8, 2013
by
rich-c-2789
commented
Jul 28, 2015
by
rich-c-2789
(
16,180
points)
Also see this question:
https://www.qvera.com/kb/index.php/940/how-to-test-if-a-node-or-field-in-a-message-is-blank?show=941#a941
Please
log in
or
register
to add a comment.
...