[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

  • To: "Michael Kay" <michael.h.kay@n...>, <xml-dev@l...>
  • Subject: RE: Cross document validation with Schematron - XML syntax for Xpath?
  • From: "Hunsberger, Peter" <Peter.Hunsberger@s...>
  • Date: Thu, 18 Mar 2004 13:24:12 -0600
  • Thread-index: AcQIVl/Vt1yM3YONTlGOjvwGFie1LwEDNargAAYf2cAAIAUjUAADRODgAAUyyCA=
  • Thread-topic: Cross document validation with Schematron - XML syntax for Xpath?

schematron syntax
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.