Encoding Data in Xslt

Discussion in 'ASP .Net' started by ABCL, Feb 13, 2007.

  1. ABCL

    ABCL Guest

    I am working on web application that Gets data from Database,generate
    XMl of it, apply Xslt and Generate Html.

    If Database has some Xss Vnurability data, How can I encode it into
    Xslt, so It displays as Text. I donot have option to encode it while
    making XMl Or as soon as Getting from Database.
    I have only option to encode it in xslt only.

    Thanks in ADvance
    ABCL, Feb 13, 2007
    #1
    1. Advertising

  2. ABCL

    Teemu Keiski Guest

    I think you'd need to ask this at microsoft.public.dotnet.xml newsgroup.
    What comes generally to XSLT, I can give a link to a great reference site:

    XSLT Questions and Answers
    http://www.dpawson.co.uk/xsl/sect2/sect21.html

    --
    Teemu Keiski
    AspInsider, ASP.NET MVP
    http://blogs.aspadvice.com/joteke
    http://teemukeiski.net


    "ABCL" <> wrote in message
    news:...
    >I am working on web application that Gets data from Database,generate
    > XMl of it, apply Xslt and Generate Html.
    >
    > If Database has some Xss Vnurability data, How can I encode it into
    > Xslt, so It displays as Text. I donot have option to encode it while
    > making XMl Or as soon as Getting from Database.
    > I have only option to encode it in xslt only.
    >
    > Thanks in ADvance
    >
    Teemu Keiski, Feb 14, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hardy Wang

    Encoding.Default and Encoding.UTF8

    Hardy Wang, Jun 8, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    18,804
    Jon Skeet [C# MVP]
    Jun 9, 2004
  2. Replies:
    1
    Views:
    23,320
    Real Gagnon
    Oct 8, 2004
  3. matatu
    Replies:
    0
    Views:
    475
    matatu
    Oct 27, 2004
  4. Replies:
    3
    Views:
    477
    Joris Gillis
    Jul 6, 2005
  5. Replies:
    2
    Views:
    355
Loading...

Share This Page