XML validation rule

Discussion in 'XML' started by Jake, Aug 14, 2007.

  1. Jake

    Jake Guest

    Hello,

    I'm looking for a rule language and engine that can be used to
    validate XML document. I want to assert constraints on document
    content that are not specified in the XML Schema. I've searched online
    and it seems that XPath and XSLT or Perl can be used for this purpose.
    But I'm wondering if there is any simple rule language that is
    specific just for XML validation?

    Thanks,
    Jake
     
    Jake, Aug 14, 2007
    #1
    1. Advertising

  2. Jake wrote:

    > I'm looking for a rule language and engine that can be used to
    > validate XML document. I want to assert constraints on document
    > content that are not specified in the XML Schema. I've searched online
    > and it seems that XPath and XSLT or Perl can be used for this purpose.
    > But I'm wondering if there is any simple rule language that is
    > specific just for XML validation?


    Check out whether Schematron <http://www.schematron.com/> allows what
    you are looking for.

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
     
    Martin Honnen, Aug 14, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike
    Replies:
    4
    Views:
    882
    Bob Foster
    Nov 23, 2003
  2. Andy
    Replies:
    0
    Views:
    541
  3. ocelka
    Replies:
    2
    Views:
    402
    Romin
    Mar 18, 2005
  4. Replies:
    0
    Views:
    1,371
  5. Andrew

    Validation rule not working

    Andrew, Aug 15, 2003, in forum: Javascript
    Replies:
    1
    Views:
    101
    Dr John Stockton
    Aug 15, 2003
Loading...

Share This Page