Altova Mailing List Archives

Re: [xsl] cannot transform to

From: Ryan Neil Gillespie <scoobie@-------->
Date: 7/21/2002 2:18:00 PM
I think you want this instead for your stylesheet. Try it, but I'm new to

<?xml version="1.0" encoding="UTF-8"?>
     <xsl:template match="/">


On Sun, 21 Jul 2002, Phillip Rhodes wrote:

> Hi everyone,
> I created an xsl file that will generate an xhtml file.  With the xhtml
> file, I run it through an xhtml to fo converter (another xsl
> file
> My problem is that the xhtml to fo conversion does not work unless the html
> element appears as:
> <html xmlns="">
> </html>
> Unfortunately, my xhtml file's html element(after transformation) is:
> <html xmlns:html="">
> </html>
> I have the following stylesheet that does my transformation to xhtml:
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet
> xmlns:xsl=""
> xmlns:html=""
> version="1.0">
>     <xsl:template match="/">
>        <html>
>        </html>
>     </xsl:template>
> </xsl:stylesheet>
> It generates the following:
> <?xml version="1.0" encoding="UTF-8"?>
> <html xmlns:html="">
> </html>
> I want it to generate:
> <?xml version="1.0" encoding="UTF-8"?>
> <html xmlns="">
> </html>

 XSL-List info and archive:


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.