Search found 3 matches

by PetrolDave
Thu Apr 09, 2009 5:24 pm
Forum: XML Schemas
Topic: How to get embedded Schematron to work?
Replies: 5
Views: 5129

Re: How to get embedded Schematron to work?

What's wrong with this line?

<sch:rule context=".//v:trunk_card">

I've tried v:.//trunk_card as well as .//v:trunk_card

Sorry for all the questions!
by PetrolDave
Thu Apr 09, 2009 5:17 pm
Forum: XML Schemas
Topic: How to get embedded Schematron to work?
Replies: 5
Views: 5129

Re: How to get embedded Schematron to work?

I think I might have just answered my own question...

I was using xmlns:sch="http://www.ascc.net/xml/Schematron" instead of xmlns:sch="http://purl.oclc.org/dsdl/schematron"

Doh!!!
by PetrolDave
Thu Apr 09, 2009 5:09 pm
Forum: XML Schemas
Topic: How to get embedded Schematron to work?
Replies: 5
Views: 5129

How to get embedded Schematron to work?

I've been working on a XSD file for a while and realised today that I need to embed Schematron to do some of the checks needed. I've followed the (few) examples I can find but the Schemtron doesn't seem to run. Here's a segment of the xsd: <!-- ?xml version="1.0" encoding="ISO-8859-1&...