Hi,
I just posted this in the php forum, I have the feeling that my error
is due to my Wamp 5 settings:
I'm a newbie in XML/XSLT trying to get some HTML output from a simple
XML source that starts with:
QUOTE:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="letter2te xt.xsl" version="1.0"?>
/QUOTE
I ran phpinfo();
Here is what I gathered:
QUOTE:
libxml
libXML support active
libXML Version 2.6.22
libXML streams enabled
SimpleXML
Simplexml support enabled
Revision $Revision: 1.151.2.10 $
Schema support enabled
xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.22
xmlreader
XMLReader enabled
xmlwriter
XMLWriter enabled
/QUOTE
The problem is that I keep seeing the XML source in IE6, not the
formatted data.
Your help much appreciated 2 1088 jb*****@gmail.c om wrote: Hi, I just posted this in the php forum, I have the feeling that my error is due to my Wamp 5 settings:
I'm a newbie in XML/XSLT trying to get some HTML output from a simple XML source that starts with:
QUOTE: <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="letter2te xt.xsl" version="1.0"?>
[snip] The problem is that I keep seeing the XML source in IE6, not the formatted data.
1. Make sure that Windows hasn't capitalized any of your filenames.
2. Make sure letter2test.xsl is in the same directory as your XML
file
3. Open the XML file using the file:// method, not as a disk file
(or maybe MSIE requires use of the http:// method, in which case
you'll have to upload XML and XSL to a server and retrieve them).
Browsers are notoriously bad at handling XML/XSL. This kind of stuff
is *much* better done server-side.
///Peter
Peter Flynn wrote: jb*****@gmail.c om wrote: Hi, I just posted this in the php forum, I have the feeling that my error is due to my Wamp 5 settings:
I'm a newbie in XML/XSLT trying to get some HTML output from a simple XML source that starts with:
QUOTE: <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="letter2te xt.xsl" version="1.0"?> [snip] The problem is that I keep seeing the XML source in IE6, not the formatted data.
1. Make sure that Windows hasn't capitalized any of your filenames.
2. Make sure letter2test.xsl is in the same directory as your XML file
3. Open the XML file using the file:// method, not as a disk file (or maybe MSIE requires use of the http:// method, in which case you'll have to upload XML and XSL to a server and retrieve them).
Browsers are notoriously bad at handling XML/XSL. This kind of stuff is *much* better done server-side.
///Peter
Hi,
I skipped a few chapters in the textbook
and tried an XML/PHP example,
it works fine.
Now I have a value in the equation,
I'll have to figure out why I can't get XSL to work.
Many thanks for your reply #:-) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: El Durango |
last post by:
Hi I have a simple CGI program that takes data from a data source and posts
it
as XML format on the browser, I have tested my program on IE and Mozilla
and they behave differently. Sometimes XML format is displayed sometimes
just the data is displayed excluding the elements.
Here is a snippet of my code that displays the data:
sub displayInfo{
my($state,$statename,$stationname,$station,%xmlHash) = @_;
|
by: Les Juby |
last post by:
Can someone please help with a suggestion as to how I can keep the
formatting (carriage returns) that the user enters into a memo field
and then display that later.
I figured I might be able to use:
'replace carriage returns with BRs
comment=Replace(comment, chr(13), "<br>")
but obviously net.!
The <pre> tag doesn't sem to help either as the embedded return is
|
by: Robert |
last post by:
Hello Accessors
I have some reports created in Access that are very good for what they do.
However, it seems to me that when you are displaying information you don't
need to print out that a printer-friendly report is not the best way to go.
So, I tried converting one of my Access reports to an Access form. I
selected the continuous view to allow displaying multple records but when I
went to define my sorting and grouping there was none...
|
by: RAJ |
last post by:
In our multi-tier application, we have several ASP.NET user controls which
will update the same data source provided by middle tier logic.
In this particular scenario we have one user control displaying the contents
of the data source, whilst another control updates the datasource via a
command buttons implementation of 'Click', an event raised in the 'Handle
Postback Events' stage of the control execution life cycle (via the...
|
by: latin & geek via DotNetMonster.com |
last post by:
hi!
ok, im working on a database application. ive successfully managed to
establish a relationship between two tables and display them on a datagrid,
edit and add new records to them.
now i need to generate a report using the parameters in the child table, and
two columns from the parent table. this is where the problem starts. when i
use two seperate connection links and extract the required data, adding it
all to the same dataset,...
| |
by: David Lozzi |
last post by:
Hello,
I'm wondering whats the best method to use for displaying several photos'
thumbnails. One method I know is to dynamically resize the photo at the time
the page is loaded. What does this do to server/site performance? The other
is to copy the photo at time of upload and create a thumbnail then, have two
separate images, therefor when displaying its just pulling the actual image.
What do you think??
|
by: Lisa Coal |
last post by:
I am using the Insert database command several times in a visual basic macro. Every time I use the command in the macro the Select Data Source screen appears even though the source is set in the command as shown below. How do I prevent this screen from appearing?
Selection.Range.InsertDatabase LinkToSource:=True, _
Connection:="Provider=SQLOLEDB.1;Integrated Security=SSPI;Server=fccqt02;Database=Blue_South;", _
...
|
by: readnlearn |
last post by:
hai,
i have written this below code for displaying captcha image whenever i entered incorrect uname,password in login page.
for that i disable the controls of captcha like textbox,labels,button and image control in source code of designing part.
and i enable those controls in an if condition which display captcha.
but if i entered correct information which is in database
it shouldn't navigate to the corresponding page
and also if entered...
|
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
tabcontainer which has 1 panel already, however I want to try create the
TabPanels dynamically. I followed the advice here:
http://www.asp.net/learn/ajax-videos/video-156.aspx (3rd comment - Joe
Stagner)
|
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: 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: 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();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |