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

Can XSLT help with overlapping structures (was: XML slice de

Subject: Can XSLT help with overlapping structures (was: XML slice design)
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Mon, 15 May 2000 13:43:48 +0200
xslt div empty element
In some cases it actually makes sense to markup two overlapping structures.
This is however a problem in XML (and SGML for that matter) because of the
nesting rules. When working with TEI I encountered two possible ways of
solving the problem of overlapping structures: using empty elements to mark
one of the structures (used by Sydney), for example page breaks, or using
elements that you indicate as being interrelated and together representing
an element in one of the structures. (In TEI I used SPANs for this)

In Sydney's case this method would look something like this: 

<div type="chapter">
<page nr="1"><!-- or span type="page" nr="1" -->
<p>...</p>
</page>
<div type="part">
<page nr="1">
<p>...</p>
<note>...</note>
<list><item>...</item></list>
</page><!-End of first page -->
<page nr="2">
<qa>...</qa>
</page><!-End of second page -->
</div>
<div type="part">
<page nr="3">
<p>...</p>
<note>...</note>
</page><!-End of third page -->
</div>
</div>

Maybe there are similar, but more elegant solutions. In this case you could
create output pages based on page numbers: create a new output page for each
new number. 

But still ... it wouldn't be easy to create page-based output from this
using XSLT, would it? 

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.