← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [relax-ng-comment] Public Comment

From
MURATA Makoto (FAMILY Given) <>
Date
2004-07-21T23:13:22+00:00
ID
Thread
Re: [relax-ng-comment] Public Comment
Adrian,

I am wondering if there is a walkaround.  If we specify combine="choice" 
for every <define> in "utils.rng", can we avoid this problem?

The following example includes "em.rnc" twice, but it works.

####main2.rnc

include "p.rnc"
include "h1.rnc"

start = p | h1

####p.rnc

default namespace = ""

include "em.rnc"

p = element p {text & em*}

####h1.rnc

default namespace = ""

include "em.rnc"

h1 = element h1 {text & em*}


####em.rnc

default namespace = ""
em |= element em {text}
intOr |= xsd:int | xsd:short


Cheers,
-- 
MURATA Makoto (FAMILY Given) <>
← Prev in month ← Prev in thread
Next in thread → Next in month →