[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Validating tab-delimited text files against an XML Schema?
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] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|