Schematron validation

<s:schemaxmlns:s="http://purl.oclc.org/dsdl/schematron"><s:nsprefix="p"uri="http://www.w3.org/ns/xproc"/><s:pattern><s:rulecontext="/"><s:asserttest="result">Document root is not 'result'.</s:assert><s:asserttest="result/text()='4'">'result' does not a text child with value '4'.</s:assert></s:rule></s:pattern></s:schema>