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

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 UTC