I would like to display XML on my website, I want it to look/behave like an
XML document looks when loaded into IE directly. I was hoping that I could
find an XSL document somewhere on my computer that is the same one IE uses
when displaying XML, but it doesn't look like there is one :-(
I cannot just dump the XML to the browser, because there are other elements
on the page.
Does anyone know of an easy way to display XML data in a browser, with nice
indentations between nodes, and maybe even the +/- controls that IE uses
when displaying XML?
Thanks in Advance
Steve 6 1311
just open the XML file then in the browser. I forget the code to do it but
its pretty plain
"Steve Lutz" wrote: I would like to display XML on my website, I want it to look/behave like an XML document looks when loaded into IE directly. I was hoping that I could find an XSL document somewhere on my computer that is the same one IE uses when displaying XML, but it doesn't look like there is one :-(
I cannot just dump the XML to the browser, because there are other elements on the page.
Does anyone know of an easy way to display XML data in a browser, with nice indentations between nodes, and maybe even the +/- controls that IE uses when displaying XML?
Thanks in Advance
Steve
Steve Lutz wrote: I would like to display XML on my website, I want it to look/behave like an XML document looks when loaded into IE directly. I was hoping that I could find an XSL document somewhere on my computer that is the same one IE uses when displaying XML, but it doesn't look like there is one :-(
I cannot just dump the XML to the browser, because there are other elements on the page.
Does anyone know of an easy way to display XML data in a browser, with nice indentations between nodes, and maybe even the +/- controls that IE uses when displaying XML?
Thanks in Advance
Steve
You could put an iframe on the page, with the src pointing to the xml file.
Hans Kesting
Mike wrote: just open the XML file then in the browser. I forget the code to do it but its pretty plain
But what if you want to display that xml within a nice page? The automatic
formatting only works if the entire document is one xml, not if it is part
of a regular page.
Hans Kesting
if you want the XML to look "prett" then use XSLT, but this he said he
wanted it to look/behave like an
XML document looks when loaded into IE directly
"Hans Kesting" wrote: Mike wrote: just open the XML file then in the browser. I forget the code to do it but its pretty plain
But what if you want to display that xml within a nice page? The automatic formatting only works if the entire document is one xml, not if it is part of a regular page.
Hans Kesting
Use an <asp:xml> control, and surround it with <pre> tags?
"Steve Lutz" <sl***@NO.highb eam.SPAM.com> wrote in message
news:eq******** ******@tk2msftn gp13.phx.gbl... I would like to display XML on my website, I want it to look/behave like
an XML document looks when loaded into IE directly. I was hoping that I
could find an XSL document somewhere on my computer that is the same one IE uses when displaying XML, but it doesn't look like there is one :-(
I cannot just dump the XML to the browser, because there are other
elements on the page.
Does anyone know of an easy way to display XML data in a browser, with
nice indentations between nodes, and maybe even the +/- controls that IE uses when displaying XML?
Thanks in Advance
Steve
Mike and Hans
The page has other HTML elements in it, in addition to the XML. That is why
I cannot just dump the XML to the browser as an XML file. Plus, firefox for
example does not display the XML as nicely as IE does. I don't want to write
up an entire XSL for this, I was hoping someone knew the XSL files that IE
uses.
Since the XML I'm outputting is debugging information, I didn't want to put
a lot of time into it either, but the QA folks would sure appreciate the IE
style raw XML display/interaction instead of trying to look through a string
of unformatted XML.
"Mike" <Mi**@discussio ns.microsoft.co m> wrote in message
news:A1******** *************** ***********@mic rosoft.com... if you want the XML to look "prett" then use XSLT, but this he said he wanted it to look/behave like an XML document looks when loaded into IE directly
"Hans Kesting" wrote:
Mike wrote: just open the XML file then in the browser. I forget the code to do it but its pretty plain
But what if you want to display that xml within a nice page? The
automatic formatting only works if the entire document is one xml, not if it is
part of a regular page.
Hans Kesting This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: StepH |
last post by:
Hi,
I'm building a little application, which the goal is to:
1./ Collect data via Serial line and or via a file (for playback).
2./ Display these data as graph, oscilloscope, ...
How manage this ?
1./ Is each "display" must responsible to acquire/read the data ?
|
by: FrankBooth |
last post by:
Hello,
I have a list of names, and when I click ona name I want the extar
info to show and then I want to clcik and hide it again.
I have the following HTML which works perfectly if I use one
construct, but if I use more that one it issues an object error which
states that: ExpCollTxt_ctrl_ex.style is not an object.
So the followin...
|
by: Mat |
last post by:
<div id="container">
<div id="main">
<div id="header">
<p class="Address">123 Fake Street, </p>
<p class="City">Crazy City, </p>
<p class="Province">Ontario </p>
<p class="PostalCode">H0H 0H0</p>
<p class="Telephone">Telephone: 555-1234 </p>
<p class="Fax">Fax: 555-4321</p>
</div>
|
by: shreddie |
last post by:
Could anyone assist with the following problem?
I'm using JavaScript to hide/show table rows depending on the option
selected in radio buttons. The script works fine in IE but in Firefox
the hidden rows take up page space even though their content is not
visible.
I have extracted the necessary code as shown below:
...
|
by: Tristan Miller |
last post by:
Greetings.
I am trying to write a function which toggles the display of a certain
class of <div> elements in an HTML page. The CSS file initially sets some
classes to "display: none", and others to "display: block". The problem I
am encountering is that when the JavaScript interpreter starts up
initially, all style.displays are null. ...
| |
by: Stefan Finzel |
last post by:
Hi,
is there a way to change the display property on Windows Mobile 2003 SE
Mobile/Pocket Internet Explorer? See following example.
Please note: visibilty property has the same problem.
Is there any other way to display/undisplay parts of web pages?
TIA
|
by: Ferry Boender |
last post by:
Hi,
I'm relatively new to Xlib programming, and I ran into a little problem.
I'm trying to insert keypress events into a X window. The following code
works:
--8<------------------------------------------------------------
#!/usr/bin/python
|
by: RonY |
last post by:
I have a dropdown which calls SetTimePeriod method on change the selection. In the JS function, I reset the field style.display based on what the selection is. This works fine with IE but not working with Firefox browser.
The firefox browser has problem to display a field after its style.display is reset. At the end of the JS function, I...
|
by: rbinington |
last post by:
Hi,
I am trying to write a DNN module that has the ability to insert articles into an article repository. I want the users to be able to move pages around and enter text into the FCKEditor. I want only one instance of the FCKEditor on the screen at one time so I make tabs that the user can click and I store the values in variables behind the...
|
by: cssExp |
last post by:
hello,
Rather than going on a wild explanation on what's the the problem, it'll be much quicker and easier if i let you look at it yourself, so I'll post my page source (actual contents taken out, of course).
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html...
|
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...
| |
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...
|
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. ...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
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...
|
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...
|
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...
| |
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
|
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...
| |