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 3945 posts 15163 karma points MVP 10x 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.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies