Hi all
Starting to plod along at a steady pace now, and I think I have most of
the information that I need to be able to make a decent stab at the
project, but I have a question regarding transforms.
Currently, I am doing a transform (XML/XSLT) and use the following
call:
xsTransform.Transform(xdHotels, null, Response.Output);
Ideally, I would like to put this into an object on my page to give me
better control of the output. So I thought putting the source into a
label or ideally a System.Web.Ui.WebControls.Xml object (I presume this
is what they are for).
Does anybody have any ideas?
Many thanks
Darren 2 5138
Darren,
Are you trying to embed the XML into the HTML, or are you trying to
display the XML?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"daz_oldham" <Da**************@gmail.com> wrote in message
news:11**********************@g10g2000cwb.googlegr oups.com... Hi all
Starting to plod along at a steady pace now, and I think I have most of the information that I need to be able to make a decent stab at the project, but I have a question regarding transforms.
Currently, I am doing a transform (XML/XSLT) and use the following call:
xsTransform.Transform(xdHotels, null, Response.Output);
Ideally, I would like to put this into an object on my page to give me better control of the output. So I thought putting the source into a label or ideally a System.Web.Ui.WebControls.Xml object (I presume this is what they are for).
Does anybody have any ideas?
Many thanks
Darren
Hi Nicholas
I would like to embed the XML into the HTML, so it forms part of the
page, however, all the page will not be formed from the XML/XSL
transform.
Many thanks
Darren
Nicholas Paldino [.NET/C# MVP] wrote: Darren,
Are you trying to embed the XML into the HTML, or are you trying to display the XML?
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard.caspershouse.com
"daz_oldham" <Da**************@gmail.com> wrote in message news:11**********************@g10g2000cwb.googlegr oups.com... Hi all
Starting to plod along at a steady pace now, and I think I have most of the information that I need to be able to make a decent stab at the project, but I have a question regarding transforms.
Currently, I am doing a transform (XML/XSLT) and use the following call:
xsTransform.Transform(xdHotels, null, Response.Output);
Ideally, I would like to put this into an object on my page to give me better control of the output. So I thought putting the source into a label or ideally a System.Web.Ui.WebControls.Xml object (I presume this is what they are for).
Does anybody have any ideas?
Many thanks
Darren This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Christopher M. Lauer |
last post by:
I have done my best to answer this question but can not find the
proper set of commands. I would like
to transform an xml file (in code behind) and display its output in a
specific html tag,...
|
by: msuk |
last post by:
All,
I have a well form block of XML that is stored in a C# string type and I
just simply want to display it in the browser using Response.Write but when I
try this I get the following error:
...
|
by: mrc |
last post by:
How do I do the following using streams instead of actual files. I've
tried it using memory streams for the input/and output but I don't seem
to be able to get the output stream to contain...
|
by: S. David Kyle |
last post by:
I am having a weird issue when I generate an input Html tag from a Xsl
transformation.
When the trasform is executed on the xsl below, the <inputtag has the
closing slash removed in the first...
|
by: Sunday Oke |
last post by:
Hi folks
I have this code which basically transforms a recordset retrieved from a
oracle database. With the XslTransform class being deprecated I have
tried to use the XslCompiledTransform class...
|
by: InvalidLastName |
last post by:
We have been used XslTransform. .NET 1.1, for transform XML document, Dataset with xsl to HTML. Some of these html contents contain javascript and links. For example:
// javascript
if (a > b)...
|
by: tony |
last post by:
XslCompiledTransform xslt = new XslCompiledTransform();
ASCIIEncoding encodeToByteArray = new ASCIIEncoding();
MemoryStream inputStream = new MemoryStream();
MemoryStream outputStream = new...
|
by: John Kotuby |
last post by:
Hi all,
I am using a 3rd party program in a VS2005 web project. The tool takes as
input a string containing HTML and converts it to RTF.
I have been creating a page by dynamically loading...
|
by: bryhi |
last post by:
Here is the code you can past in your console application to see the differences. I need to know how to get this to work correctly.
#pragma warning disable // because we are using a depricated...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |