<?xml version="1.0"?>
<sch:schema xmlns:sch="http://www.ascc.net/xml/schematron">

   <sch:pattern name="Reserved Word Filter">

      <sch:p>These reserved words are not allowed anywhere in the
             document: SCRIPT, FUNCTION.</sch:p> 

      <sch:rule context="Para">

         <sch:assert test="count(.//node()[contains(translate(., 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
                                                 'abcdefghijklmnopqrstuvwxyz'), 'script')]) = 0">
             The Para element must not contain the reserved word SCRIPT (case insensitive).
         </sch:assert>

      </sch:rule>

   </sch:pattern>

</sch:schema>