OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] DB 5 -- Element "example" not allowed inside element"article" ?

Thank you! Dick. You are right, I was trying to insert "example" tag before "info" & after "section"
Per your suggestions, I included it before section & it worked! Any idea, where can I find documentation about -- what elements are allowed under a given parent and what should be the sequence of the children elements? Appreciate your replies.
- A

Dick Hamilton wrote:

The most likely possibility is that you've got <example>
either before the <title> or <info> elements, or after
one of the "section" elements (<section>, <sect1>, etc.)

For example,

<article ...>
  <title>the title</title>

would be ok, but:

<article ...>
  <title>the title</title>

is invalid.

If that's not the problem, then if you could post the
shortest example you have that fails, that would help
diagnose the problem.

Dick Hamilton

-----Original Message-----
From: Anagha Tongaonkar [mailto:anagha@3dgeo.com] 
Sent: Thursday, March 06, 2008 4:35 PM
To: docbook-apps@lists.oasis-open.org
Subject: [docbook-apps] DB 5 -- Element "example" not allowed 
inside element "article" ?

Hi All,

I am trying to insert an element "example" inside "article"; 
however, I 
get the following error message in the XML editor (I am using 
oXygen XML 
element "example" from namespace "http://docbook.org/ns/docbook" not 
allowed in this context

However, per information on:

I see "example" has a parent "article"

Please advise.

Thank you,
PS: I am using DocBook 5, the article element appears as: <article 
xmlns="http://docbook.org/ns/docbook" version="5.0"> in my xml file.

To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]