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

RE: Formatting text to include html tags...?

Subject: RE: Formatting text to include html tags...?
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Mon, 5 Nov 2001 11:54:00 -0000
xsl html tags formatting
Use <xsl:copy-of> instead of <xsl:value-of>

Mike Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Ragulf
> Pickaxe
> Sent: 05 November 2001 09:54
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Formatting text to include html tags...?
> Hello again problem solvers
> I have another problem that I hope you can help me with, 
> which is somewhat 
> the opposite of a problem I posted last week.
> I have an xml document like this:
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <?xml:stylesheet type="text/xsl" href="Test.xsl"?>
> <Test>
> 	This <B>is <I>a </I>Test</B>.
> </Test>
> And an xsl document to output it on a browser:
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
> version="1.0">
> <xsl:template match="/">
> 	<html>
> 		<body>
> 			<xsl:value-of select="Test"/>
> 		</body>
> 	</html>
> </xsl:template>
> </xsl:transform>
> Output is:
> This is a Test.
> That is, without any of the tags being in effect.
> Is there a way that I can do this? The solution should also 
> enable newline 
> (<br/>) tags, if possible.
> Thanks in advance
> Ragulf Pickaxe :)
> _________________________________________________________________
> Get your FREE download of MSN Explorer at 

 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


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.