You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by mi...@sonynetservices.com on 2002/07/16 18:44:28 UTC

Schematron

Hello,

   is there a way to use regular expressions with Schematron?
  (like with an descriptor xml match-regex)

  thanks for any help,


  miHam


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Schematron

Posted by Ivelin Ivanov <iv...@apache.org>.
Schematron's rules are XPath expressions.
XPath 1.0 does not support regex, but the upcoming v2.0 will.



----- Original Message ----- 
From: <mi...@sonynetservices.com>
To: <co...@xml.apache.org>
Sent: Tuesday, July 16, 2002 11:44 AM
Subject: Schematron


> Hello,
> 
>    is there a way to use regular expressions with Schematron?
>   (like with an descriptor xml match-regex)
> 
>   thanks for any help,
> 
> 
>   miHam
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
> 


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Schematron

Posted by Alexander Smirnoff <as...@vistar.ca>.
I'm not a big pro in Schematron. It uses mainly XPath for referencing nodes,
in Cocoon scratchpad it implemented with JXPath, where you could use
extension mechanics to add your own functions to XPath.

I did not do that but if you really want to have regexps in XPath, I think this 
is the direction.

Alex.


----- Original Message ----- 
From: <mi...@sonynetservices.com>
To: <co...@xml.apache.org>
Sent: Tuesday, July 16, 2002 12:44 PM
Subject: Schematron


Hello,

   is there a way to use regular expressions with Schematron?
  (like with an descriptor xml match-regex)

  thanks for any help,


  miHam


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>





---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>