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. General Programming
  3. C#
  4. C# XML Documentation comments - any way to make the HTML cross-browser?

C# XML Documentation comments - any way to make the HTML cross-browser?

Scheduled Pinned Locked Moved C#
csharphtmlvisual-studiowindows-admintools
3 Posts 2 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.
  • J Offline
    J Offline
    jimf1inmd
    wrote on last edited by
    #1

    Good morning. In case it matters, I am using Windows XP SP2 and Visual Studio .NET 2003 Enterprise (VS2003). I am just starting a new project and decided to use the XML-based documentation comments. I am currently using VS2003's built-in option to create HTML files (Tools | Build Comment Web Pages). After noticing the files weren't working in IE (due to the restricted zone problem in SP2), I created a virtual directory under IIS and loaded the files from there. Now the pages work fine in IE. However, the files won't work correctly in Mozilla 1.7.5 or Firefox 1.0.1. I assume that the problem is that the HTML files written using document.all as opposed to document.getElementById(). Does anybody have a work-around to make cross-browser friendly HTML pages? Thanks, Jim.

    L 1 Reply Last reply
    0
    • J jimf1inmd

      Good morning. In case it matters, I am using Windows XP SP2 and Visual Studio .NET 2003 Enterprise (VS2003). I am just starting a new project and decided to use the XML-based documentation comments. I am currently using VS2003's built-in option to create HTML files (Tools | Build Comment Web Pages). After noticing the files weren't working in IE (due to the restricted zone problem in SP2), I created a virtual directory under IIS and loaded the files from there. Now the pages work fine in IE. However, the files won't work correctly in Mozilla 1.7.5 or Firefox 1.0.1. I assume that the problem is that the HTML files written using document.all as opposed to document.getElementById(). Does anybody have a work-around to make cross-browser friendly HTML pages? Thanks, Jim.

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      Use NDoc. xacc-ide 0.0.15 now with C#, MSIL, C, XML, ASP.NET, Nemerle, MyXaml and HLSL coloring - Screenshots

      J 1 Reply Last reply
      0
      • L leppie

        Use NDoc. xacc-ide 0.0.15 now with C#, MSIL, C, XML, ASP.NET, Nemerle, MyXaml and HLSL coloring - Screenshots

        J Offline
        J Offline
        jimf1inmd
        wrote on last edited by
        #3

        Thanks for the information. Found NDoc at http://ndoc.sourceforge.net/[^], and after some fiddling got it to output what I wanted. The article at http://sourceforge.net/tracker/index.php?func=detail&aid=987533&group_id=36057&atid=416078[^] helped in that regard (setting the visibility of DocumentInternals to True). Thanks again, Jim.

        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