[relaxng-user] embedding DocBook in another schema

Sebastian Rahtz sebastian.rahtz at computing-services.oxford.ac.uk
Thu Mar 10 11:27:28 ICT 2005


tbrown at nrri.umn.edu wrote:

> I've got as far as
>
> {include href=".../docbook.rng" ns="http://docbook.ns/"}

is this old "translated to rng" docbook, or new "written as relax" docbook?

> b) when I "fix" (a) by commenting out the start block in 
> .../docbook.rng I get duplicate element definitions (e.g. DocBook also 
> has a step element).

you may be confusing names of patterns with names of elements?

in a typical statement like

  step = element step  (text)

the outer "step" is global, the inner element name may be namespaced/

Sebastian


More information about the relaxng-user mailing list