Subject: Re: [xsl] output XHTML header From: "James Fuller" <james.fuller@xxxxxxxxxx> Date: Thu, 27 Jun 2002 09:53:00 +0100 |
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@xxxxxxx> To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] output XHTML header, James Fuller | Thread | RE: [xsl] output XHTML header, TSchutzerWeissmann |
Re: [xsl] output XHTML header, James Fuller | Date | Re: [xsl] remove extra chars from t, James Fuller |
Month |