xml attribute as css

Discussion in 'ASP .Net' started by ampeloso@gmail.com, Oct 25, 2006.

  1. Guest

    Hello,
    I'd like to use an attribute in an xml file as a css class.
    I am binding a treeview to an xml file and want different colors.
    Has anyone tried this? If any help would be appreciated.

    Thanks
    Mike
    , Oct 25, 2006
    #1
    1. Advertising

  2. Check out: http://msdn2.microsoft.com/en-us/library/ykzx33wh.aspx

    DOTNET 2.0 gives us the Skin class and Skin files. These are all XML
    representation of how your application should look on a control by control
    bases. You can even have 2 or 3 skin choices per control. Much better than
    using CSS and more portable.

    -Timothy

    <> wrote in message
    news:...
    > Hello,
    > I'd like to use an attribute in an xml file as a css class.
    > I am binding a treeview to an xml file and want different colors.
    > Has anyone tried this? If any help would be appreciated.
    >
    > Thanks
    > Mike
    >
    Timothy H. Schilbach, Oct 25, 2006
    #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. Bostonasian
    Replies:
    1
    Views:
    809
    Joris Gillis
    Sep 18, 2005
  2. Replies:
    2
    Views:
    1,066
    Henry S. Thompson
    Mar 6, 2006
  3. Donnal Walter

    class attribute to instance attribute

    Donnal Walter, Jun 30, 2005, in forum: Python
    Replies:
    4
    Views:
    448
    Greg Ewing
    Jul 6, 2005
  4. Pradeep

    XML, XSL, CSS attribute issue

    Pradeep, Jan 16, 2008, in forum: HTML
    Replies:
    2
    Views:
    435
    Harlan Messinger
    Jan 16, 2008
  5. Pradeep
    Replies:
    5
    Views:
    453
    Pavel Lepin
    Jan 16, 2008
Loading...

Share This Page