|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Doctype and namespaces in source/generated files
At 2004-05-28 18:44 -0700, Mayo wrote:
I've figured out how to generate doctype for the document, but whenever I introduce That looks to me like your XSLT processor is inferring indent="yes" for <xsl:output>. This messed me up when I was trying to abut images next to each other without any space in between, yet the processor would put each image on a new line, thus introducing the new-line sequence after each one. I explicitly use <xsl:output indent="no"/> and while the resulting HTML doesn't look great in a text editor, it looks just fine in a browser, which is what is important. As a result of my own experience, when I teach about indent= I advise my students that it is fine for diagnostics but should always be indent="no" for production purposes, even when using HTML. In my case I would never have been able to get the images to abut. I hope this helps. .......................... Ken -- Public courses: Spring 2004 world tour of hands-on XSL instruction Next: 3-day XSLT/XPath; 2-day XSL-FO - Birmingham, UK June 14,2004 World-wide on-site corporate, govt. & user group XML/XSL training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








