Subject: Re: [xsl] XHTML+XSL --> XSL From: Antonio Fiol <fiol@xxxxxxxxxx> Date: Wed, 22 May 2002 11:47:05 +0200 |
What you need is probably simplified stylesheet syntax, aka "Literal Result Element as Stylesheet", see http://www.w3.org/TR/xslt.html#result-element-stylesheet
This way xslt instructions can be embedded into any xml document.
You have just declare xsl namespace and provide xsl:version attribute.
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <head> <title>Some title with weird entities like éî</title> </head> <body> <xsl:value-of select="/doc/somenode/something" /> <xsl:apply-templates select="/doc/otherthings" /> </body> </html>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XHTML+XSL --> XSL, Oleg Tkachenko | Thread | [xsl] XML Reorganisation, Andrew Timberlake |
Re: [xsl] finding whether starts-wi, Oleg Tkachenko | Date | Re: [xsl] finding whether starts-wi, Jarkko . Moilanen |
Month |