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

RE: Transforming XHTML possible?

Subject: RE: Transforming XHTML possible?
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Fri, 13 Apr 2001 17:59:08 +0100
transforming xhtml xmlns
Dwight,
Seems to work fine here and produces

<?xml version="1.0" encoding="UTF-8" ?>
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Testing Title</title>
</head>
<body>
<p>Test</p>
</body>
</html>

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


>-----Original Message-----
>From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of dwight funk
>Sent: 13 April 2001 16:21
>To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>Subject:  Transforming XHTML possible?
>
>
>
>Is it possible to transform XHTML ?
>
>I have created what I think is a most basic example. The XHTML is by the
>standard. The style sheet should merely "copy" the XHTML from input to
>output. It looks to me like the xPath queries are not working. I'm using
>MSXML3. What am I missing ?  Why doesn't this simple example work ?  Are my
>copy templates missing something ?
>
>Dwight Funk
>POWERWAY, Inc.
>
>
>---------------TEST.XML---------------------------------------------------
><?xml version="1.0" encoding="UTF-8"?>
>
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
>
>	<head>
>		<title>Testing Title</title>
>	</head>
>
>	<body>
>		<p>Test</p>
>	</body>
>
></html>
>---------------TEST.XML---------------------------------------------------
>
>---------------TEST.XSL---------------------------------------------------
><?xml version="1.0" encoding="UTF-8"?>
>
><xsl:stylesheet	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>version="1.0">
>
>	<xsl:output method="xml" encoding="UTF-8"/>
>
>	<!-- Match the root node -->
>	<xsl:template match="/">
>		<xsl:apply-templates select="*"/>
>	</xsl:template>
>
>	<!-- Handle any node not yet matched -->
>	<xsl:template match="*|@*|text()|comment()">
>		<xsl:copy>
>			<xsl:apply-templates
>select="*|@*|text()|comment()"/>
>		</xsl:copy>
>	</xsl:template>
>
></xsl:stylesheet>
>---------------TEST.XSL---------------------------------------------------
>MESSAGE IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL OR ENTITY
>TO WHICH IT
>IS ADDRESSED AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL
>AND EXEMPT FROM DISCLOSURE. If the reader of this message is not the
>recipient or an employee or agent responsible  for delivering the
>message to
>the intended recipient, you are hereby notified that any dissemination,
>distribution, or copying of this communication is strictly prohibited.  If
>you have received this communication in error, please notify the sender
>immediately by E-Mail and return the original message to the sender.  Thank
>you.
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 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.