[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: XMetal and inline elements
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]-+
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC