Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9270765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T15:27:04+00:00 2026-06-18T15:27:04+00:00

In my configuration.xml in MULE server 3.3.0 CE, I pass MULE_REMOTE_CLIENT_ADDRESS to .xslt file,

  • 0

In my configuration.xml in MULE server 3.3.0 CE, I pass MULE_REMOTE_CLIENT_ADDRESS to .xslt file, below I copied my codes :

    <logger 
  message="#[message.inboundProperties['MULE_REMOTE_CLIENT_ADDRESS']]" 
  level="INFO" doc:name="Logger"/>

To pass IP address to XSLT, store it in a variable and pass that.

    <set-variable 
  variableName="remoteClientAddress" 
  value = "#[message.inboundProperties['MULE_REMOTE_CLIENT_ADDRESS']]"/>

Pass it to XSLT as:

<xm:xslt-transformer xsl-file="xsltFileName.xslt">
  <xm:context-property 
    key="remoteClientAddress" 
    value="#[remoteClientAddress]"/>
</xm:xslt-transformer>

In my XSLT, declared a param variable

<xsl:param  name="remoteClientAddress" />

and then use this variable as

<xsl:value-of select="$remoteClientAddress" />

But in configuration.xml file I use this :

<logger message="Remote client address is------> #[remoteClientAddress]" level="INFO" doc:name="Logger"/>

for checking IP-Address, but in my MULE Console I saw this statement : /127.0.0.1:51708
while I need to 127.0.0.1 I don’t need / before ip-address and :51708 at the end of my ip-address.

How can I remove these extra parts in Configuration.xml in mule and then just send
ip-address to .xslt file ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T15:27:05+00:00Added an answer on June 18, 2026 at 3:27 pm

    I don’t know anything about Mule, but you could just do this:

    <xsl:param  name="remoteClientAddress" />
    <xsl:variable name="remoteClientAddressTrimmed"
           select="substring-before(substring-after($remoteClientAddress, '/'), ':')" />
    

    and then later

    <xsl:value-of select="$remoteClientAddressTrimmed" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a file named configuration.xml which resides in classes folder of my WEB-INF
Application1 has a xml configuration file say: <Application1> <ConfigApp1>Value1</ConfigApp1> <App1Layout>Layout</App1Layout> </Application1> Application2 has a
I have some values in a configuration file (XML file) with some values like
To use Spring Integration in a Spring XML configuration file, I need to declare
I have an configuration xml file which has some values like <config> <map>100,1,200,1</map> <image>abc.bmp</image>
My application have a configuration xml-file. That file contains more than 50 program settings.
In configuration.xml file I implemented a flow for publishing out a wsdl, during the
I have enumeration like this: public enum Configuration { XML(1), XSLT(10), TXT(100), HTML(2), DB(20);
I have a configuration XML file. some nodes are used for computation purpose and
Assuming I have a sample configuration XML file that is the following: <?xml version=1.0?>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.