W3C home > Mailing lists > Public > spec-prod@w3.org > October to December 2007

Re: Some XSLT hacks for xmlspec documents

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 24 Oct 2007 23:02:51 +0100
Message-Id: <200710242202.l9OM2pcN029977@edinburgh.nag.co.uk>
To: jrabin@mtld.mobi
Cc: spec-prod@w3.org


> I made a couple of other fixes to the standard XSLT but the one that
> probably needs doing the most that I haven't done is that a list inside
> a paragraph in xmlspec generates invalid XHTML. It's easy enough to
> avoid, which is why I haven't fixed it.

The version of the stylesheet used for the mathml spec has had some code
to do that (since before XSLt 1 was a REC:-) I should probably simplify
it these days using XSLT2 but it works well enough, lifting any block
level element, not just lists, out of a p. 

> I'd have much preferred to provide for the literal inclusion of CSS from
> an additional file but haven't figured out how to do this simply
> [document(), no; unparsed-text(), no; xinclude, needs two passes ...].

why no for unparsed-text() ? The stylesheets work with just some minor
adjustments with XSLT 2 then unparsed-text ought to work well for
including css files as literal text. The MathML3 drafts are all produced
using xslt2 (saxon 8) using the xmlspec derived styleshseets at
Math/Group/Math/Group/spec/style/html/
	

> - make editors notes behave differently
something we find useful sometimes is that all (open) editors notes are
collected on the front page together with links back to the note and
also into the W3C Wiki (which means wiki pages for discusisng any issue
get created on demand by following the links) 
see
http://www.w3.org/Math/Group/draft-spec/#openissues


David



________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
Received on Wednesday, 24 October 2007 22:03:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:19:14 GMT