Subject: Re: XML to HTML problem From: "Larry Mason" <Larry_Mason@xxxxxx> Date: Fri, 3 Mar 2000 16:25:58 -0600 |
You missed a < in front of xsl:value-of Neelam Checknita <NChecknita@xxxxxxxxxxxxx> on 03/03/2000 03:30:00 PM Please respond to xsl-list@xxxxxxxxxxxxxxxx To: "'xsl-list@xxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxx> cc: (bcc: Larry Mason/Dallas/US/i2Tech) Subject: XML to HTML problem 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> </body> </html> HTML result: <html> <head> <title>Greeting</title> </head> <body>Words of greeting:<br> <b><i> <u>xsl:value-of select="greeting"/></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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: XML to HTML problem, Michel CASABIANCA | Thread | RE: XML to HTML problem, Neelam Checknita |
converting xsl to html, Neelam Checknita | Date | Re: XT Extension functions, Eric van der Vlist |
Month |