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

Re: XML to HTML problem

Subject: Re: XML to HTML problem
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Fri, 03 Mar 2000 23:30:25 +0100
html vlist

Neelam Checknita wrote:
> 
> Hi,
> 
> I'm trying to develop a servlet that will take an xslt doc and and xml doc,
> and spit out an html doc.  However, I'm having some problems.
> The html document that gets produced still has the xsl tags in it!  How do I
> get rid of these?  (PS, i've used both oracle xsl api and xalan,
> both produce similar results)
> 
> Here's the date I used (very simple)
> 
> XML:
> <?xml version="1.0"?>
> <?xml-stylesheet type="text/xsl"?>
> <greeting>
> Hello World.
> </greeting>
> 
> XSL:
> <?xml version="1.0"?>
> <html xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xsl:version="1.0">
> <head><title>Greeting</title></head>
> <body>Words of greeting:<br/>
>         <b><i><u>xsl:value-of select="greeting"/></u></i></b>

this should be
         <b><i><u><xsl:value-of select="greeting"/></u></i></b>
                  < is missing.
                  

> </body>
> </html>
> 
> HTML result:
> <html>
> <head>
> <title>Greeting</title>
> </head>
> <body>Words of greeting:<br>
> <b><i>
> <u>xsl:value-of select="greeting"/&gt;</u>
> </i></b>
> </body>
> </html>
> 
> is there something wrong with either the template or the xml doc?
> 
> Thanks!!
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Eric

-- 
------------------------------------------------------------------------
Eric van der Vlist                                              Dyomedea

http://www.dyomedea.com                          http://www.ducotede.com
------------------------------------------------------------------------


 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.