john.madden58 wrote:

> So in RNG, is there a clever way to factor out name-class declarations into a 
> separate file 
> and reference them as externals in some way?

No, unfortunately this is not possible. This is on list of features that
could be added to some future version of RELAX NG:

http://wiki.oasis-open.org/relax-ng/FutureRequirements

James Clark recently even proposed syntax for this feature:

http://tech.groups.yahoo.com/group/rng-users/message/914

But of course this is not yet implemented, but your request justifies
need for this feature again so might be it is time to push for this
feature little bit more.

James, if you are reading this message, do you think that it would be
possible to implement your proposal in Jing and add new switch which
will enable this post 1.0 feature?

I think at the same time it might be useful to create XSLT stylesheet
(or augment Trang) to convert schemas with this feature to schemas which
are pure RELAX NG 1.0. This will allow easier authoring of schemas, but
for deployment schema could be converted to format understood by all
existing RELAX NG implementations.

                        Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: [EMAIL PROTECTED]      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to