473,587 Members | 2,479 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Show results of transformation

I need to show results of transformation on the server.
Thansformation returns an attribute based xml string.
Can I bind DataRepeater to the xml string?

Thanks
Nov 18 '05 #1
3 1166
Hi,

you would need to load the XML into DataSet and bind the Repeater to it.
Does this work, depends of suitability of the XML (to be loaded to DataSet).

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"Mark Goldin" <ma********@com cast.net> wrote in message
news:un******** ********@TK2MSF TNGP11.phx.gbl. ..
I need to show results of transformation on the server.
Thansformation returns an attribute based xml string.
Can I bind DataRepeater to the xml string?

Thanks

Nov 18 '05 #2
Can you show a sample of doing that?
Thanks

"Teemu Keiski" <jo****@aspalli ance.com> wrote in message
news:#0******** ******@TK2MSFTN GP12.phx.gbl...
Hi,

you would need to load the XML into DataSet and bind the Repeater to it.
Does this work, depends of suitability of the XML (to be loaded to DataSet).
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"Mark Goldin" <ma********@com cast.net> wrote in message
news:un******** ********@TK2MSF TNGP11.phx.gbl. ..
I need to show results of transformation on the server.
Thansformation returns an attribute based xml string.
Can I bind DataRepeater to the xml string?

Thanks


Nov 18 '05 #3
Hi,

You have the XML as string, so load it into System.IO.Strin gReader and pass
that to the ReadXml method of DataSet (ReadXml does take a string, but
that's for file name if XML is in physical file). You need also to provide
the readmode (XmlReadMode enum) value for the method if you want to specify
explicityl how handle reading schema from the XML (probably there's no
such).

Dim xml As String="<?xml.. .."
Dim sreader As New System.IO.Strin gReader(xml)
ds.ReadXml(srea der)

That should do it.

-
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist


"Mark Goldin" <ma********@com cast.net> wrote in message
news:%2******** **********@TK2M SFTNGP10.phx.gb l...
Can you show a sample of doing that?
Thanks

"Teemu Keiski" <jo****@aspalli ance.com> wrote in message
news:#0******** ******@TK2MSFTN GP12.phx.gbl...
Hi,

you would need to load the XML into DataSet and bind the Repeater to it.
Does this work, depends of suitability of the XML (to be loaded to

DataSet).

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist

"Mark Goldin" <ma********@com cast.net> wrote in message
news:un******** ********@TK2MSF TNGP11.phx.gbl. ..
I need to show results of transformation on the server.
Thansformation returns an attribute based xml string.
Can I bind DataRepeater to the xml string?

Thanks



Nov 18 '05 #4

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

Similar topics

0
2093
by: Prasad | last post by:
We are invoking a SQL DTS component (lets call it Comp1) built by us in another component (Comp2).Comp1 was built by creating the DTS package using the SQL DTS wizard and then saving it as a VB .bas file - this was converted to .NET class module. To this module we added some cutom transformation tasks. An additional info - we are invoking Comp1 in a loop inside Comp2. The transformation succesfully happens for a few files in the list...
4
2431
by: Kevin Dean | last post by:
I'm trying to create an XSL transformation that will strip out development-specific attributes from deployment descriptors and other XML files. I have already successfully done so with web.xml but I'm at a complete loss as to what is wrong with the one below. This is a very abbreviated server-config.wsdd: <?xml version="1.0" encoding="UTF-8"?> <deployment xmlns="http://xml.apache.org/axis/wsdd/"...
7
3241
by: CK | last post by:
Hello, I have the 60 MB XML string and I am coding a program in Visual Basic to run a XSL transformation on it. Currently, I'm using the Microsoft standard MSXML 2.0 to create a DOM document, load the XML, and then run the XSL transformation on it using the MSXML2.IXSLProcessor interface. The problem is that it kills my system because of an incredible amount of memory that it requires to do this (around 850 MB). Are there any other...
0
1081
by: aaa | last post by:
Hi there, I have an xml control "xml1" and it is doing a nice job of converting xml to html inside of a web user control "content.ascx". I've now dropped content.ascx onto a web form, and I'm looking to access the *result* of the transformation from another control I'm building. Does this make sense? So in other words, I want my second control, which will be part of the same
2
2012
by: Stuart | last post by:
I am a bit of a newbie to C# and would like help with the following. I am bringing in a dataset and transforming that dataset using an XSL style sheet to generate text. This text does in fact contains SQL statements (DBCC commands etc) which I want to capture and run on a SQL Server instance. At the moment I can do this by writing the result of the transformation to file and re-loading it, but would like to skip out the file and write...
2
1009
by: Mark Goldin | last post by:
I have this line in my code: xslt.Transform(new XPathDocument("D:\\testarea\\dotnet\\processtree\\TIPTREECAT.xml"), xslArg, writer, null); How can store results of the transformation into a string?
6
4971
by: Lenny Wintfeld | last post by:
Hi I'm attempting additions/changes to a Java program that (among other things) uses XSLT to transform a large (96 Mb) XML file. It runs fine on small XML files but generates OutOfMemory exceptions with large XML files. I tried a simple punt of -Xmx512MB but that didn't work. In the future, the input XML file may become considerably bigger than 96 MB, so even if it did work, it probably would be putting off the inevitable to some later...
5
3694
by: imissphp | last post by:
I am using Visual Studio 2005 .NET 2.0. and C#. Has anybody transformed xml using xsl and shown the results as a web page? It should be a simple task.... but I can't find a way through the maze of deprecated or incompatible classes in .NET I have a dataset object (which has a GetXml() method which returns rows as a xml string) that I want to transform using an xsl file. Then I want the results in my web page. What is the best way to do...
2
1809
by: HendrikLeder | last post by:
Hello everybody :-) Next year I`ll write my diploma in computer science for business (It`s a degree in Germany) and I`ve some questions about the topic. The diploma will handle about refactoring of xml-schemes and a transformation of all instances (the xml-documents) with XSLT-scripts. The idea of the diploma is, that in nearly every company xml schemes are used. And (like Heraklit said "Panta rhei" - everthing is flowing) the business...
0
7923
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7852
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
8216
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...
0
8221
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
6629
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...
1
5719
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5395
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();...
1
2364
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1455
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.