[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Closing and reopening hierarchically structured elemen
Hi, I am facing a problem which I don't know how to tackle. I am currently doing an XML to FO transformation. The produced FO documents have two columns. My problem now is, that I want my tables to span over all two columns. I think that I can only achieve that using a two-step approach. 1. Create a basic fo structure 2. Rearrange table markup The second step involves closing all ancestor elements before my table. Generating an <fo:block span="all">, including my table markup within and re-opening my closed ancestor elements (including all attributes defined before). structure after 1: <fo:flow> <fo:block ... > <fo:block ...> <fo:inline> <table> ... </table> </fo:inline> ... </fo:block> </fo:block> </fo:flow> structure after 2: <fo:flow> <fo:block ... > <fo:block ...> <fo:inline/> </fo:block> </fo:block> <fo:block span="all""> <table> ... </table> </fo:block> <fo:block ... > <fo:block ...> <fo:inline> ... Since I don't know on which hierarchical level my tables appear I would need some kind of generic algorythm to close an re-open my ancestors. Can you give me some hint, how to achieve this? Is there any way to do this during my first XML => FO transformation? wbr, Roman
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|