Copied to clipboard

Flag this post as spam?

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


  • Petr Snobelt 923 posts 1535 karma points
    Oct 19, 2010 @ 21:10
    Petr Snobelt
    0

    Inline xslt adds xml declaration to output

    Yesterday I try to use inline feature, but it adds xml declaration to output:

    code in template

    <XsltResult:XsltResult runat="server">
      <InlineXslt>
       <xsl:template match="/">
        <xsl:if test="umbraco.library:RequestCookies('prices_type')!='withoutVat'">
        checked='checked'
        </xsl:if>
       </xsl:template>
      </InlineXslt>
     </XsltResult:XsltResult>

    generated output

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

    Of course it is not only markup in template ...

     

    Petr

  • Rik Helsen 670 posts 873 karma points
    Oct 20, 2010 @ 09:40
    Rik Helsen
    0

    Be carefull, by the looks of it you won't be able to upgrade to 4.5.2 soon if you use this package..

     

     

  • Petr Snobelt 923 posts 1535 karma points
    Oct 20, 2010 @ 10:46
    Petr Snobelt
    0

    Why I'm not able to use it in 4.5.2 ?

  • Rik Helsen 670 posts 873 karma points
    Oct 20, 2010 @ 11:43
    Rik Helsen
    0

    It sais so in the downloadcenter:

  • Petr Snobelt 923 posts 1535 karma points
    Oct 20, 2010 @ 11:57
    Petr Snobelt
    0

    Hi it's only about xml schema (and I think it is not schema dependant)

  • Chris Koiak 700 posts 2626 karma points
    Oct 20, 2010 @ 17:15
    Chris Koiak
    0

    You should be able to use it in 4.5, although I've not tested it.

    I've not got the time to fix this just now, but if anyone wants to modify the source then I'll definately add then as a contributor

Please Sign in or register to post replies

Write your reply to:

Draft