I am at a loss with namespaces and relaxNG:

My css xpath nodetests work with DTD controlled documents:
for instance with element p
content: xpath('count(//p)');
works.

With a relaxNG valid doc, I get a 0 count, with or without prefixing 
the namespace (for instance HS)
I get the right count if I write:
content: xpath('count(//*[name()="HS:p"])');


What do I miss?

Alain Pierrot
APSED

PS: I use XML Editor Professional Edition V2.9p1 under MacOSX 10.3.9



Reply via email to