Subject: Re: [xsl] Disable output-escaping From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 25 Jan 2005 12:29:10 -0500 |
>>>>> "Michael" == Michael Kay <mike@xxxxxxxxxxxx> writes:
Michael> Although d-o-e is deprecated and may not work in all Michael> environments, copying unparsed HTML from a source file Michael> directly through to the serialized output of the Michael> transformation is one of the more respectable use cases Michael> for it.
No use of a deprecated facility can be considered respectable. If there are use cases that require this facility, then it should AT THE VERY LEAST, not be deprecated, and perhaps should be compulsory.
* really needs to use the serializer to solve the problem (often there's a better solution in XSLT) * respects the fact that it introduces dependencies on (a) a processor that implements d-o-e, and (b) the invocation of a serializer to write the results (i.e. you can't just pass the tree along) -- in practice this often means "won't work client-side in Mozilla" * encapsulates the logic sufficiently to mitigate these dependencies, to the extent possible (on the rare occasions I've resorted to d-o-e I've kept it separate from the main stylesheet, as a pre- or post- process) -- this eases maintenance and reuse
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Disable output-escaping, Colin Paul Adams | Thread | Re: [xsl] Disable output-escaping, Colin Paul Adams |
[xsl] format-number in XSLT 1.0, Jack Matheson | Date | RE: [xsl] format-number in XSLT 1.0, Michael Kay |
Month |