- From: David Carlisle <davidc@nag.co.uk>
- Date: Fri, 22 Jun 2012 14:31:03 +0100
- To: Robin Berjon <robin@berjon.com>
- Cc: spec-prod Prod <spec-prod@w3.org>
- Message-ID: <4FE47397.3030404@nag.co.uk>
Interesting... For those of us using xmlspec, I don't suppose you could offer xml as well as json? It doesn't make it much easier but it might make it a bit easier: the json parsing in the following is a bit flaky and it would probably be easier for the server just to serve the structure it had? If not, the json parsing could of course be improved, this is just a quick test of your server:). Anyway: $ saxon9 -it webref refbib.xsl q=MATHML,SVG produces <blist> <bibl id="MATHML"> <phrase role="href">http://www.w3.org/TR/MathML/</phrase> <phrase role="title">Mathematical Markup Language (MathML)</phrase> <phrase role="authors"> <phrase role="author">authors</phrase> <phrase role="author">David Carlisle</phrase> <phrase role="author">Patrick Ion</phrase> <phrase role="author">Robert Miner</phrase> </phrase> <phrase role="publisher">W3C</phrase> </bibl> <bibl id="SVG"> <phrase role="href">http://www.w3.org/TR/SVG/</phrase> <phrase role="title">Scalable Vector Graphics (SVG)</phrase> <phrase role="authors"> <phrase role="author">authors</phrase> <phrase role="author">O. Andersson</phrase> <phrase role="author">R. Berjon</phrase> <phrase role="author">E. Dahlström</phrase> <phrase role="author">A. Emmons</phrase> <phrase role="author">J. Ferraiolo</phrase> <phrase role="author">A. Grasso</phrase> <phrase role="author">V. Hardy</phrase> <phrase role="author">S. Hayman</phrase> <phrase role="author">D. Jackson</phrase> <phrase role="author">C. Lilley</phrase> <phrase role="author">C. McCormack</phrase> <phrase role="author">A. Neumann</phrase> <phrase role="author">C. Northway</phrase> <phrase role="author">A. Quint</phrase> <phrase role="author">N. Ramani</phrase> <phrase role="author">Doug Schepers</phrase> <phrase role="author">A. Shellshear</phrase> </phrase> <phrase role="publisher">W3C</phrase> </bibl> </blist> where refbib.xsl is attached I note that q=MATHML returns the latest MathML draft in TR. I don't really mind but the notes imply it perhaps ought to return the editors' draft (or there should be another ID that returns the editors' draft?) which would be https://www.w3.org/Math/Group/draft-spec/ rather than http://www.w3.org/TR/MathML/ 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. ________________________________________________________________________
Attachments
- text/xml attachment: refbib.xsl
Received on Friday, 22 June 2012 13:31:34 UTC