[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Define a root in a DTD
- From: Uche Ogbuji <uche.ogbuji@fourthought.com>
- To: Rick Jelliffe <ricko@allette.com.au>
- Date: Wed, 27 Jun 2001 15:31:50 -0600 (MDT)
> <!-- Make the content models closed -->
> <rule context="*">
> <report test="1=1"
> >The <name/> element is not known.</report>
> </rule>
Cool. I'm always happy to learn a new Schematron trick. But we might
want to consider some syntactic sugar for this one.
<report test="true()"
Isn't much better.
--
Uche Ogbuji Principal Consultant
uche.ogbuji@fourthought.com +1 303 583 9900 x 101
Fourthought, Inc. http://Fourthought.com
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
XML strategy, XML tools (http://4Suite.org), knowledge management