[Home] [By Thread] [By Date] [Recent Entries]

  • From: Ramkumar Menon <ramkumar.menon@g...>
  • To: xml-dev@l...
  • Date: Thu, 16 Dec 2010 14:52:12 -0800

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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member