Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Joined: Jan 04, 2005
Mar 30, 2005 08:19:00
I am trying to create an XHTML doc using an XSL file
I have the following declaration at the top of the XSL but the file is still being output as XML
utput method="xml" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" indent="no" encoding="UTF-8" />
Any ideas whats wrong?
[ML]Edit Comment: Disabled smiles in this post.
[ April 02, 2005: Message edited by: Madhav Lakkapragada ]
Joined: Jun 03, 2000
Apr 02, 2005 19:05:00
Its hard for me to say what's wrong just based on the
element posted. Also, its hard to understand why you think the output is in XML format. After all, XHTML is well-formed HTML.
discusses an example style sheet to convert into XHTML. You might want to compare notes with the style sheet declaration in that link.
Hope this helps.
Take a Minute, Donate an Hour, Change a Life
subject: XHTML issue
DTD for XSL-Tags ?
Getting error in XSL Transformation
Error:The XML page cannot be displayed Cannot view XML input using style sheet
JSF and Safari
How to use RichFaces in "normal" JSF
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013