[oXygen-user] Can't bind attribute
    Sorin Ristache 
    
       
    Fri Oct 26 05:32:28 CDT 2007
    
    
  
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
    
    
More information about the oXygen-user
mailing list