[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
On 21.2.2012 10:18, Wolfgang Laun wrote:
Maybe I should at least briefly explain it. In many areas (especially in documents processing) there is a problem with multiple possible hierarchies overlapping each other (e.g., in Bibles there are divisions of text which are going across verse and chapters boundaries and sometimes terminating in the middle of verse, many especially English Bibles marks Jesus' sayings with a special element, etc.). One of the ways how to overcome obvious problem that XML doesn't allow overlapping elements is to use milestones. So that the book of Bible is not divided like
but just putting milestones in the text, i.e.:
Is this clear?
Best,
MatDj
Re: [xsl] Processing milestoned XML leads to many preceding:: calls and horrible performance
Subject: Re: [xsl] Processing milestoned XML leads to many preceding:: calls and horrible performance From: Matěj Cepl <mcepl@xxxxxxxxxx> Date: Tue, 21 Feb 2012 10:58:05 +0100 |
On 21.2.2012 10:18, Wolfgang Laun wrote:
don't assume everybody knows what "to milestone" means
Maybe I should at least briefly explain it. In many areas (especially in documents processing) there is a problem with multiple possible hierarchies overlapping each other (e.g., in Bibles there are divisions of text which are going across verse and chapters boundaries and sometimes terminating in the middle of verse, many especially English Bibles marks Jesus' sayings with a special element, etc.). One of the ways how to overcome obvious problem that XML doesn't allow overlapping elements is to use milestones. So that the book of Bible is not divided like
<book> <chapter> <verse>text</verse> ... </chapter> ... </book>
but just putting milestones in the text, i.e.:
<book> <chapter n="1" /> <verse sID="ID1.1" />text of verse 1.1 <verse eID="ID1.1" /> .... </book>
Is this clear?
Best,
MatDj
-- http://www.ceplovi.cz/matej/, Jabber: mcepl<at>ceplovi.cz GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
The state is the great fictitious entity by which everyone seeks to live at the expense of everyone else. -- Frederick Bastiat
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Processing milestoned XML, Matěj Cepl | Thread | [xsl] overlap nomenclature, Syd Bauman |
Re: [xsl] Processing milestoned XML, Matěj Cepl | Date | Re: [xsl] Processing milestoned XML, Emmanuel Bégué |
Month |
Keywords