Search the web
Sign In
New User? Sign Up
xml-litprog-l · Literate Programming using XML
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: xmLP table of contents   Message List  
Reply | Forward Message #185 of 238 |
Dear Charlie,

> Is there a reason why you dropped the lp:contents feature?
> Should I be posting these messages to xml-litprog-l? I posted
> one yesterday.

I dropped it because it was unnecessary, in a sense that I will explain.
The xmLP view is that XML should be converted to a readable format using
generic tools (e.g. XSL-T and/or XSL-FO), so all the xmLP weaver does is
add just enough information so that you can write XSL-T scripts to
generate the documentation without having to understand the business
logic of xmLP.

The problem with the table of contents is that it has its own business
logic (i.e. in how you decide what is or isn't in the table of
contents), and I can't second guess that in xmLP. So, I dropped the
lp:contents element. Where people want to generate a table of contents,
I strongly recommend that they add their own "contents" element to the
literate XML, and replace it appropriately (after xmLP processing) when
converting to a readable format. You can then add xmLP macro
definitions (or not) or anything else to your table of contents.

And yes, xml-litprog-l is a good place for such questions, by all means.

Cheers,
Tony.
========
Anthony B. Coates
XML & Search Architect
Chief Technology Office
Reuters Plc, London.
Tony.Coates@...
========


-------------------------------------------------------------- --
Visit our Internet site at http://www.reuters.com

Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Reuters Ltd.



Tue May 14, 2002 1:10 pm

ozabcoates
Offline Offline
Send Email Send Email

Forward
Message #185 of 238 |
Expand Messages Author Sort by Date

Dear Charlie, ... I dropped it because it was unnecessary, in a sense that I will explain. The xmLP view is that XML should be converted to a readable format...
Tony Coates
ozabcoates
Offline Send Email
May 14, 2002
1:10 pm

... Oh yes please! I was so delighted to see an on-topic message from a group so quiet I didn't even remember I am subscribing it....
Johannes Hüsing
tmi0m0@...
Send Email
May 15, 2002
5:49 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help