Hi all, I have the following XML fragment: <myStuff> <foos> <foo name="Region"/> <foo name="Country"/> </foos> <datas> <data value="$2,300,450"> <Region>West</Region> </data> </datas> </myStuff> I want to use the following key in the definition of the foo elements: <key name="myKey"> <selector xpath="."/> <field xpath="@name"/> </key> Now I would like to define the following keyRef for my data elements: <keyRef name="myKeyRef" ref="myKey"> <selector xpath="./*"/> <field xpath="name()"/> </keyRef> In the current specification of XML Schema, this keyRef is not valid because there is no support to the name() function of XPath in field. Is there any plan to extend the support of XPath in the future 1.1 Schema specification? I think it would be really useful and at no extra cost for a schema processor. Regards, Bruno FISCHEL IBM Silicon Valley LaboratoryReceived on Monday, 13 October 2003 07:16:08 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:01 UTC