[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL: xt question
> 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
|
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
|