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

Re: Generating non-HTML in a HTML document

Subject: Re: Generating non-HTML in a HTML document
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 16 Jun 1999 09:29:23 -0700
non html trademark
At 99/06/16 16:14 +0200, Henk Fictorie wrote: 
>
> I've got the idea that I should use the NXML namespace and the XSL 
> file should be something like this: 
>
> <?xml version="1.0"?> 
> xmlns="http://www.w3.org/TR/REC-html40" 
> xmlns:henk="java:com.jclark.xsl.sax.NXMLOutputHandler" 
> result-ns="" 
> default-space="strip" 
> indent-result="no"> 


Unfortunately, you can't apply semantics to the result tree in a piecemeal
fashion.

Your result-ns="" states the semantics of the result tree are HTML ... thus
the
*entire* result tree is interpreted according to those semantics.

If you used result-ns="henk" then your *entire* result tree would have been
interpreted according to the Non-XML semantics (which wouldn't have produced
the result you desired either).

For those unaware of the NXML result tree semantics of XT, James has some
documentation in his
<http://www.jclark.com/xml/xt.html>http://www.jclark.com/xml/xt.html file.?
The
free preview section of our "Introduction to XSLT (XSL Transformations) -
Third
Edition 1999-06-08 ISBN 1-894049-00-4" also includes a short example and the
plans for the Fourth Edition include more detail of this useful environment
(for example, we use it to generate MSDOS batch files using XSL where "<" is
important for input redirection).

............ Ken 

--
G. Ken Holman                  mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.           http://www.CraneSoftwrights.com/m/
Box 266, Kars, Ontario CANADA K0A-2E0  +1(613)489-0999  (Fax:-0995)
Website: XSL/XML/DSSSL/SGML services outline,  XSL/DSSSL shareware,
         stylesheet resource library, conference training schedule,
         commercial stylesheet training materials, on-line XSL CBT.


 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.