This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: XMetal and inline elements
- To: DocBook-Apps ML <docbook-apps at lists dot oasis-open dot org>
- Subject: Re: DOCBOOK-APPS: XMetal and inline elements
- From: Matthew Braun <mbraun at urbana dot css dot mot dot com>
- Date: Thu, 17 May 2001 10:53:45 -0500 (CDT)
Ali Saffari <asaffari@pironet-ndh.com> writes:
>I've noticed some strange behaviour while using XMetal for creating
>DocBook content. According to "DocBook The Definitive Guide" you can
>insert inline elements within other inline elements.
It is not true, however, that arbitrary inline elements can be inserted
within other arbitrary inline elements.
>I've a document wich contains somethinf like this
>
><action>
><phrase arch="print">Folgendes Dialogfenster wird
>geöffnet:</phrase>
> <phrase arch="online">Das Dialogfenster für die Textsuche wird
>geöffnet.</phrase>
></action>
>
>XMetal says that this is an invalid document!!
According to "DocBook: TDG", it is. <action> may be a <child> of <phrase>,
but <phrase> cannot be a child of <action>. (Take a look at the pages for
each element, specifically the listing of "Parents" and "Children".)
Since arch is also an attribute of action, would it be sufficient to mark
up the text as:
<action arch="print">Folgendes Dialogfenster wird geöffnet:</action>
<action arch="online">Das Dialogfenster für die Textsuche wird
geöffnet.</action>
m@
+-mbraun@urbana.css.mot.com-+- I was chasin' a ghost pale and white-----------+
| Matt Braun -- Motorola, | and hard to see; The boys in blue from |
| Urbana, IL Design Centre | Peculiar School are hangin' out in the dark |
+Cellular Subscriber Sector-+--- and they're lookin' for me. ------------[SR]-+
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org