Re: XSL: xt question

Subject: Re: XSL: xt question
From: alex@xxxxxxxxxxxxxx
Date: 18 Sep 1998 09:12:20 -0700
Date: Fri, 18 Sep 1998 09:12:20 -0700 (PDT)
> I am trying to use xt and I want to be able to spit
> out a single '<BR>' in a template, but everything I have
> tried fails.  I know this is partly the blame of 
> the browsers, since <BR/> is the proper way, but
> netscape at least ignores that.  I have tried
> <xsl:text> etc?   Also, is there an example that shows how I could create
> a hyperlinked TOC to different sections in a xt generated
> file in a single pass?  The examples I have seen use a post-processor
> to do it.  I assume I need to do something with <xsl:id>
> but its not clear from the docs.

You need to have a version of XT that knows how to output HTML documents.
For example, HTML has a known document type and, thus, a known set of
empty elements.  These syntactic issues can be solve by an XSL processor
recognizing that any document root of 'html' in the resulting tree is an 
HTML document and should conform to the HTML (SGML) syntax.

It is really not that hard of a bit of code to write,... ;-)

=============================================================================
R. Alexander Milowski      alex@xxxxxxxxxxxxxx     (650) 858-4985       v|e|o
                          MOS | sed s/SG/X/g > DYX


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


Current Thread