I have a document reference extracted from xml schema.
The xml structure is:
I’m interested to get only the value of tag , so I’ve created a documet called ‘c’ that contains a string field ‘c’, but when I explore the node, in the results panel I m able to see the correct value associated to a field called *body, but when I try to get this value using %body% or something like that NULL is returned.
I also try to use variable substitution as RMG suggest but no value was extracted.
Basically my xml is like following:
code
descr
and I would like to extract the string 'descr' that is shown into results panel as *body text for the document named 'c'.
I don't understood well what Mark suggest :( and up to now I still have my problem.
Have you some other suggestion to reach solution?
Thanks & best regards,
VS
In my schema I can see only the tag and not *body. My xml is a PIP format. It is strange that if I use a branch switching on /a/c/*body the check is fine but if I try to use variable substitution for a debug message isn’t working.
I really become hungry for this…
But how can you see *body in the pipeline? If the branch operation works fine definetely it should be there in the schema/dtd structure and you should extract the value from pipeline.
As i said PIP xml’s have the *body notation and mapping from this value should work as is.
Can you debug more a bit and see whats going on whether (casesensitive,improper xpath etc…)