Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

XSL comment in code that isnt rendered in the html

  • 22-02-2010 03: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,924 ✭✭✭ronivek


    That directive explicitly places a comment in the output.

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


Advertisement
Advertisement