Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • dominik 711 posts 733 karma points
    Mar 14, 2011 @ 14:18
    dominik
    0

    XHTML validation

    Hello if i try to validate my website there is a problem inside the html

    It generates a line like:

    <?xml version="1.0" encoding="utf-16"?>

    In the HTML - is there a way to remove this line out of the macro?

     

    Thanks

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Mar 14, 2011 @ 15:55
    Lee Kelleher
    1

    Hi dominik,

    In your XSLT stylesheet add the following straight-after the <xsl:stylesheet> opening tag:

    <xsl:output method="xml" omit-xml-declaration="yes"/>

    Cheers, Lee.

Please Sign in or register to post replies

Write your reply to:

Draft