Multiple transformation

Hello,
I want to do multiple transformation. i have many xsl files and one xml file. i want to generate single html with diffrent xsl.
My question is "is there any case where we can give multiple xsl as a source?"
I hope all can understand my problem. if not let me know.
Thanks,

njpatel wrote:
I need to include aaa.xsl and bbb.xsl on run time. i dont want to use <xsl:inlcude> or <xsl:import> Why not? That's the standard way to include another XSL when you're doing a transformation.
my aaa.xsl and bbb.xsl is coming from database. so i need to include it on the fly.So do that. The URIResolver class is specifically meant for redirecting xsl:include to non-traditional sources.

Similar Messages

  • Multiple transformation between one data source & Target

    Hi ,
    Is Multiple transformation between one data source & one Target possible.
    If possible in which way?
    Thanks,
    Erick

    hello,
    No it is not possible,
    you can have different gorups
    or
    in case of Flat File datasource you can copy the datasource give it a different name and then create a new transformation.
    not sure how this works on R/3
    Regards
    Nitin Bhatia

  • Multiple Transforms

    Maybe a newbie question, but how can I run multiple transforms to the same target without wiping out the document the second time?
    The simplified scenario goes:
    1)Run one partnerlink database query
    2)Transform the results to get the data into the output payload
    3)Branch based off of the data that the query returned
    4)Run another query
    5)Transform 2nd query results, specifying the same output payload
    Result is that the output payload contains only the results of the second transform. Any workarounds?
    thanks!
    Mike

    I might be slightly slow on this - below is the scenario -
    I have one target schema which needs to be populated from two different source schema's -
    The approach that you suggest may be valid only if we have two separate root-elements within the same schema - what if we need to populate fields (elements) within the same root-element with different source schema's. The workaround for this based on your post that I feel would work, is to individually assigning the values of the variable to the final target schema. This becomes a tedious task when we are talking about mapping more than a hundred fields.
    To add to it .. If even one of the fields (even optional fields) is not present, then the assign activity throws a error,
    Errror : -
    empty variable/expression result.
    xpath variable/expression expression "/ns7:POData/ns7:POHeader/ns7:HeaderPoNumber" is empty at line 227, when attempting reading/copying it.
    Please make sure the variable/expression result "/ns7:POData/ns7:POHeader/ns7:HeaderPoNumber" is not empty.
    Any workarounds to deal with this scenario ?
    thanks
    Shailesh
    Message was edited by:
    Shailesh

  • MULTIPLE TRANSFORMING

    Hi,
    I am beginner with XML/XSL. I would like transform XSQL results many times (first step: XSL a, second step: XSL b, etc.). How can I do it?
    Second question:
    I would like generate (via XSL) HTML with URLs to CGI, where parameters are results of XSQL., e.g. something. But there is problem with encoding of some characters (which have to be transformed into "%ff" format).
    Have you any ideas?
    Regards,
    Tom

    The <xsql:include-xsql> element enables chaining of multiple XSLT transformations.
    Let's say you want to build an XSQL Page
    and then transform it first by XSL1.xsl
    and then by XSL2.xsl...
    You can use it like this:
    <!-- main.xsql -->
    <?xml-stylesheet type="text/xsl" href="XSL2.xsl"?>
    <xsql:include-xsql href="mydata.xsql" xmlns:xsql="urn:oracle-xsql"/>
    <!-- mydata.xsql -->
    <?xml-stylesheet type="text/xsl" href="XSL2.xsl"?>
    <xsql:query connection="demo" xmlns:xsql="urn:oracle-xsql">
    select * from emp
    </xsql:query>
    Then, when you request "main.xsql" it
    will do the desired chain of transformations.
    You can chain these any number of times, just note that the results of the previous step must be WELL FORMED XML results, and not <xsl:output method="html"/> HTML results, since they must serve as the XML data input to the next stage of transformation.

  • Multiple Transformations in Prd Sys

    HI Gurus,
    While transporting transformations from Dev to Prd its referring Dev client Only. It has to reffer prod client.
    What would be the possible reasons for this. Please help to solve this issue.
    Note: Source System Mapping are fine in RSLOGSYSMAP.

    HI Ram,
    Thanks for quick reply.
    We already done that scenario. But while transporting again its referring same Dev client.
    In our scenario we have created generic data source based on function module (ZTR_BATCH). And we are having data target as DSO (ZMMB_D01).
    Transformations & DTP exist between DS (ZTR_BATCH) and DSO (ZMMB_D01).
    Our landscape is like Dev (QTLCLNT400) to Prod (SOTL400).
    We replicated data source before transporting.
    Sequence we followed in transport:
    1)      Data Source & DSO.
    2)      Transformations & DTP.
    Note: All RFC Connections are working fine.
             All Source System mappings are defined correctly.
    Please refer Screen shot.

  • Multiple transform/assigns for one variable - is this possible?

    Hi,
    What I am trying to do is read in a complex XML file. Transform some data, add some other data from another source and update a table in the database with all data.
    So currently I read in the XML file.
    Do one big transform to map the majority of data to the input variable of my database adapter.
    I then call a stored procedure to get some ID values.
    I have then been trying to add these ID's to the input variable of my database adapter. Tried both transform and assign, but these seem to overwrite the big transform which I previously did.
    Is it possible to update the same variable in more than one transform without overwriting the values set previously?
    Thanks in advance for any help

    Hi Marc,
    Thanks for your help.
    I've tried playing around with the <bpelx:insertAfter> command referring to your Blog.
    I have a couple of questions, perhaps you could help me with them.
    1. I noticed that once I have added this command into the .bpel file I get an error within the designer view. Is this to be expected or am I doing something wrong?
    2. Is it possible to specify the XML tag which is used and also use an XPath query?
    The code I have added is as follows:
    <assign name="Assign_GlobalsToInsert">
    <bpelx:insertAfter>
    <from variable="InvokeGlobalsGetGlobalsOutputValue"
    part="outputParameters"
    query="/ns1:outputParameters/GET_VALUE"/>
    <to variable="ReceiveFileReadInputVariable"
    part="DATA_FILE"
    query="/ns3:DATA_FILE/ns3:DataLine/ns3:FinalLine"/>
    </bpelx:insertAfter>
    </assign>
    When I tested this it did add and element with the correct value as expected, however the XML tags were <GET_VALUE> as specified in my query section of the from command. Is there anyway to use a different value for the tags?
    I currently get <GET_VALUE>99</GET_VALUE>
    I would like to use <TRANS_ID>99</TRANS_ID>
    Thanks very much for your help

  • Multiple effects (transformations) to an object?

    Multiple effects (transformations) to an object
    Applying multiple transformations to an object and remembering each one is confusing. Which one is rotate, horizontal move etc. So you have to hide/unhide every single one of them, because they all say TRANSFORM.
    Give us the ability to add notes or some kind of names to the live effects.

    You could certainly do that and there's nothing wrong with that. You could have the question as element [0] and the array of potential answers as element [1]. I would typically use a database for this stuff but if the answers and questions don't change much, your method is fine, imho. You might also, however, consider storing a right/wrong bit with each answer so that the second element is an array of arrays in which the second level array is the distractor and its 'correctness.' That way, the answer will travel with the distractors. So, in short, nothing wrong with your method in my opinion.

  • How to run a webdynpro multiple times by passing different parameters each time and save webpages with parameter name?

    Hi Experts,
    I am a BW consultant and new to webdynpro. Not sure how to run RSO_METADATA_REPOSITORY multiple times and by passing different parameter values each time(either taken from an a standard BW table or user provided - anything is fine) and build web pages with parameter name. Need help with direction on where to start.
    Let me step back and explain my requirement:
    In BW we have an object called transformation.
    One way of generating documentation for transformation is highlight transformation and press F1. Then its documentation will be opened as a local web page.
    I need these web pages for all transformations. This is my requirment.
    I came to know that RSO_METADATA_REPOSITORY is beeing used to generate this web page.
    The web link is something like below:
    http://ubw05.xxx.com:8005/SAP/BW/DOC/METADATA/?page=BW_O_D&SystemID=BWPCLNT100&ClassID=TRFN&ID=0KHR6J65AIIUTCJZEC093K6XDFV909PB&objectVersion=A&sap-language=EN&sap-client=100
    When i run this link seperately(not by selecting transformation and pressing F1) i need to enter login credentials to BW system.
    My challenges is how do i pass login credentials and multiple transformation IDs to generate multipe web pages with each page named by transformation ID?
    WHere to start? First of all is RSO_METADATA_REPOSITORY Webdynpro JAVA or webdynpro ABAP or can i use anything?
    Since it is beeing opened as local webpages i assume it is webdynpro JAVa is that correct?
    Thanks,
    Raghu

    hello,
    might be a problem with the version you are using.
    regards,
    the oracle reports team

  • Mass activation of transformations in BI via Report?

    Hello,
    I am wondering whether it might be possible to activate multiple transformations with one simple report.
    In BI 7.0 there are a lot of ABAP-reports for many Objects, but I can't find one for transformations.
    For example:
    I use the report RSDS_DATASOURCE_ACTIVATE_ALL to activate one or more inactive DataSources.
    Is there something comparable for transformations?
    Thanks in advance,
    Christian

    Hi,
    We have used methods cl_rstran_trfn=>factory and IF_RSO_TLOGO_MAINTAIN~activate for actvating the transformation and bulid small program to activate the transformations manually.
    It executes fine in BWD (BW dev) and activates the transformations.
    But In BWQ (BW QA) when we are executing it giving messages as "SAP System has status 'not modifiable' Choose 'Display object' or 'Cancel'.:".
    I think this message coming when executing the method if_rso_tlogo_maintainprepare in IF_RSO_TLOGO_MAINTAINACTIVATE.
    We want to copy the CL_RSTRAN_TRFN class interface to custom class (Z class) and want to do change in method if_rso_tlogo_maintain~prepare by instead of passing rs_c_true, passing rs_c_false, so that by pass any authorization checks.
    i am vey new to classes. copied the CL_RSTRAN_TRFN  to custom one. When i am trying to activate it giving error message as "You cannot access private method "CHECK_RECORDMODE(". not allowed." Not only for this Mehtod for remaining methods also i am getting.
    What is the issue here? Is there any check needed to copy the SAP class to custom class.
    Please share any ideas on this.
    Thx
    Raj

  • How do you deal with this Exception in Java xml transformation

    I was trying to use a java class to do a multiple transformation on and xml file that consists of several xml codes as files.
    This is the Error i got
    Exception in thread "main" java.lang.OutOfMemoryError

    Increase the memory maximum java is allowed to consume, e.g.
    java -Xmx512m ...for a maximum of 512 Megs.
    Regards

  • Distributing multiple data sources by email

    I have a form that gets data from a database using Data Connections.
    I want to be able to email partially completed forms, using this data, to about 300 email addresses so that recipients receive only 1 form with only their personal data included.
    Is this possible without sending 300 separate partially completed emails?
    Thanks

    You can create multiple transformations for open hub destination. Create destination of open hub destination to be file on application server and then use transfer mechanism to transfer files to desired destination.
    Regards,
    Pravin Karkhanis.

  • Multiple data sources to open hub destination ??

    Hi,
            Is it possible to assign multiple data sources to open hub destination?
    At present we are FTP'ing a file to users. Users need one more field added to this file. The information for this field belongs to another ODS. I  checked the infospoke but it does not accept multiple data sources.
    Any ideas?
    Thanks!
    Edited by: BI Quest on Sep 4, 2008 8:12 PM

    You can create multiple transformations for open hub destination. Create destination of open hub destination to be file on application server and then use transfer mechanism to transfer files to desired destination.
    Regards,
    Pravin Karkhanis.

  • Transformation routine on 2 different targets fields

    Hi gurus,
    I have been trying do some ABAP transformation routines, I did 1 and it was good works fine, then I tried to create another transformation routine on a different target field of the same DSO, and for some reason what I did on the global declaration on the other transformation is in this transformation and if I do a change in the second transformation it shows in the first transformation, other thing is that in the second transformation anything works, I got errors for everything and are not very specific. I may be skipping some basic steps; maybe I canu2019t create 2 transformation routines in the same transformation?
    Thanks

    Hi,
    There can be just 1 start routine.
    These are execute once. Also the declarations done in the global section remain visible in all the transformation routines.
    You can write multiple transformation(field level) routines.
    -Mayuri

  • How To Apply Similar Transformation Of One Layer To Another Without Duplicating?

    Hey there guys,
    This is my first post.
    I'm also new to Adobe Photoshop as well . I have a sample 3d eCover and I want to fit an image over the front part. However, I'm having a hard time transformating my image to perfectly the front layer. Is there any option to apply the same transformation of my front cover layer to my image?
    Additional infos:
    1. The front cover layer of the 3D eCover is not yet merged with the other layers. So, I can still edit it.
    2. I'm using Adobe Photoshop CS6.
    Thank you.

    Convert the untransformed image layer (or a duplicate of it) to Smart Object then use Edit > Transform > Distort to align the SO with the sample.
    The SO is not necessary but it has several benefits:
    Multiple transform sessions will not increasingly degrade the appearance.
    Each time you initiate a transform session, handles will be attached to the corners and edges of the SO instead of an axis-aligned bounding rectangle.
    It can be a template into which you load alternative images to instantly transform them.

  • To convert BI DS to BW DS?

    Hi,
    Is there any way that i could convert BI 7.0 Datasource to BW 3.X datasource once it is replicated?
    Because, ours is a newly upgraded system and all the datamodellings have been developed in BW 3.X
    Now we have started developing new datamodels in BI 7.0
    When i am trying to replicate the datasources in the Application , there were so many popups asking me to select the version of the datasource.
    I am not so sure whether to go for 3.X DS s or BI 7.0 as every datamodel is different and for some we still want to be in 3.x
    my question is:
    suppose i had replicated a particulaar datasource as BI 7.0 datasource and wants to revert back to BW 3.x DS, what should be done to retain the old version Datasource once it is replicated as BI 7.0 DS?
    Raj

    Hi,
    How to Migrate a 3.x DataSource to a 7.0 DataSource
    Currently there are many people upgrading from 3.x to 7.0. The biggest question is how and when do we upgrade objects that were developed within the old 3.x functionality? What does this mean for someone that is still understanding the differences?
    The biggest question out of the above ones is when do you upgrade and how do you do it.  Most of the time, it is easiest to do a technical upgrade at first and as you start a new development phase, you start upgrading your objects and security.  For people that don't know what a technical upgrade is, it is basically upgrading the platform that you are working on, which includes the new functionality but the capability to continue using the 3.x development that has already been done.  Also remember 3.x security will no longer be supported when you upgrade to 7.0 functionality and you don't want to use this security methodology either because of the better functionality that is offered within 7.0.
    The following steps are one of the many ways to upgrade currently developed 3.x objects to 7.0 functionality:
    1. Find the InfoSource that the upgraded DataSource is attached to
    2. Create a new transformation against the data target or the infoobject that is to be upgraded. In the case that it is Master Data and it is flexible, you can still create a transformation directly against the InfoObject(s) because a DataSource can be tied to multiple transformations.
    3. Create DTP(s) for this transformation(s) and Activate
    4. Right click on the DataSource and choose Migration
    5. A pop up screen will come up next and will ask you if you want to migrate with export OR without export.
    1. Differences between the 2
    1. With Export - Allows you to revert back to 3.x DataSource, Transfer Rules, etc...when you choose this option (Recommended)
    2. Without Export - Does not allow you to ever revert back to the 3.x DataSource.
    6. A transport should be requested after you choose one of the above mentioned because the transfer rules will be deleted and the emulated 3.x DataSource will be converted to 7.0 DataSource.
    Now, the next decision that needs to be made is in how you convert 3.x objects and in past experience it should be a phased approach. If you are still in the a development phase, you should upgrade each of the current developed objects and do not upgrade objects that have been through development cycles. If an object that has been through the full development cycle and needs to be upgraded due to a defect, these objects should be next. After all of these new/current developed objects have been upgraded to 7.0 functionality, then I personally would start upgrading past development objects.
    Note**That I have seen in some cases that the transfer rules deletion is not added in the transport, one way to avoid this from occurring is after you create the new transformation with the datasource assignment, you can manually delete the old transfer rules and the associated datasource assignment. his will request another transport request and you can use the same one when migrating the datasource.
    Refer
    http://www.econsultantresources.com/index.php?view=article&catid=48%3Asap-business-intelligence&id=68%3A3x-70-datasource-migration&option=com_content&Itemid=77
    Emulation, Migration and Restoring DataSources
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/682cacb88f297ee10000000a422035/content.htm
    /thread/781655 [original link is broken]
    /message/5051257#5051257 [original link is broken]
    Migrating  data source from 3.5 to 7.0
    Hope this helps.
    Thanks,
    JituK

Maybe you are looking for