I have an XML data island in my aspx web page. The XML includes a link
(processing instruction) to an XSL stylesheet. Is there any way on this page
to view the HTML, that results from the xsl transformation, as the contents
of, say, a div? I know I can do it if I display only the XML in IE, but I
don't know if I can do it as a fragment of an existing HTML page.
TIA 4 4306
> I have an XML data island in my aspx web page. The XML includes a link (processing instruction) to an XSL stylesheet. Is there any way on this
page to view the HTML, that results from the xsl transformation, as the
contents of, say, a div? I know I can do it if I display only the XML in IE, but I don't know if I can do it as a fragment of an existing HTML page.
Yes you can. It will require some Javascript.
I don't have time to hack out a full example for you this morning as I'm off
for my Sat bike ride, but, take a look
at the example code from Chapter 7 of Glasshaus Practical XML For The Web. http://support.apress.com/books.asp?bId=66&s=1 http://www.amazon.com/exec/obidos/AS...151086/nova-20
In this chapter I demonstrate how to write this sort of stuff in a manner
that will work across both IE and the Netscape derriviatives.
Chreers
Chris
-------------------------------------------
Kognition Consulting Limited - Thought Meets Technology
Chris J.T. Auld - Managing Director
Microsoft MVP (Windows Mobile Devices)
Phone: +64 3 453 0064
Mobile: +64 21 500 239
Email: ch***@kognition .co.nz
"Chris J.T. Auld [MVP]" <ch***@spam.me. not.nova.co.nz> wrote in message
news:OJ******** ******@TK2MSFTN GP10.phx.gbl... I have an XML data island in my aspx web page. The XML includes a link (processing instruction) to an XSL stylesheet. Is there any way on this page to view the HTML, that results from the xsl transformation, as the contents of, say, a div? I know I can do it if I display only the XML in IE, but
I don't know if I can do it as a fragment of an existing HTML page.
Yes you can. It will require some Javascript. I don't have time to hack out a full example for you this morning as I'm
off for my Sat bike ride, but, take a look at the example code from Chapter 7 of Glasshaus Practical XML For The Web. http://support.apress.com/books.asp?bId=66&s=1 http://www.amazon.com/exec/obidos/AS...151086/nova-20
In this chapter I demonstrate how to write this sort of stuff in a manner that will work across both IE and the Netscape derriviatives.
VERY nice!
Thanks.....
I describe it in some detail in the book, but basically I make the
NS/Mozilla DOM behave like the IE DOM by extending the object using the slot
based language features of Javascript.
Chris
--
****Please Reply To The Newsgroup So All Can Benefit From Discussion****
-------------------------------------------
Kognition Consulting Limited - Thought Meets Technology
Chris J.T. Auld - Managing Director
Microsoft MVP (Windows Mobile Devices)
Phone: +64 3 453 0064
Mobile: +64 21 500 239
Email: ch***@kognition .co.nz
"Gandalf" <ga*****@sauron .com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. .. "Chris J.T. Auld [MVP]" <ch***@spam.me. not.nova.co.nz> wrote in message news:OJ******** ******@TK2MSFTN GP10.phx.gbl... I have an XML data island in my aspx web page. The XML includes a link (processing instruction) to an XSL stylesheet. Is there any way on
this page to view the HTML, that results from the xsl transformation, as the contents of, say, a div? I know I can do it if I display only the XML in IE,
but I don't know if I can do it as a fragment of an existing HTML page.
Yes you can. It will require some Javascript. I don't have time to hack out a full example for you this morning as I'm off for my Sat bike ride, but, take a look at the example code from Chapter 7 of Glasshaus Practical XML For The
Web. http://support.apress.com/books.asp?bId=66&s=1 http://www.amazon.com/exec/obidos/AS...151086/nova-20
In this chapter I demonstrate how to write this sort of stuff in a
manner that will work across both IE and the Netscape derriviatives.
VERY nice!
Put the xml string inside a <xmp>...</xmp> structure
Brian This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Simon |
last post by:
Hi,
I am having a little problem with my PHP - MySQl code, I have two tables
(shown below) and I am trying populate a template page with data from both.
<disclaimer>Now I would like to say my skills, especially with MySQL are
rudimentary</disclaimer> However my code (link below) fails, the nested
database call does not return any data and this has me stumped. Any help
will be much appreciated.
Many thanks in advance
|
by: Tim |
last post by:
I've been working on this for over a week now, and just can't get this
figured out. Hoping one of you gurus can help me out here.
I have an xml data island that I'm representing on an htm page as an
expandable menu. Got that working, but now I need to add sorting and
searching abilities to the menu. I am hoping to do this with xsl but
can't get it to work.
Is this because of the way I've formed my xml, having the children
within the...
|
by: Bishfish |
last post by:
I have an XML document containing 400+ quotations, in the format:
quotes
qtnum
title
author
comment
quotes
...400+ more
XML file size 156Kb
|
by: Nicole Schenk |
last post by:
I need to know the code I must write to respond xml to a data island as a
result from a src request from the data island.
Thanks so much
|
by: Dnna |
last post by:
I have a table which is bound to an Internet Explorer XML
data island. I'm using ASP.NET's client-side validators
for an input field in the table. The problem is that if
the input fields are in a table that is bound to the
island (such that the rows are dynamically generated by IE
from the XML data island), the validators do not work. If
the table is not bound, the validators do work, but then I
don't have the table iterating through...
| |
by: Pat Alessi |
last post by:
I want to use an XML data island to display editable records to a user
on the cleint side. The user should be able to scroll through the
records, modify any or all fields in any or all records, add records,
and delete records.
As far as I can see, there are a couple of ways to implement this. I
could persist the original data island and create a duplicate data
island that the user would modify. When the modifications were
complete, I...
|
by: adolf garlic |
last post by:
I have an aspx which has some client side script.
The client side part of the page also features an xml data island
What I want to be able to do is to get at the data island from the server
side part of the page.
I've managed to do it with a simple text field using
client side
<input type="hidden" runat="server" id="funcParam" NAME="funcParam">
|
by: Vigneshwar Pilli via DotNetMonster.com |
last post by:
string connectionString1 = "server=(local); user=sa;password=sa;
database=sonic";
System.Data.SqlClient.SqlConnection dbConnection1 = new
System.Data.SqlClient.SqlConnection(connectionString1);
System.Data.SqlClient.SqlCommand dbCommand1 = new
System.Data.SqlClient.SqlCommand();
|
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...
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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,...
| |
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |