hi,

As I examined that faq.xml is not a faq10 DTD valid document, I thought 
about restructuring the FAQ
layout.
Looking like this :
Question
  {faq-section-title-1}
     {question}
      ...
   {faq-section-title-2}
      {question}
       ....
...

I'd like to restructure the documentation/xdocs/faq.xml FAQ file.

I'd like to change the faqv10.dtd to faqv11.dtd adding faq-section 
element like it was in
Cocoon1.
Doing this I hope to structure the Table of Content displaying all 
question as single unordered list.
Having faq-section will help the reader to find question he or she is 
interested in more easily.

Thus DTD becomes:
<!ELEMENT faqs (authors?, (faqsection | faq)+)>
<!ATTLIST faqs %common.att;
               %title.att;>

<!ELEMENT faq-section (faq)+>
<!ATTLIST faq-section %common.att;
                     %title.att;>

<!ELEMENT faq (question, answer)>

<!ELEMENT question (%content.mix;)*>
<!ATTLIST question %common.att;>

<!ELEMENT answer (%blocks;)*>
<!ATTLIST answer author IDREF #IMPLIED>

Moreover I'd like to classify the current FAQ having following
faq-section titles:

Building
  About compiling cocoon sources

Configuring             
  About configuring sitemap,

Installing                  
  About installing cocoon for a servlet engine

Startup Troubles
  Questiong Cocoon does not work

Database Troubles   
  About Cocoon and databases

Sitemap Troubles
  About Sitemap setups

Misc
  Anything that does not fit in the above category titles



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

Reply via email to