Re: trang and xsd-friendly schemas
"Bruce D'Arcus" <[email protected]> Mon, 13 Sep 2004 10:18:36 -0400
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
On Sep 13, 2004, at 10:08 AM, David Carlisle wrote: > Given that it's implemented in XSLT though a reasonable alternative > would not be to use any schema language and just put the checks into > the > xslt, the XSLT template handling this could easily be made to moan if > there wasn't exactly one publisher child, and if the XSLT is doing > that, > having a schema validation step doesn't really win you very much. One obvious thing it wins is independence of any particular implementation; so someone could easily write a C-based processor for RTF documents, a Perl-based one for TeX, etc. But aside from that, with your suggestion David, doesn't that mean changing styles by definition means changing XSLT code (e.g. creating new templates and/or stylesheets)? If as I assume yes, I'm trying to avoid that because it seems like it'd just be a mess if you try to scale it. In a future, better, world, I'd like users to be able to just download a single file transparently if they need to format a new style. Imagine going to a web repository and typing "mla" and getting back whatever style file you need. Bruce