Hi, Using HTML Tidy for Windows released on 1st February 2003, in order to have a clean XSL file,I use the following command line : tidy --add-xml-decl no --clean yes --doctype strict -- indent-attributes yes --indent-spaces 3 --indent yes -- input-xml yes --keep-time no --output-xml yes --quiet yes --tidy-mark no --write-back yes .\Interventions.xsl The result (only the first lines of the file) is : <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output encoding="ISO-8859-1" method="html" /> <xsl:template match="/"> <xsl:if test="wsamson/tablename = 'interventions'"> <html> <head> <style type="text/css"> th.en_tete {text-align: center; width: 600;} td.droite {text-align: right;} </style> <title>Interventions</title> Notice that the lines under the <style> are properly indented, but the </style> is in column 1. Attached is the complete XSL file.
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:21:34 GMT