Re: XSL dependency to SGML apps

Subject: Re: XSL dependency to SGML apps
From: Chris Maden <crism@xxxxxxxxxxx>
Date: Mon, 1 Feb 1999 16:22:40 -0500 (EST)
[Didier PH Martin]
> In was reading (for the nth time) the XSL spec and found a chapter
> that indicates a possible dependency toward a specific SGML
> application. What the spec don't say is: is this retricted to only a
> certain family of SGML apps (HTML) or this could be any type of SGML
> apps. How do you interpret this?
> 
> Spec Extract:
> ------------------------
> NOTE: If an implementation wishes to use something in the result
> tree or stylesheet to control the output of a non-XML representation
> of the result tree, it should use the result namespace. In
> particular, if it wishes to make use of something in the result tree
> or stylesheet to indicate that the result tree should be output as
> HTML that conforms to the HTML 4.0 Recommendation rather than as
> XML, it should use a result namespace of
> http://www.w3.org/TR/REC-html40; for example,

It's a note.  It's non-normative.  It suggests that, if a given
(unspecified) application wishes to instantiate the result tree as
something other than XML, it might be a good idea to use the result
namespace to drive that.  For example, if the result namespace is that
of HTML 4.0, then using HTML 4.0's recommended serialization (an HTML
4.0 document) would be appropriate.  If the result namespace is
recognized as using element type names derived from LaTeX's document
class, then offering the user an option to serialize as LaTeX might
make sense.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread