Next in thread →
Next in month →
Re: [xml-dev] 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
Next in thread →
Next in month →