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

Is remote XML/XSL Translation possible?

Our sys op won't/can't install the server side XSLT libraries, to
allow us perform server-side translations on our webserver It is a
Linux machine. Is it possible to put the XML and XSL files on a
different machine and have the translation take place there and then
have the results given to the webserver and then it gets served out to
the user? How would I accomplish something like that? Php? 3rd party
software? Please let me know. Thank you so much!
Jul 20 '05 #1
5 2092


Gene Ellis wrote:
Our sys op won't/can't install the server side XSLT libraries, to
allow us perform server-side translations on our webserver It is a
Linux machine. Is it possible to put the XML and XSL files on a
different machine and have the translation take place there and then
have the results given to the webserver and then it gets served out to
the user? How would I accomplish something like that? Php? 3rd party
software? Please let me know. Thank you so much!


Well, you would need server side processing on your first server but of
course it could then make a http request to another server for the XSLT
transformation and read the response and send it to the client.
--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2
On Fri, 23 Apr 2004 15:03:37 -0700, Gene Ellis wrote:
Our sys op won't/can't install the server side XSLT libraries, to
allow us perform server-side translations on our webserver It is a
Linux machine.
BOFH? Can you even get him/her/it to install LibXML/LibXSL and Perl/PHP
bindings for them? If you can then you can at least do the transformations
on that server via Perl/PHP et al.
Is it possible to put the XML and XSL files on a
different machine and have the translation take place there and then
have the results given to the webserver and then it gets served out to
the user? How would I accomplish something like that? Php? 3rd party
software? Please let me know. Thank you so much!


Of course it is - look up RPC, SOAP etc. However why not just have a
seperate webserver (xml.whatever.com) and host the XML / transformations
on that box and just link to them from your main server? No need for your
primary webserver to even serve the files out and you get the joy of
getting your sys-admin to add another box to their workload :)
Jul 20 '05 #3
The answer to your question is yes.

http://www.remoteserver.com/apage.php?xml=bleah&xsl=heh

The only problem here is that a - the security trust between the 2 servers
How is the Remote Page going to know what your xml/xslt files are
you could either a) post them or
b) provide a trusted url for themto be downloaded from -

Then once the source files are on the remote server you can transform them
and spit back the contents and then this will be returned by the user
"Gene Ellis" <ge********@ucop.edu> wrote in message
news:a7**************************@posting.google.c om...
Our sys op won't/can't install the server side XSLT libraries, to
allow us perform server-side translations on our webserver It is a
Linux machine. Is it possible to put the XML and XSL files on a
different machine and have the translation take place there and then
have the results given to the webserver and then it gets served out to
the user? How would I accomplish something like that? Php? 3rd party
software? Please let me know. Thank you so much!

Jul 20 '05 #4
> Linux machine. Is it possible to put the XML and XSL files on a
different machine and have the translation take place there and then
have the results given to the webserver and then it gets served out to
the user? How would I accomplish something like that? Php? 3rd party


1)
hmm. I am not sure why you would want to transfer the results from one
server to another. Just let the XML server display the results as
well. If you are concerned about user authentication, look into CDSSO
(Cross Domain Single Sign-on). CDSSO is much better way to handle this
situation, then to transfer data between 2 servers. Transferring data
between server always introduces security risks.

2)
On the other if you just want to have XML content reside on one server
and the translation engine on a different, look into Apache Cocoon.

Here is an example of how Apache Cocoon can get XML content from a
remote URI, and perform translation.

http://www.xml-dev.com:8080/tldp/htt...ok/xml/xml.xml
(Watch for line wraps)

more examples here: http://www.xml-dev.com/blog/#88

Thanks.
Saqib Ali
http://validate.sf.net
Jul 20 '05 #5
Many approaches ...

jmx is one : http://java.sun.com/products/JavaManagement/
Jul 20 '05 #6

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

Similar topics

5
by: Roger | last post by:
I would like to get a list of running processes on a remote machine. How is this possible via VB.Net? Is it possible? Can someone point me in the right direction. thanks, rog
5
by: McGeeky | last post by:
Is it possible to install an assembly on a remote machine's GAC? I don't see an option for it using gacutil.exe -- McGeeky http://mcgeeky.blogspot.com
7
by: Steven T. Hatton | last post by:
Is there anything that gives a good description of how source code is converted into a translation unit, then object code, and then linked. I'm particularly interested in understanding why putting...
1
by: Besbello | last post by:
Hi all, first of all, sorry, my English is horrible. I have a local Borland Visual C++ application that uses an Access .mdb file as DB. I need to make this application distributed, with a...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed...
4
by: William Hudson | last post by:
I want to be able to ask users for a URL, open that page, change some of the contents and then display that page as if they had typed the URL into a browser. I have toyed with some of the php...
2
by: Orgil | last post by:
Hi all, I just want to delete a file in a server by FSO. My code is: Set objFSOD = Server.CreateObject("Scripting.FileSystemObject") objFSOD.DeleteFile Server.MapPath(".") + "\Greetings\" +...
3
by: Nymus | last post by:
I would like to use an access database as a shared database on a remote website. I don't know if it is possible, but this is what i would like to do with this database: - Use it to run a database...
4
by: gw7rib | last post by:
If a class has more than one member function, is it possible for the code for one to be in one translation unit (ie file) and the code for another to be in a different translation unit? I would...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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,...
0
isladogs
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...

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.