|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Cross document validation with Schematron - XML syntax for
Michael Kay <michael.h.kay@n...> writes: > > I wouldn't wish XQueryX on anyone, but it seemed to be > exactly what you were looking for. I'm now confused about > your requirements. > Well, the real requirement is to be able to pull out some data from a different document and validate data in the current document against it. We had been wandering down the path of using an XML syntax we could parse in order to grab the document info and also assemble some Schematron validation against. However, it seems to me that we might be able to use XQuery directly to achieve both needs: grab the data and also run a query to determine if the current document data meets some constraint determined by that data. Essentially we might be able to specify something like: <validate> <var1>xquery 1</var1> <var2>xquery 2</var2> <assert>some xquery using var1 and var2</assert> </validation> I use XML syntax here just to frame the pieces we need. Anything that can be parsed into the suitable component pieces would suffice...
|
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
|
|||||||||

Cart








