[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: retrieve hostname

Subject: RE: retrieve hostname
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 24 Feb 2006 12:39:32 -0000
java retrieve hostname
If you know of a Java method that returns the information then you can call
it the same way as you call any other extension function (which depends on
which processor you are using).

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Mark Hutchinson [mailto:exec@xxxxxxxxxx] 
> Sent: 24 February 2006 11:58
> To: xsl-list
> Subject:  retrieve hostname
> 
> Is there a way to retrieve the hostname of the node running the XSLT?
> 
> I have an external document that is being referenced from within the 
> XSLT. It must now run on several machines where the pathing 
> information 
> is different.
> 
> If I pass the hostname to XSLT and store it in a <xsl:param> it all 
> works fine. I was wondering if there was a way of calling 
> java to access 
> the hostname that way? Or perhaps there's another way?
> 
> i.e. java.net.InetAddress.getLocalHost().getHostName()
> 
> Mark H.
> 
> 
> 
> 
> 	
> 
> 	
> 
> 	
> 
> 	
> 
> 	
> 
> //

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.