473,396 Members | 2,013 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,396 software developers and data experts.

xslt transform with php 4.3.9

Back again for another question. I have a form that I want to pass one
value to an xsl file to use when the xml is displayed. I have been told
that I have to pass the value to php and then do a transform using xlst
processor in php and have looked into this. I thought maybe I was on the
right track with this but apparently I am stuck with PHP version 4.3.9
which to the best of my knowledge doesn't have the xslt_create and
xslt_process functions available.

That being said, I've looked at what I have available to me and I have
found some stuff about dom/xml this and that which I am having trouble
figuring how to use it to do what I want. Can someone give me an idea of
how I am supposed to use php 4.3.9 this to pass a value and do a transform.

Thanks
Patrick

--
Patrick A. Smith Assistant System Administrator
Ocean Circulation Group – USF - College of Marine Science
http://ocgweb.marine.usf.edu Phone: 727 553-3334

The trouble with doing something right the first time is that nobody
appreciates how difficult it was. - La Rochefoucauld
Nov 15 '06 #1
2 1529
Patrick wrote:
I thought maybe I was on the
right track with this but apparently I am stuck with PHP version 4.3.9
which to the best of my knowledge doesn't have the xslt_create and
xslt_process functions available.
PHP 4 has this extension <http://www.php.net/manual/en/ref.xslt.phpto
provide XSLT support.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Nov 15 '06 #2
Martin Honnen wrote:
Patrick wrote:
>I thought maybe I was on the right track with this but apparently I am
stuck with PHP version 4.3.9 which to the best of my knowledge doesn't
have the xslt_create and xslt_process functions available.


PHP 4 has this extension <http://www.php.net/manual/en/ref.xslt.phpto
provide XSLT support.
Hi Martin,

Yes I looked into that. It is my understanding that Sablotron and expat
are used with php4, but they are not supported in php 4.3.9. I did
download and run the rpm for Sablotron yesterday before reading
somewhere what I just said in the previous sentence. This is what I
think I am stuck with trying to use <http://us3.php.net/domxmlor am I
wrong? Unfortunately because we are on a maintenance contract here with
our RedHat Linux Enterprise 4 we can only use the supported version of
php that comes with the regular rpm updates. Otherwise I would request
that my admin upgrade to php5.

Thanks again,
Patrick
--
Patrick A. Smith Assistant System Administrator
Ocean Circulation Group – USF - College of Marine Science
http://ocgweb.marine.usf.edu Phone: 727 553-3334

The trouble with doing something right the first time is that nobody
appreciates how difficult it was. - La Rochefoucauld

Nov 15 '06 #3

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

Similar topics

0
by: Christopher M. Lauer | last post by:
I have done my best to answer this question but can not find the proper set of commands. I would like to transform an xml file (in code behind) and display its output in a specific html tag,...
3
by: Alex | last post by:
I stumbled upon this while developing a custom XPathNavigator. It appears that copy action for attributes is broken in the .net framework XSLT processor. The intent was to just copy the entities...
4
by: schneider | last post by:
Anyone know if there is a way to dynamicly create a Xslt template/s and use them as an xml transform with-out use files for the Xslt? All the methods I see use files. I want to create a Xslt...
7
by: Harolds | last post by:
The code below worked in VS 2003 & dotnet framework 1.1 but now in VS 2005 the pmID is evaluated to "" instead of what the value is set to: .... xmlItems.Document = pmXML // Add the pmID...
1
by: Nick | last post by:
I am working on a website for a client and one of their requirements was to have a mailing list. I decided to XSLT to transform "templates" to HTML so that editing was very easy and less time...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
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
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...
0
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...
0
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,...

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.