Re: Schematron
Sebastian Rahtz <[email protected]>
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
Dave Pawson wrote:
> Has anyone a tiny example
> of successfully using a Schematron insert within
> a relax ng schema...
see following
> and the processing, with cmd line params they used please?
I just use "relames" (or is it "relmes")
<define name="email">
<element name="email">
<ref name="attributes.class.global"/>
<ref name="macro.paraContent"/>
<s:assert test="contains(.,'@')">
email address must contain an @ sign
</s:assert>
</element>
</define>
--
Sebastian Rahtz Information Manager
Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431