discrepancy in xpath for ref and nodeset
Posted by vernekap on
URL: https://discuss.orbeon.com/discrepancy-in-xpath-for-ref-and-nodeset-tp43741.html
Is there a discrepancy on how we specify xpath for attribute ref and attribute nodeset?
I had to specify ref as, ref="instance('product-state')/properties/property[name='x.y.z']"
where as for nodeset this did not and after going through examples I got that working through:
<xforms:itemset nodeset="instance('options-instance')//property[<b>@name = 'x.y.z']/item">
<xforms:label ref="@label"/>
<xforms:value ref="@value"/>
</xforms:itemset>
Is there any reason behind this?
Pralhad