OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Schematron.


On 1/28/07, Dave Pawson <davep@dpawson.co.uk> wrote:
> I took the version 5 schematron file as a basis
> and updated to iso Schematron.
>
> Below is the iso schematron file.

Ah, nice. I'd been looking around for more real-world examples.

>     <iso:pattern >
>        <iso:title >Root must have version</iso:title>
>        <iso:rule context="/db:para">
>           <iso:assert test="@version">The root element must have a
> version attribute.</iso:assert>
>        </iso:rule>
>        <iso:rule context="/db:set">

Any reason you chose to enumerate all of these root elements rather
than just use "/*" ?


Keith


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]