Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. C# code to fetch all attributes of an element

C# code to fetch all attributes of an element

Scheduled Pinned Locked Moved ASP.NET
csharphtmljsonhelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AshwiniSH
    wrote on last edited by
    #1

    I am working with C# windows application. I have html source, which im converting to html element collection. I am parsing through each element and i want to get all attributes of particular element. For eg: I want to dynamically fetch all the attributes of the above element like id, name, class. Please help me on this.

    L Kornfeld Eliyahu PeterK 2 Replies Last reply
    0
    • A AshwiniSH

      I am working with C# windows application. I have html source, which im converting to html element collection. I am parsing through each element and i want to get all attributes of particular element. For eg: I want to dynamically fetch all the attributes of the above element like id, name, class. Please help me on this.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      See http://msdn.microsoft.com/en-us/library/microsoft.exchange.data.textconverters.htmlreader(v=exchg.150).aspx[^] and possibly also http://msdn.microsoft.com/en-us/library/cc189056(v=vs.95).aspx[^].

      Veni, vidi, abiit domum

      1 Reply Last reply
      0
      • A AshwiniSH

        I am working with C# windows application. I have html source, which im converting to html element collection. I am parsing through each element and i want to get all attributes of particular element. For eg: I want to dynamically fetch all the attributes of the above element like id, name, class. Please help me on this.

        Kornfeld Eliyahu PeterK Offline
        Kornfeld Eliyahu PeterK Offline
        Kornfeld Eliyahu Peter
        wrote on last edited by
        #3

        Please do not croos-post... http://www.codeproject.com/Forums/1649/Csharp.aspx?fid=1649&tid=4696240[^]

        I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).

        "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups