|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: differences in methods of inserting a space in HTM
At 2002-01-22 11:48 -0500, Saverio Perugini wrote:
What are the differences in the following methods of inserting a space into an HTML file produced from an XML file and XSLT template with <xsl:output method="html"/>? But you are using a feature of XSLT that is not required to be supported by a processor: Ref. 16.4: An XSLT processor is not required to support disabling output escaping. What are the consequences of using each? Someone using your stylesheet may not be using a processor that supports the attribute you've chosen to use. The consequence is that they will get that text as visible text in their result. Is there a preferred/correct method? None of the above. Use   or   or   (note your typos above) in your stylesheet and let the XSLT processor recognize the HTML output method and put out if it chooses to. Even if it doesn't choose to, it will still put out a character acceptable to user agents. If you *really* want to see in your stylesheet, then create an entity declaration in the internal declaration subset of your stylesheet. I hope this helps. ......................... Ken
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 (Fax:-0995) ISBN 0-13-065196-6 Definitive XSLT & XPath ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-07-1 Practical Formatting Using XSLFO XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed), articles, training(instructor-live,Internet-live,web/CD,licensed) Next public training: 02-02-11,12,14,15,18,21,03-04,05,06,08,11, - 04-08,09,10,12,05-14,15,06-04,07 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








