Pass Dynamic value to a field in xslt

10-11  Source: Network gathering  Views:0 

I have 5 different bpel processes & 5-10 xslts. I need to pass a hardcoded value(user) to one of the field in xslt which will be common for all xslt files. Now i want not to do hardcoding in every xsl. Rather, i want to make change at a place which will be effective for all others. what's the best approach to achieve this.
Hi Vinit
I hope the following will solve your problem
1) create variable of type 'parameters'.
<variable name="XSLTParam" element="ns4:parameters"/>
<assign name="Assign9">
<from><com:parameters xmlns:com="">
<to variable="XSLTParam"/>
<from variable="your_user"
query="xpath+query of user"/>
<to variable="XSLTParam"
3) pass these values to xsl
<assign name="Assign1">
<from expression="ora:processXSLT('xsl/Transformation_1.xsl',bpws:getVariableData('Receive1_execute_InputVariable','part1'),bpws:getVariableData('XSLTParam'))"/>
<to variable="Invoke1_Produce_Message_InputVariable"
4) in xsl file
define parameter
<xsl:param name="USER"/>
<xsl:variable name="User_value">
<xsl:value-of select="$USER"/>
<xsl:value-of select="$User_value"/>
Related articles
  • Pass Dynamic value to a field in xslt 10-11

    Hi, I have 5 different bpel processes & 5-10 xslts. I need to pass a hardcoded value(user) to one of the field in xslt which will be common for all xslt files. Now i want not to do hardcoding in every xsl. Rather, i want to make change at a place whi

  • How to pass dynamic values to JDBC Database adapter in PureSQL operation? 10-11

    I want to fetch the records from the table via JDBC database adapter with the criteria but I should not hardcode the values inside my query. I am using Execute by PureSQL operation. Values might change in future and it is the reason I should not hard

  • How do i pass a value to Output field in a standerd screen...? 10-11

    Hi all.. I have a developed a BDC program for User upload,  I'm facing problem to pass a value to Output field.. Its Displaying Status Message as ZSHIPTO is not a Input field, looking forward to hear from you all, thanks in anticaipation, full points

  • I am trying to pass the value of a field from the seeded page /oracle/apps/ 10-11

    I am trying to pass the value of a field from the seeded page /oracle/apps/asn/opportunity/webui/OpptyDetPG. The value I want is in the VO oracle.apps.asn.opportunity.server.OpportunityDetailsVO and the field PartyName. I have created a button on the

  • Pass dynamic values to search-query in wlp-syndication-config for RSS 10-11

    Hi All, I want to pass dynamic values to the <search-query> element for the <syndication-feed> node in the wlp-syndication-config.xml file for implementing RSS feeds. Here's a sample <syndication-feed>           <name>RSSFeed</n

  • How to Pass Dynamic values to XML in flex 11-30

    Hi, i just want to pass dynamic values. it must be stored in XML List or XML .for Ex: In my App i want to pass Edu_Institute,From_date,To_Date,Qualification fileds to Education table. I have used Webservices to connect with the Backend. At that time

  • How to pass dynamic values in standard text...... 11-30

    Hello, I have no idea that how to create the standard text with transaction SO10,and how to pass the dynamic values to that standard text.Will you guide me with step-by-step procedure. Thanking you in advance, Regards, Asmitha.Hi,     Goto SO10 Tcode

  • Passing dynamic values in WebElements 10-11

    Hi I have created a report with webelement using WESelect. For drop down values we are creating a sting of values with allelements.Is there a way i can get the values from a database column or dynamic values. For example a Week WESelect is created wi

  • Is it possible to pass dynamic values to custom tag? 11-30

    Hi there, I'm trying to build a calendar custom tag so I can drop the calendar into an existing webpage easily. I have got the calendar displaying on the page but the problem I have is when I try to create 'previous' and 'next' links. Is it possible

  • Passing Dynamic Values to a Stored Procedure 10-11

    I have a stored procedure to create a Table. How to I pass a value to the procedure to name the Table. This SP works except the name of the table is @newcomm not the value I am trying to pass in. What is the proper syntax to make this happen. CREATE

  • Assign a dynamic value to a field in HTTP receiver header without IR part 10-11

    hi experts,     I am doing a scenario in which i am to add a header  field in http receiver, whose value will vary for each transaction. and the value will be same as sender file name. But this all I am to do without doing Repository part.(i.e. No me

  • How can I pass dynamic value as a user input parameter in discoverer? 10-11

    Hi, I have a requirement for a discoverer report like this: The report will display only details for Suppliers that have expired (or soon to be) Insurance details. That is the Expiration Date is less than or equal to the day the report is being run p

  • How to pass dynamic name to a field-symbol? 10-11

    Hi All, I have a requirement like I need to create dynamic internal table with dynamic name. Say like, Create a new Table    CALL METHOD cl_alv_table_create=>create_dynamic_table     EXPORTING      it_fieldcatalog = it_fieldcat_fin[]     IMPORTING   

  • How to pass dynamic values to value mapping? please help! 10-11

    Hi Experts,        I have requirement where I am using email adapter to send emails. Now the "To" email address is different for different environment. In other words: DEV - [email protected] TEST - [email protected] PROD - [email protected] Whe

  • Passing dynamic value into HTML from webforms 11-30

    We're setting up an imaging application on the web, and I need the ability to read an image path from the database with forms (or a stored PL/SQL procedure I can call from forms), and have that open an HTML file in a web browser and pass it the name

  • Passing values to another field in APEX form 11-30

    Hi, How do I pass a value in 1 field to another field in APEX form ? I have a hidden field and I need to populate this field by another field. thanksI found the solution to my problem. [1] Create a "After Submit" under Computations. [2] Select '

  • How to give values to the field in free selection via call transaction? 10-11

    Hi, I'm using call transaction for transaction "FAGLB03". And i'm passing the values for the fields company code, account number and year using the respective parameter id. But i need to pass the value for Profit center also, which is in the fre

  • Dynamic Values in OAM Header 10-11

    Hi, Is it possible to pass dynamic values like IPAddress in OAM Headers?.Thanks.Not sure why you would since the IP Address is already on the Request object. You can get at some of the request objects within a Custom Auth Plugin and then set it as a

  • How to pass a value from jspx page to the managed bean 10-11

    hi, i have created a jspx page and manages bean with page flow scope.. in my jspx page i am searching a employee record from the data base . and getting entire employee details including 'status' as a search result. here i want to pass the value of '

  • BCS passing dynamic inputs to methods & calling using in O365 11-30

    Hi all , I have a requirement to pass dynamic values to BDC methods & retrieve data, for this I have created a BDC model file(which has SQL server as external source) with GenericInvoker methods & upload same to Admin central. how do we access the