Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

XML data in aspx

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Looch - 14 Feb 2008 17:08 GMT
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.
Peter Bromberg [C# MVP] - 14 Feb 2008 17:30 GMT
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 

> Hi All,
>
[quoted text clipped - 4 lines]
>
> Thanks for any suggestions.
Martin Honnen - 15 Feb 2008 16:30 GMT
> 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.

Signature

    Martin Honnen --- MVP XML
    http://JavaScript.FAQTs.com/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.