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

Re: using xslj and jade to produce html - a beginner's quest

Subject: Re: using xslj and jade to produce html - a beginner's question
From: ht@xxxxxxxxxxxxxxx (Henry S. Thompson)
Date: 23 Apr 1998 09:42:59 +0100
jade html to xml
"Kent Fitch" <kent.fitch@xxxxxxxxxxxx> writes:

> I successfully used the Microsoft xsl tool to convert
> xml into html, but needing something which would also
> run under UNIX, I'm trying to understand xslj and Jade.  
> 
> The samples worked fine, but when I modified them to
> included an HTML tag in the xsl, problems started.
> 
> For example, the sample as supplied doesnt produce
> a list rendered until IE or netscape.  So, I tried
> to add <UL>...</UL> and <LI>..</LI> both as is and
> lowercase and within <literal>...</literal> with
> no success, eg:
> 
> xslj:hsimplekf1.xsl:88:13:E: element "UL" undefined
> xslj:hsimplekf1.xsl:88:10:W: unknown flow-object spec or macro

Two things are at issue here:

1) As you didn't quite say above, if IE or Netscape had implemented
CSS1 as speced, you could just use <DIV list-style-type='...'> and
<P display='list-item'>, but they haven't so you can't (yet);

2) The fact that you get validation error messages doesn't mean you didn't get
output -- this is XML, remember, so well-formed is good enough!  You
can indeed use the userfos.dtd facility (see xsl.dtd for an example)
to get rid of the error and improve validation of your style sheets.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, 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.ltg.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.