This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: output XHTML header
- From: "James Fuller" <james dot fuller at o-idev dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 27 Jun 2002 09:53:00 +0100
- Subject: Re: [xsl] output XHTML header
- Organization: o-iDeveloper ltd.
- References: <r01050300-0922-BDD17800893211D684FF3BEC4C348D3B@[10.100.10.161]>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hello Ingo,
if u are just getting started then do a little research, instead of using
the list like a calculator;
a) get a nice XSLT reference book
b) goto www.dpawson.co.uk for XSLT faq
c) have at least a once over of the XSLT spec at http://www.w3.org/TR/xslt,
they may seem a little complicated; but there is actually in the TOC an item
named "output" ......
here is the xsl:output tag
<!-- Category: top-level-element -->
<xsl:output
method = "xml" | "html" | "text" | qname-but-not-ncname
version = nmtoken
encoding = string
omit-xml-declaration = "yes" | "no"
standalone = "yes" | "no"
doctype-public = string
doctype-system = string
cdata-section-elements = qnames
indent = "yes" | "no"
media-type = string />
I leave it to you to figure it out ( btw you will also want to have
method=xhtml for those XSLT processors that support it )
as much as this list wants to help, way ( and I mean too many ) questions
that are asked are easily solved by reading the archive, doing a google
search, reading the XSLT spec ( no matter how painful it may seem at first,
its actually a pretty clear document ), or going to the FAQ; after that then
question should be presented to the list.
good luck, jim fuller
----- Original Message -----
From: "Ingo Weiss" <ingoweiss@mac.com>
To: <XSL-List@lists.mulberrytech.com>
Sent: Wednesday, June 26, 2002 11:30 PM
Subject: [xsl] output XHTML header
> Hi,
>
> I am (just getting started with XSLT and) trying to get an XHTML
> header into my output, like
>
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>
> "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.
> dtd">
>
> I couldn't figure out a way to do this without getting an error.
> How do I do that without loosing the XSLs well-formedness?
>
> Thanks!
> Ingo
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list