[relaxng-user] attribute wildcards in open and extensible schemata

MURATA Makoto (FAMILY Given) EB2M-MRT at asahi-net.or.jp
Mon Jul 12 08:05:03 ICT 2004


On Fri, 02 Jul 2004 20:22:32 +0200
Robin Berjon <robin.berjon at expway.fr> wrote:

> 
> I've read the solution offered in Eric's excellent book, but it really 
> looks to me like it is a work-around trying to defeat the system than a 
> real solution. 

I do not remember Eric's solution, but I will probably do this:

1) module (svg.rnc)

each attribute wildcard is defined as 
	awc = attribute * - (svgNamespace:* | local:*) {text}

2) customized module

include "svg.rnc" {
	awc = attribute * - (svgNamespace:* | xhtmlNamespace:* | local:*) {text}
}

3) combine customized modules

Use customized modules rather than svg.rnc.

-- 
MURATA Makoto (FAMILY Given) <EB2M-MRT at asahi-net.or.jp>




More information about the relaxng-user mailing list