Re: XSL: xt question

Subject: Re: XSL: xt question
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxx>
Date: Fri, 18 Sep 1998 10:27:27 -0400
At 98/09/18 09:01 -0500, Glenn R. Kronschnabl wrote:
>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 too discovered that when I tried to do <HR/> ... I ended up doing <HR
width="100%"> instead and that worked.

So, just now I tried <BR/> and agree with you Netscape ignores it, so I
created  <BR bogus="bogus"/> and this version of the BR command is
respected by Netscape (since it ignores bogus attribute values).

I hope this helps.

.......... Ken

T:\FTEMP>type test.xml
<?xml version="1.0"?>

T:\FTEMP>type test.xsl
<?xml version='1.0'?>

<xsl:template match='para'>
    <xsl:process-children/><br bogus="bogus"/>


T:\FTEMP>call xsl test.xml test.xsl test.htm
T:\FTEMP>type test.htm

This<br bogus="bogus"/>
That<br bogus="bogus"/>


G. Ken Holman               mailto:gkholman@xxxxxxxxxxxxxx
Crane Softwrights Ltd.
Box 266,                                V: +1(613)489-0999
Kars, Ontario CANADA K0A-2E0            F: +1(613)489-0995

 XSL-List info and archive:

Current Thread