Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 7th, 2008, 12:24 AM
Authorized User
Join Date: Jan 2004
Location: , , United Kingdom.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Java call within a Xalan-J XSLT

I am running a servlet under Tomcat. The servlet is a "wrapper" for Xalan-J that transforms a given XML/XSL combo. (I don't have access to this servlet source code.)

I have been successful in getting super basic Java calls working in my XSLs (such as string.toUpperCase or InetAddress.getLocalName).

My current requirement is for my XSLT to be able to know the complete URL of what called it. For example, I want something like
http://server1.abc.com/trans?xml=...&xsl=... or http://server2.abc.com/trans?xml=...&xsl=... that I can store into a variable.

The IP address and box name I can get via InetAddress. It is the URL that I really need.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xalan Java Interpretive vs Compiled processor XSLTUser XSLT 0 December 29th, 2007 01:34 AM
how to call .rpt from java mogal155 Javascript How-To 0 January 10th, 2005 11:14 AM
xalan, serces, xslt techno123 XSLT 2 January 5th, 2005 02:30 PM
How to call java external files? hlchuah77 Java GUI 2 September 12th, 2004 02:10 PM

All times are GMT -4. The time now is 07:30 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.