Using relames, todays date

With input
<div>
      <define name="db.para.blocks">
        <a:documentation>para reductions. db.anchor,
db.simpara</a:documentation>
        <choice>
          <ref name="db.para"/>
          <ref name="db.formalpara"/>
        </choice>
      </define>
    </div>

relames reports
element "div" is not allowed here

If I add the namespace
namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0";

to the definition, and put the 'div' into that namespace,
relames is happy.

Both the rnc and rng forms are OK using jing.

question.
1.Is relames right?
2. If it is, how do I write

a:div {
## Remove  db.all.blocks*
db.itemizedlist |=
    element itemizedlist {
       db.itemizedlist.attlist,
       db.itemizedlist.info,
       db.listitem+
     }
}

since trang won't accept that?

I'm confused.

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


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/2U_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/rng-users/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to