Eric van der Vlist wrote:
> Martin Roberts wrote:
> > Why can't schematron asserts be applied to attributes? On the old
> > Examplotron, rules could be attribute based.
>
> I don't see any really good reason!
>
> I *think* that it's part of the feeling that attributes are nothing more
> than annotations for the elements ti which they belong.
> This is the price to pay to get Examplotron based on standards and I
> *think* that it's worth the effort but it's probably something we should
> discuss in more details!
Perhaps Schematron is the wrong standard to be using for rules-based document
validation? XSLT might be a better choice (especially once XSLT 2.0 and XPath
2.0 reach Recommendation status, what with their incorporation of namespaces
and datatypes); I suspect that it's possible to view Schematron as a subset of
XSLT, and to arrange for a transformation from the former to the latter in a
fairly straightforward manner.
=====
Jonathan "Dataweaver" Lang
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
Received on Tue Jul 8 01:24:58 2003
This archive was generated by hypermail 2.1.8 : Fri Dec 03 2004 - 14:29:47 UTC