[relaxng-user] must externalRef point to a grammar?

John Cowan cowan at mercury.ccil.org
Mon Oct 6 21:12:16 ICT 2003


Jeffrey Ricker scripsit:

> I'm sorry if I missed this in the documentation. I notice in the spec
> that <include> must point to a file that has a <grammar> element as
> root. Is the same true for <externalRef> or can I have that file be a
> simple <element> declaration as its root? 

Sure.  externalRef can point at any pattern whatsoever.
It's just a straight inclusion.

-- 
John Cowan  www.ccil.org/~cowan  jcowan at reutershealth.com  www.reutershealth.com
Monday we watch-a Firefly's house, but he no come out.  He wasn't home.
Tuesday we go to the ball game, but he fool us.  He no show up.  Wednesday he
go to the ball game, and we fool him.  We no show up.  Thursday was a
double-header.  Nobody show up.  Friday it rained all day.  There was no ball
game, so we stayed home and we listened to it on-a the radio.  --Chicolini


More information about the relaxng-user mailing list