Relax NG compact syntax and entities

Alessandro Di Bella <[email protected]> Tue, 15 Mar 2005 11:46:47 +0100
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
Hi,
I'm new to Relax NG and I'm trying to write a grammar form my application.
Because I need to use the same element names across multiple xml files,
I created several entities in an external file (commands.ent) that I include 
in the Relax NG grammar as follows:

<!DOCTYPE grammar[
    <!ENTITY % commands SYSTEM "../commands.ent">
    %commands;
]>
<grammar .........>
 ........
</grammar>

Is there a way of doing the same with the compact syntax?

Thanks

Alessandro