XML data in aspx

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Looch

    XML data in aspx

    Hi All,

    Is there a VS2005 control that can use an XML file as its source and
    show the resulting XML file contents? Similar to opening the XML file
    in a new browser window, but the file data is actually shown within
    the control that is on an aspx page.

    Thanks for any suggestions.
  • =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=

    #2
    RE: XML data in aspx

    Have you looked at the Xml Control? It's right on the Toolbox. Otherwise, you
    could just use a DIV and show the xml as its InnerHtml (div runat=server).
    Or, a multiline TextBox.
    -- Peter
    Site: http://www.eggheadcafe.com
    UnBlog: http://petesbloggerama.blogspot.com
    MetaFinder: http://www.blogmetafinder.com


    "Looch" wrote:
    Hi All,
    >
    Is there a VS2005 control that can use an XML file as its source and
    show the resulting XML file contents? Similar to opening the XML file
    in a new browser window, but the file data is actually shown within
    the control that is on an aspx page.
    >
    Thanks for any suggestions.
    >

    Comment

    • Martin Honnen

      #3
      Re: XML data in aspx

      Looch wrote:
      Is there a VS2005 control that can use an XML file as its source and
      show the resulting XML file contents? Similar to opening the XML file
      in a new browser window, but the file data is actually shown within
      the control that is on an aspx page.
      With the Xml control you would need a fitting XSLT stylesheet.
      Or you switch to Oleg Tkachenko's eXml control
      <URL:http://www.xmllab.net/Products/eXml/tabid/174/Default.aspx>, it has
      a property ShowFriendlyXml for nice XML output.

      --

      Martin Honnen --- MVP XML

      Comment

      Working...