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

valid HTML via XT/XP and a ns statement in the stylesheet ta

Subject: valid HTML via XT/XP and a ns statement in the stylesheet tag
From: Ed Nixon <ed.nixon@xxxxxxxxxxxxxxxxx>
Date: Thu, 22 Oct 1998 19:07:19 -0400
xp stylesheet
James Clark posted some name-space syntax a month or so ago that, when inserted 
into the xml:stylesheet begin tag, generated a valid HTML document. My 
apologies but could someone please pass that along to me again. I'm trying what 
I think I remember in a small example with the latest version of XT and I'm 
getting name-space syntax inserted into the html tag rather than a DOCTYPE 
statement. For example here is one thing I've tried (unsuccessfully):

<?xml version="1.0" encoding="ISO-8859-1"?>

and further given:

<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:template match="/">
	<head><title>this is XSL!!!</title></head>

<xsl:template match="collection">
        <xsl:process select="b"/>
        <xsl:process select="a"/>
        <xsl:process select="c"/>

I get:

<html xmlns:html="http://www.w3.org/TR/REC-html40/">
<head><title>this is XSL!!!</title></head>

[Incidentally, the XT output contains no line breaks.] Obviously, this does not 

You'll probably recognize some aspects of the example from another thread 
running on this list.

Any help would be greatfully appreciated.				...edN

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

Current Thread


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.
First Name
Last Name
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.