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:
Anagha,

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>
  <example>....</example>
  <section>......</section>
</article>

would be ok, but:

<article ...>
  <title>the title</title>
  <section>......</section>
  <example>....</example>
</article>

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

  
-----Original Message-----
From: Anagha Tongaonkar [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, March 06, 2008 4:35 PM
To: [email protected]
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 
editor):
element "example" from namespace "http://docbook.org/ns/docbook" not 
allowed in this context

However, per information on:
http://www.oasis-open.org/docbook/documentation/reference/html
/example.html

I see "example" has a parent "article"

Please advise.

Thank you,
Anagha
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: [EMAIL PROTECTED]
For additional commands, e-mail: 
[EMAIL PROTECTED]


    


  

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to