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
K

kerberos_prozac

@kerberos_prozac
About
Posts
4
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How long can a product be in beta?
    K kerberos_prozac

    for me, it means like ... "use it, but if it crash your computer no responsabilities can be held against the provider"

    The Lounge com data-structures beta-testing question

  • XML Heeeelp !
    K kerberos_prozac

    hi, i am facing this trouble (pretty obvious tho') im working with a xmldocument, the trick is this is coming with some empty attributes i want to browse for the empty attributes and to get rid of them this is the example of what do i receive and under is what ive tried it does only displays the name of the empty attribute but do not know how to erase that from the node SO MANY THANKS IN ADVANCE, PEOPLE !!! =========================================================== NOW IS LIKE : example attrib1="" attrib2="yes" attrib3="no" attrib4="" node attribX="" ----------------------------------------------------------- SHOULD BE LIKE : example attrib2="yes" attrib3="no" node =========================================================== XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load("nuevo.xml"); XmlNodeList nodes = xmlDoc.SelectNodes("//@*"); foreach(XmlNode node in nodes) { if (node.Value.ToString() == "") { Console.WriteLine(node.Name.ToString()); } } Console.ReadLine();

    C# tutorial xml

  • Removing empty attributes in xmldocument
    K kerberos_prozac

    heeeelp !

    C# tutorial xml

  • Removing empty attributes in xmldocument
    K kerberos_prozac

    hi, i am facing this trouble (pretty obvious tho') im working with a xmldocument, the trick is this is coming with some empty attributes i want to browse for the empty attributes and to get rid of them this is the example of what do i receive and under is what ive tried it does only displays the name of the empty attribute but do not know how to erase that from the node SO MANY THANKS IN ADVANCE, PEOPLE !!! =========================================================== NOW IS LIKE : example attrib1="" attrib2="yes" attrib3="no" attrib4="" node attribX="" ----------------------------------------------------------- SHOULD BE LIKE : example attrib2="yes" attrib3="no" node =========================================================== XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load("nuevo.xml"); XmlNodeList nodes = xmlDoc.SelectNodes("//@*"); foreach(XmlNode node in nodes) { if (node.Value.ToString() == "") { Console.WriteLine(node.Name.ToString()); } } Console.ReadLine(); -- modified at 13:21 Saturday 12th November, 2005

    C# tutorial xml
  • Login

  • Don't have an account? Register

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