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

Re: Placing a DOCTYPE in an XSL file

Subject: Re: Placing a DOCTYPE in an XSL file
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 29 Apr 2005 22:02:51 +0100
html doctype in xsl
   Hi all..

   I need to place this definition in an XSL:

   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">

   I tried just after the prolog, and in other parts but I get always errors. Ho can I do it?

   Thanks
   Jaime

You'd use the xsl:output instruction, however be warned, if you generate
that it would be non-well formed XML. If the file is XML you have to
give a URI as well as the public identifier, and if you are generating
html then you need the public ID of the HTML DTD not anXHTML one.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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.