List Info

Thread: Add topic element to DocBook?




Add topic element to DocBook?
user name
2006-10-28 20:17:47
that's invalid xml

On 10/27/06, Elliotte Harold <elharometalab.unc.edu> wrote:
> Bob Stayton wrote:
> > Hi Elliotte,
> > I'm not clear what you meant when you said that
XML can't handle this
> > idea of assembling topics using a mapping element.
 Can you elaborate?
> >
>
> Topics can cross section boundaries, and sections can
cross topic
> boundaries. Hence overlap. e.g.
>
> <topic>
>    blah blah blah
>    blah blah blah
>    blah blah blah
>    <section>
>    blah blah blah
>    blah blah blah
>    blah blah blah
>      </topic
>    blah blah blah
>    blah blah blah
>    blah blah blah
>    blah blah blah
>    </section>
>
>
> --
> Elliotte Rusty Harold  elharometalab.unc.edu
> Java I/O 2nd Edition Just Published!
> http://www.c
afeaulait.org/books/javaio2/
> http://www.amazon.com/exec/obidos/ISBN=0
596527500/ref=nosim/cafeaulaitA/
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: docbook-unsubscribelists.oasis-open.org
> For additional commands, e-mail: docbook-helplists.oasis-open.org
>
>


-- 
http://chris.chiasson.nam
e/

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-helplists.oasis-open.org

Add topic element to DocBook?
user name
2006-10-29 00:24:23
Chris Chiasson <chrischiasson.name>,
2006-10-28 15:17 -0500:

> that's invalid xml

Actually, it's not well-formed XML. Anyway, I think that's
exactly
the point was Elliotte was making. If you have content that
requires topics to cross section boundaries, you can't
represent
it XML, because it violates XML's well-formedness
contraints.

  --Mike

> On 10/27/06, Elliotte Harold <elharometalab.unc.edu> wrote:
> >Bob Stayton wrote:
> >> Hi Elliotte,
> >> I'm not clear what you meant when you said
that XML can't handle this
> >> idea of assembling topics using a mapping
element.  Can you elaborate?
> >>
> >
> >Topics can cross section boundaries, and sections
can cross topic
> >boundaries. Hence overlap. e.g.
> >
> ><topic>
> >   blah blah blah
> >   blah blah blah
> >   blah blah blah
> >   <section>
> >   blah blah blah
> >   blah blah blah
> >   blah blah blah
> >     </topic
> >   blah blah blah
> >   blah blah blah
> >   blah blah blah
> >   blah blah blah
> >   </section>
Add topic element to DocBook?
user name
2006-10-29 00:24:23
Chris Chiasson <chrischiasson.name>,
2006-10-28 15:17 -0500:

> that's invalid xml

Actually, it's not well-formed XML. Anyway, I think that's
exactly
the point was Elliotte was making. If you have content that
requires topics to cross section boundaries, you can't
represent
it XML, because it violates XML's well-formedness
contraints.

  --Mike

> On 10/27/06, Elliotte Harold <elharometalab.unc.edu> wrote:
> >Bob Stayton wrote:
> >> Hi Elliotte,
> >> I'm not clear what you meant when you said
that XML can't handle this
> >> idea of assembling topics using a mapping
element.  Can you elaborate?
> >>
> >
> >Topics can cross section boundaries, and sections
can cross topic
> >boundaries. Hence overlap. e.g.
> >
> ><topic>
> >   blah blah blah
> >   blah blah blah
> >   blah blah blah
> >   <section>
> >   blah blah blah
> >   blah blah blah
> >   blah blah blah
> >     </topic
> >   blah blah blah
> >   blah blah blah
> >   blah blah blah
> >   blah blah blah
> >   </section>
Add topic element to DocBook?
user name
2006-10-29 00:48:44
Michael(tm) Smith wrote:
> Chris Chiasson <chrischiasson.name>,
2006-10-28 15:17 -0500:
> 
>> that's invalid xml
> 
> Actually, it's not well-formed XML. Anyway, I think
that's exactly
> the point was Elliotte was making. If you have content
that
> requires topics to cross section boundaries, you can't
represent
> it XML, because it violates XML's well-formedness
contraints.

Yes, that was essentially my point. It sounds to me like
what's being 
suggested here  would amount to two parallel hierarchies:
one for parts, 
chapters, and sections; and one for topics.

XML is very bad at representing parallel hierarchies, even
if you can 
manage to avoid overlap. My gut feeling is that DocBook
should stick to 
what it is and avoid topics completely.

-- 
Elliotte Rusty Harold  elharometalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.c
afeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0
596527500/ref=nosim/cafeaulaitA/

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-helplists.oasis-open.org

Add topic element to DocBook?
user name
2006-10-29 00:48:44
Michael(tm) Smith wrote:
> Chris Chiasson <chrischiasson.name>,
2006-10-28 15:17 -0500:
> 
>> that's invalid xml
> 
> Actually, it's not well-formed XML. Anyway, I think
that's exactly
> the point was Elliotte was making. If you have content
that
> requires topics to cross section boundaries, you can't
represent
> it XML, because it violates XML's well-formedness
contraints.

Yes, that was essentially my point. It sounds to me like
what's being 
suggested here  would amount to two parallel hierarchies:
one for parts, 
chapters, and sections; and one for topics.

XML is very bad at representing parallel hierarchies, even
if you can 
manage to avoid overlap. My gut feeling is that DocBook
should stick to 
what it is and avoid topics completely.

-- 
Elliotte Rusty Harold  elharometalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.c
afeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0
596527500/ref=nosim/cafeaulaitA/

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-helplists.oasis-open.org

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )