[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: jade (v1.0.92) & before-row-border

Subject: Re: jade (v1.0.92) & before-row-border
From: Henry Thompson <ht@xxxxxxxxxxxxxxx>
Date: 18 Feb 1998 09:22:44 +0000
row border
Tony Graham <tgraham@xxxxxxxxxxxxxxxx> writes:

> At 17 Feb 1998 17:32 -0600, Glenn R. Kronschnabl wrote:
>  > I am using xslj (0.4) ->jade (1.0.92)
>  > 
>  > And I have something like:
>  > 
>  >   <table space-before="36pt"
>  >          before-row-border="true"
>  >           etc
>  > 
>  > which gets translated into the .dsl file as:
>  > 
>  > (make table
>  > space-before: "36pt"
>  > before-row-border: "true"
>  >    etc
>  > 
>  > The problem is jade won't except the value specified for before-row-border and 
>  > I can't figure out what jade wants.  Here is the error message:
> . . .
> 
> before-row-border may have the values #f, #t, or an unlabelled
> sosofo.  A correct specification is:
> 
> before-row-border: #t
> 
> I suspect you have found an xslj bug.  The Jade stylesheet should not
> have the quotes around the #t.
> 

In principle, this should work, per the following from James's notes
on the experimental DSSSL extensions:

> Characteristic value conversion

> Most characteristic values can now be specified as strings and will be
> converted appropriately. For boolean valued characteristics any of the
> strings "true", "false", "yes" and "no" are acceptable.

However, I suspect that because before-row-border is not strictly
speaking a boolean-valued characteristic, this clause doesn't apply.
I'll see what I can do to fix this in xslj, but the omens aren't good.

The following workaround will work in the meantime:

<table space-before="36pt"
                     before-row-border='=true'
                     ...>

-- 
Henry S. Thompson, Human Communication Research Centre, University of Edinburgh
      2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
               Fax: (44) 131 650-4587, e-mail: ht@xxxxxxxxxxxxxxx  
                      URL: http://www.cogsci.ed.ac.uk/~ht/



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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.