[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 design)
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Mon, 15 May 2000 15:22:44 +0200
xslt overlapping elements
> Linda van den Brink writes:
>  > 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)
> Sebastian writes: 
> Your example seems to assume a *non*-overlapping structure, whereas
> Sydney had a page break in the middle of a <div>, unless I
> misinterpret you. 
No, my example intended to show how to *use* a non-overlapping structure to
represent an overlapping structure. Instead of having empty markers, I have
page elements that nest inside divs and contain other elements (like p,
note, list). Look again: 

<div type="chapter">
<page nr="1"><!-- start of first page -->
<p>...</p>
</page><!-- end of first page *element* to avoid mallformed nesting because
of overlapping structure -->
<div type="part">
<page nr="1"><!-- start of second page element that *still indicates the
first physical page* -->
<p>...</p>
<note>...</note>
<list><item>...</item></list>
</page><!-- End of first page -->

<snip/>

> one has to ask *why* Sydney wants to do this splitting up. 

Of couse, Sydney could have a wrong reason for wanting to do this, but there
can be valid cases where one wants to do this. Someone could be transcribing
an edition of a (old) text and want to markup the page break structure as
well as the chapter/paragraph structure. From one point of view the first of
these structures could be significant, from another point of view the second
structure could be, so you want to capture them both. Then when you want to
output the transcribed source using the page break structure, showing the
text page by page just like in the edition you're transcribing, you face
this problem. 

A document can have two (or more) structures and it's difficult to represent
this in SGML/XML. It's interesting to see if XSLT can deal with this. What's
the best way to represent multiple structures in XML so that XSLT can work
with those structures? 

Hey, I'm just interested in this stuff 

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.