[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Can XSLT help with overlapping structures (was: XML slic

Subject: RE: Can XSLT help with overlapping structures (was: XML slice des ign)
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Mon, 15 May 2000 16:23:33 +0200
RE: Can XSLT help with overlapping structures (was: XML slic
David Carlisle wrote: 
> 
> But in your example you only needed some simple duplication as you
> assume the page break happens at a point that is at the top level
> of a div, and between paragraphs. In general you would have to 
> close (and re-open) an arbitrary number of open elements inorder
> to close the page element and then 
> 
>   </list>
>   </page><!-- End of first page -->
> 
> In particular what would you have done if the page had ended in the
> middle of that list?

I was thinking along the lines of closing the page element each time an
overlap problem threatens, and opening a new one with the same page nr. But
you're right, it becomes very very inelegant and wouldn't in the end really
capture the page break structure at all. It would look something like this: 

</page><!-- page end tag goes here because the subsequent list overlaps two
pages -->
<list>
<item><page nr="1">...</page></item><!-- new page element still indicating
page 1 -->
<item><page nr="2">...</page></item><!-- new page element indicating page 2
-->
</list>

So it's back to empty elements for indicating page breaks, and having
problems using those as hooks for outputting separate pages using XSLT...

Linda


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.