← Prev in month ← Prev in thread

Help - any/anyAttribute - notNamespace, notQName

From
Ramkumar Menon <>
To
Date
2010-12-16T22:52:12Z
ID
<>
Thread
Help - any/anyAttribute - notNamespace, notQName
Gurus,
 
I have a question.
 
Are the following three definitions valid?
 
1.
<any>
  <assert test="not(namespace-uri() = 'http://www.example.org'"/>
</any>
2. 
<anyAttribute>
  <assert test="not(namespace-uri() = 'http://www.example.org'"/>
</anyAttribute>
 3.
<any>
  <assert test="not(node-name()= '{http://www.example.org}value-of)'"/>
</any>
 
 
If they are valid, can someone help explain why we need the notNamespace, notQName attributes explicitly?
If the above definitions are *not* valid  - why?
 
Ram
 
 


--
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!

-Ramkumar Menon
 A typical Macroprocessor
← Prev in month ← Prev in thread