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

  • From: Mukul Gandhi <gandhi.mukul@g...>
  • To: "Costello, Roger L." <costello@m...>
  • Date: Sun, 23 Sep 2012 13:47:40 +0530

I realized that the following assertion would also have worked,

<xs:assertion test="every $rec1 in tokenize($value, '\r?\n')[position() gt 1]
		                       satisfies (
						(tokenize($rec1, '\t')[1] castable as xs:integer) and
						(tokenize($rec1, '\t')[3] castable as xs:decimal)
						   )
		             "/>

The "for" expression was unnecessary in my previous schema document.



-- 
Regards,
Mukul Gandhi


[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