Ali Saffari <[EMAIL PROTECTED]> 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&ouml;ffnet:</phrase>
> <phrase arch="online">Das Dialogfenster f&uuml;r die Textsuche  wird
>ge&ouml;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&ouml;ffnet:</action>
   <action arch="online">Das Dialogfenster f&uuml;r die Textsuche  wird
           ge&ouml;ffnet.</action>


                                        m@

[EMAIL PROTECTED]+- 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: [EMAIL PROTECTED]

Reply via email to