RE: Quick TOC with XMLSpec

Hello Antoine,

I haven't done a quick table of contents like that shown, but I have created
a toc that incorporates other things than just headings [1].  

I think it's just a question of adapting the XSLT used with XMLspec. You
don't need to adapt the DTD at all. If you're familiar with XSLT, that's
fairly simple to do.  Just take a copy of the main toc and cut it down a
little.

Btw, in case it helps, I think the main thing you have to focus on to
understand XMLSpec is the tables in section 7 of the documentation (assuming
the docn for 2.1 is still the latest).  I use a doctored version of this at
[2] where I added a row at the bottom of the tables containing element names
to help me see clearer (red stuff is things I added to the DTD).

RI


[1] http://www.w3.org/International/geo/html-tech/tech-lang.html#contents

[2] http://people.w3.org/rishida/misc/xmlspec-guide.html#inlines

============
Richard Ishida
W3C

contact info:
http://www.w3.org/People/Ishida/ 

W3C Internationalization:
http://www.w3.org/International/ 

Publication blog:
http://people.w3.org/rishida/blog/
 
 

> -----Original Message-----
> From: spec-prod-request@w3.org 
> [mailto:spec-prod-request@w3.org] On Behalf Of Antoine Quint
> Sent: 24 November 2004 13:48
> To: spec-prod@w3.org
> Subject: Quick TOC with XMLSpec
> 
> Hello,
> 
> I am the co-editor of the new documents for the Compound 
> Document Framework WG. One of the first resolution of this 
> working group was to use XMLSpec for the editing of documents 
> in order to ensure minimal headaches with pubrules and 
> correct styling. Given the heavy structure of the 
> requirements and use cases document we are currently putting 
> together, I would like to use a quick table of contents as 
> used in the SMIL Animation spec [0]. Is such a thing possible 
> with XMLSpec (I'm still learning to use the XMLSpec grammar 
> right)? If not, what route should I follow to update the 
> tools with this capability? Thanks,
> 
> Antoine
> 
> [0] http://www.w3.org/TR/smil-animation/
> -- 
> Antoine Quint <aq@fuchsia-design.com>
> W3C Invited Expert (SVG and CDF)
> SVG Consulting and Outsourcing
> http://svg.org/user/uid:2/diary
> 

Received on Thursday, 25 November 2004 11:35:36 UTC