W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2003

Challenging Question Which is Never Answered So far by AnyBody !!! Try and tell me a solution ..please !!!

From: guyin chennai <sguy_chennai@yahoo.co.in>
Date: Fri, 5 Dec 2003 14:56:47 +0000 (GMT)
Message-ID: <20031205145647.68721.qmail@web8201.mail.in.yahoo.com>
To: www-xsl-fo@w3.org

Explanation :

1) i am having an xml ..the Structure of xml is 

   WEB (Main Tag) below are (Child Tags of WEB)
       - SITE - HEADING - LEFT   
       - SITE - HEADING - CENTER 
       - SITE - HEADING - RIGHT
       - SITE - COLUMN  - LEFT
       - SITE - BODY    - LEFT

  the xml will be like 

 <WEB>
    <SITE>
        <HEADING>
            <CENTER>34535</CENTER>
        </HEADING>
    </SITE>
    <SITE>
        <HEADING>
            <LEFT>34535</LEFT>
        </HEADING>
    </SITE>
         .....
</WEB>


2) i have to display the xml in the following format

  a) Display all the heading that were coming till the COLUMN/LEFT comes..that is displaying all headings till the following
     sibling COLUMN/LEFT comes in the below format....the xml will not be in order...so we can put LEFT,CENTER,RIGHT IN Correct
     position as

         HEADING/LEFT  HEADING/CENTER  HEADING/RIGHT
  HEADING/LEFT  HEADING/CENTER  HEADING/RIGHT
  HEADING/LEFT  HEADING/CENTER  HEADING/RIGHT

     usually 9 HEADING elements will be coming that should be displayed in the above format

   b) Display all the COLUMN/LEFT and BODY/LEFT till the following sibling is different

   c) Give a page break if the sibling following the body is different

   d) retrieve the following till the end of the BODY element and give a break after that

   e) if  HEADING is coming after that...we have to display in the above format..

3) LIKE WISE WE HAVE CONTINUE to display in the above formats till the end of the document.....

4) i have a table header which follows every page...so all the above specified should be below the table-body...

 

 

 

 


Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now.
Received on Friday, 5 December 2003 09:56:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:11 GMT