P
pjvleeuwen
Hi all,
For many of you this may be childishly simple, but the following
problem keeps me wondering for almost two hours, so I hope any of you
could point out what it is that I am doing wrong.
Consider the following simple XML: <?xml version="1.0"?
Now I want to read the value "attrValueB2" so I tried writing a
regular expression for it. I know that the following selects the
attribute (nicely highlighted by the Liquid XML Studio): /rootE/tagB/
@attrB2
But I cant seem to select the value of this attribute. I get an empty
string when quering /rootE/tagB/@attrB2/text()
ANY suggestions? I cant see what I'm doing wrong. Everything seems to
be fine in comparison with the tutorials I have seen and I tried all
the lexical variations / alterations I could think of.
Many thanks in advance for any suggestions!
Cheers,
Paul
For many of you this may be childishly simple, but the following
problem keeps me wondering for almost two hours, so I hope any of you
could point out what it is that I am doing wrong.
Consider the following simple XML: <?xml version="1.0"?
<rootE><tagA>valueA</tagA><tagB attrB1="attrValueB1"
attrB2="attrValueB2"/> said:<tagCCB>60</tagCCB><tagCCC/></tagCC><tagCD/><tagCE/></tagC></rootE>
Now I want to read the value "attrValueB2" so I tried writing a
regular expression for it. I know that the following selects the
attribute (nicely highlighted by the Liquid XML Studio): /rootE/tagB/
@attrB2
But I cant seem to select the value of this attribute. I get an empty
string when quering /rootE/tagB/@attrB2/text()
ANY suggestions? I cant see what I'm doing wrong. Everything seems to
be fine in comparison with the tutorials I have seen and I tried all
the lexical variations / alterations I could think of.
Many thanks in advance for any suggestions!
Cheers,
Paul