473,729 Members | 2,335 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Rendering using XML and XSLT

Hi
We are evaluating the process of rendering controls using XML and XSLT in
..Net 2.0
Questions
1. Is there an article which describes the pros and cons and how to go about
rendering?
2. What will happen to the view state , and how do we access the control
values on the server side
Any help will be appreciated
thanks
Sadagopan
Jun 29 '07 #1
1 1644

I would advise against this , as a "default" scenario.

xml/xsl to display is pretty good when:
1. You have an xml datasource, and usually you don't control the format.
2. Its read only.

Using the dot net controls (like GridView and Repeater) give you much more
options.

I was a real xml/xsl guy before DotNet, but now I rarely consider it.
Even if you don't control the format, there are other options.

Since you can bind a webcontrol to a DataSet (or rather, one table of a
DataSet), you can consider this option:

http://sholliday.space s.live.com/Blog/cns!A68482B9628 A842A!148.entry
This is just one opinion (mine) of course.

"Sadagopan" <Sa*******@disc ussions.microso ft.comwrote in message
news:CC******** *************** ***********@mic rosoft.com...
Hi
We are evaluating the process of rendering controls using XML and XSLT in
.Net 2.0
Questions
1. Is there an article which describes the pros and cons and how to go
about
rendering?
2. What will happen to the view state , and how do we access the control
values on the server side
Any help will be appreciated
thanks
Sadagopan

Jun 29 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2477
by: Sandros | last post by:
Background: I'm collecting usability statistics for a group of applications. Each count has the following attributes: date, application, major heading, minor heading, count. My intent is to pull this back as XML and render it in to an HTML table. I have all this working and all the files are below. I would value any feedback. A simple example of the data looks like this:
5
7639
by: Fred | last post by:
Not much expertise on XSLT and trying to understand it's uses when creating apps in VS.NET? If I wanted flexibility on the UI (View aspect of M.V.C.): - How does it compare with creating business components that can be consumed by WebForms, WinForms, mobile devices, etc? Is it even fair to compare the such technologies? - How about for cases when you need to display dynamic elements on the form/grid (as compared to knowing data elements...
2
1828
by: Jim Adams | last post by:
My project requires IIS (dotNet) and Apache to consume the same web service. What's the recommended way to display the same HTML output from both platforms? I've read about server-side XSLT rendering HTML which seems to be common ground. Does anyone have experience with this (e.g. WYSIWYG page design)? Any other suggestions?
0
3407
by: canasdaq | last post by:
Can anyone please help me. I was looking at the article "http://www.eggheadcafe.com/articles/20030603.asp". I am new to .net and know nothing in c#. I want to write a menu in asp.net. Can anyone please help me in converting this c# code to vb.net. I tried, but it is not giving the output. Here is the c# code using System using System.Collections using System.ComponentModel using System.Data using System.Drawing using System.Web using...
7
9277
by: AndrewMBaldwin | last post by:
So I am quite upset that after working for a few hours on getting an XML file format and XSL file that formats the XML data appropriatly, only to find that if you store HTML code in your XML file (even in a CDATA block), after the XML file is rendered, the HTML that was stored in the XML file is not rendered, essentially put into the page as if it had <pre> tags around it. I know that someone is going to yell at me and say that the XML...
5
2810
by: bram.labarque | last post by:
Hello all, The parsing should happen at the browser. I have three files: 1) Initial file: xml with some data and a pointer to an xsl. <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="Test05_Base.xsl"?> <employee> <surname>Philips</surname> <rgn>R</rgn>
1
2235
by: matt | last post by:
hello, im doing my first experiment w/ RSS & ASP.NET. could use a bit of help. i have a livejournal site blog here: http://nexus9.livejournal.com/ and i have its RSS xml here:
0
2944
by: bendlam | last post by:
We have some XML/XSLT code that is not rendering on some clients running IE7. Some work some don't and I can't seem to pinpoint the reason. I'm thinking it must be a setting in IE7 somewhere but I can't find anything different. Can anybody help? The XML/XSLT seems pretty straight forward and we've never had any problems with it before...here's the example code: <?xml-stylesheet type="text/xsl" href="../EVENTechTasks.xsl"...
9
2502
by: WT | last post by:
Hello, I have code created with .net 1.0 and migrated to 3.5. Form 2.0 the XslTransform class is obsolete and the vs2008 compiler generates warnings that these classes are absolete suggesting to use XslCompiledTransform. But all this was rendered using an Xml control and I can't find a way to relate this control to an XslCompiledTransform ? Any help appreciated to solve this migration pb.
0
8761
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9426
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9200
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9142
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8148
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6022
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2680
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2163
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.