This is the mail archive of the mailing list .

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XMetal and inline elements

Ali Saffari <> 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
><phrase arch="print">Folgendes Dialogfenster wird
> <phrase arch="online">Das Dialogfenster f&uuml;r die Textsuche  wird
>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

					m@ 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:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]