- From: Chris Lilley <chris@w3.org>
- Date: Wed, 26 Aug 2009 11:16:00 +0200
- To: public-svg-wg@w3.org
Hello public-svg-wg, The example of using XSLT in the 1.1SE spec http://dev.w3.org/SVG/profiles/1.1F2/publish/styling.html#StylingWithXSL is missing the stylesheet PI which would cause the transformation to be run. While of course xslt could be run in batch mode to produce static svg, I think the example would be more useful if it included the PI in the input file. Particularly as the lead-in text for the example says The following example uses an external XSL style sheet to transform SVG content into modified SVG content (see Referencing external style sheets). So it would be good if the input document did, in fact, reference the external stylesheet. That brings in a question of what meda type to use. Commonly, text/xml or application/xml are used. But text/xml is deprecated and application/xml is generic, does not really identify a stylesheet language. application/xslt+xml is in the process of being registered. http://www.imc.org/ietf-xml-mime/mail-archive/msg01086.html -- Chris Lilley mailto:chris@w3.org Technical Director, Interaction Domain W3C Graphics Activity Lead Co-Chair, W3C Hypertext CG
Received on Wednesday, 26 August 2009 09:16:51 UTC