Hey,
Hi!

I'am trying to write a xml schema which must validate that a given
attribute is unique.
...
       <xsd:selector xpath="ptt:*"/>
...

I belive my problem is, that I can not figure out the correct xpath to
write in the selector.

Yes.
It seems that you want every child (at any level) of 'root' that is in the 'ptt' namespace. Try this:

   <xsd:selector xpath=".//ptt:*"/>

Best of luck!
Piotr
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to