Hello,

The correct namespace for XML Schema instances is "http://www.w3.org/2001/XMLSchema-instance";. Does it work with

<ns prefix="xsi" uri="http://www.w3.org/2001/XMLSchema-instance"/>

instead of what you used, that is:

<ns prefix="xsi" uri="http://www.w3.org/2000/10/XMLSchema-instance"/>  ?


Regards,
Sorin


Giuseppe Italiano wrote:
Hi,
I've this situation :
file.xml:

<effectiveTime xsi:type="PIVL_TS" operator="A">

file.sch:

<assert test="child::cda:effectiveTime[position()=1]/@xsi:type='IVL_TS'">

error

</assert>

Testing with the other attribute (operator) works. I've defined in file.sch:

<ns prefix="xsi" uri="http://www.w3.org/2000/10/XMLSchema-instance"/>

How can I bind xsi:type attribute?

Thanks in advance, bye

_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to