Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

XSL comment in code that isnt rendered in the html

  • 22-02-2010 3:05pm
    #1
    Registered Users, Registered Users 2 Posts: 872 ✭✭✭


    Hi,

    I thought if i put some useful comments in an <xsl:comment> tag it wouldnt be rendered by the client but actually it is.

    Is there a way to insert comments in the code that are not visible in the source code ?

    Thanks


Comments

  • Registered Users, Registered Users 2 Posts: 1,916 ✭✭✭ronivek


    That directive explicitly places a comment in the output.

    Presumably you just use <!-- Your Comment Here --> as per the XML standard.


Advertisement