2008/12/8 john.madden58 <[EMAIL PROTECTED]>:
> I hope somebody can help me. In a big RNG project that contains many files,
> I repeatedly
> use a particular name-class in various places throughout the project. (It's
> the name class
> of all names that are not in any of the namespaces used by my project, i.e.
> the foreign
> name class with respect to my project's namespaces.)
>
> <anyName>
> <except>
> <nsName ns="http://myproject.org/ns1/"/>
> <nsName ns="http://myproject.org/ns2/"/>
> <nsName ns="http://myproject.org/ns3/"/>
> </except>
> </anyName>
>
> Because it's used in lots of places, I'd like to factor the name-class
> declaration out into a
> separate file and reference the name class declaration


Assuming you have many files,
just reference it where wanted,
and add it as another pattern in an existing file
which matches the constraints you've found?
Untested.


HTH




-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

Reply via email to