473,386 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Displaying a XML using XLS

Hi all,
I´m having trouble doing the following:
I have a aspx page without any html in it, and, in the Page_Load, I call a component that returns me a XML, that I have to display in the browser. I do that by using:
response.write(xml.innerxml) --> Works perfectly ( the browser shows me the xml
But, if I try to use a xls to transform it, like this
response.write("<?xml-stylesheet type='text/xsl' href='qp.xsl' ?>"
response.write(xml.innerxml) --> it doesn´t work. the xml is showed like an unformatted string
I don´t wanto to save the xml to disk and then load it, because I'll probably have lots of users doing this all the time, and the disk cost would be too high.
Any ideas or sugestions in how to solve this
Thanks in advance....
Bernardo
Nov 18 '05 #1
3 1551
I've done this before, but rather than use XSL, I attached a CSS stylesheet
with all of the XML tags defined with desireable results.

"Bernardo Gomes" <be*****@hotmail.com> wrote in message
news:01**********************************@microsof t.com...
Hi all,
I´m having trouble doing the following:
I have a aspx page without any html in it, and, in the Page_Load, I call a component that returns me a XML, that I have to display in the browser. I
do that by using: response.write(xml.innerxml) --> Works perfectly ( the browser shows me the xml) But, if I try to use a xls to transform it, like this:
response.write("<?xml-stylesheet type='text/xsl' href='qp.xsl' ?>")
response.write(xml.innerxml) --> it doesn´t work. the xml is showed like an unformatted string. I don´t wanto to save the xml to disk and then load it, because I'll probably have lots of users doing this all the time, and the disk cost would
be too high. Any ideas or sugestions in how to solve this?
Thanks in advance.....
Bernardo

Nov 18 '05 #2
I see.
But by doing that, how do you loop through the xml, display pictures where wanted, etc.
Is ther a way to do that in CSS?
Thanx!

Nov 18 '05 #3
You got me there. I suspect you'd still have to use an XML transform to
turn the image data in the XML into an HTML <IMG> tag.

Sorry I cant be more help.
"Bernardo Gomes" <be*****@hotmail.com> wrote in message
news:F2**********************************@microsof t.com...
I see.
But by doing that, how do you loop through the xml, display pictures where wanted, etc. Is ther a way to do that in CSS?
Thanx!

Nov 18 '05 #4

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

Similar topics

8
by: euang | last post by:
Hi, I have been using access 2000 for two years on WINDOWS NT to display dynamic aweb page using ASP My ISP has now changed to Windows 2003, and I am having major problems displaying...
1
by: Dave Posh | last post by:
I seem to be having a problem displaying time stored in mysql. The format stored in the database is 13:15:05. The database data type is time. I'm using asp vbscript and sql to retrieve the time...
2
by: Joe Price | last post by:
Hi chaps I've got an XML file, within that file i've embedded html code using the <!]> tag I'm displaying that xml file through a browser using an xsl style sheet. However it is displaying...
0
by: Wynter | last post by:
RE: from Displaying a Document using the ASPNET user account to the Client Browser discussion (3/2/2004 Buddy Thanks for helping me on getting the document to display. But now I am left with a...
1
by: Yoshitha | last post by:
hi I have datalist control in my ASP.NET application the problem here is i have used a textbox with multiline true propertly when i enter data like "fdjsfhjksdhfjsdfhsdjhfsdfhsdjfhsd...
9
by: piyush2884 | last post by:
hi guys, got anything on this issue?
11
by: prats | last post by:
I want to write a GUI application in PYTHON using QT. This application is supposed to take in Japanese characters. I am using PyQt as the wrapper for using QT from python. I am able to take input...
33
by: buss123 | last post by:
Hi all, combo box script code was working in IE perfectly with all modes but OnChange event was not working in FireFox(editable mode, if we select valuese that combo box values r...
1
by: johnVarma | last post by:
Hi All, Iam facing a problem with bar chart using coldFusion. if there is only one <cfchartseries> tag then the seriesLabel attribute is not displaying instead of that the items of the...
7
by: RichB | last post by:
I am trying to get to grips with the asp.net ajaxcontrol toolkit, and am trying to add a tabbed control to the page. I have no problems within the aspx file, and can dynamically manipulate a...
0
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
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...
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.