Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XHTML issue

 
Sarah Shay
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

<xslutput 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?

Thanks

[ML]Edit Comment: Disabled smiles in this post.
[ April 02, 2005: Message edited by: Madhav Lakkapragada ]
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its hard for me to say what's wrong just based on the output element posted. Also, its hard to understand why you think the output is in XML format. After all, XHTML is well-formed HTML.

This link 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.

- m
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic