[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XML validation using mathematical expressions

mathematical expression of ph
You could do this with Schematron if you were willing to resort to extension
functions. But you lose portability if you do that. Extension functions are
implementation dependent and are not standardized. If you go that route,
check your XSLT implementation's docs for how to do this.

-----Original Message-----
From: PH
To: xml-dev@l...
Sent: 3/1/02 5:54 AM
Subject:  XML validation using mathematical expressions


I am new to this interest group and I have just familiarized myself with
the XML basic concepts and schema validation so bear with me;-)

So far, I have only got theoretical knowledge gained by reading
articles, tutorials (I found Roger Costello's schema tutorial and best
practice guide really useful) and XML books. I have learned that you can
put a lot of control over XML instance documents by properly typing and
constraining elements in XML schemas. I have also learned that you can
extend the schema by enforcing correlation constraints (A > B) by using
other schema's such as Schematron based on XSLT templates.

However, I'd like to take it a step further by introducing non-linear
relationships between elements using mathematical expressions. For
example, I would like to validate that element B < A/sqrt(2).

I'd appreciate any help from the XML development community in achieving
this. Would MathML be of any help?


Paul van Hagen

The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>


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.
First Name
Last Name
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.