Setup a parametered xml source for xsl?

Hi there ppl!
I'm using xsl transformation to display some xml data on my php pages. The basic stuff is pretty clear to me but I have an issue that I just cannot figure out myself: after having displayed a lit of records from an xml source I want to display some details when clicking on a specific item. This also should be pretty simple in theory but....my xml are not static files, they get generated on the fly by some server app, the source being something like:
http://www.website.com/get_xml
On a php page I read the xml source and write the output and I use that php file as my xml source.
The problem arise when my xml is genrated by a parametered query like:
http://www.website.com/get_xml?id=9999
I want to pass the id parameter from my list to the detail page where it will be used in the DWXMLSource:
DWXMLSource="http://www.website.com/get_xml?id=xxxx
where id is the url parameter value passed by the listing page
Can I do it??
Thanx for your help!

The XSLT fragment extracts the data from the XML file and formats it according to your instructions. The following tutorial in the Adobe Developer Connection explains how to create the XSLT Fragment: http://www.adobe.com/devnet/dreamweaver/articles/server_side_xsl.html.
Since you're working with a dynamically generated XML document, the best way to create the XSLT Fragment is probably to save a copy locally of the XML output, and use that as a static XML source. Once you have created the XSLT Fragment, you should be able to use the URL of the dynamically generated source and pass the parameter to it as described before.
All this depends on the XML output being of a predictable nature. If different parameters produce a completely different XML structure, it won't work. For example, if the XML output always uses <feed> as its root element and <item> as a repeating element, it should work. However, if one parameter produces output with <feed> and another parameter uses <photos>, it won't work.
I have used XSLT fragments to display the output of RSS news feeds. RSS has a fixed, predictable structure, so it works just fine.

Similar Messages

  • XML source for invoking BP's with multiple parts in request message

    Usually I check the box Save as default input when invoking a process from the console to get at the XML version of the request message.
    However, this doesn't seem to work when the request message consists of multiple parts.
    What should the format be in this scenario?
    Toby

    Dave, not sure if you still are looking for an answer but i hate seeing unreplied posts so i felt i needed to post something. I'm just beginning with this stuff as well so take my suggestions with a grain of salt....or a beer. Anyways, case 2 would show that you are getting your parameters through properly because the "deserialization" errror is targetted towards the soap reply. Most likely you are trying to receive back a none primitive type. :-D i.e. such as the problem that i'm having.
    hope that helps somewhat.
    graeme.

  • Running Sync BPEL process doesn't show any HTML form /XML source for input

    Hi
    I designed,compiled and deployed SYNC BPEL process on to server
    but when I opened console and try to run the process, it doesn't show any form for input
    Actually it has to take input
    Where I am doing wrong...?
    Thanks for any help...

    Hi Praveen,
    That is correct, you're not doing anything wrong. The BPEL Console doesn't show any forms for testing the services if the service is synchronous.
    I test my synchronous webservices with Eviware SoapUI. This is a freeware tool. Check: http://www.soapui.org/
    Just create a new project in soapUI, create a new request from WSDL, copy and paste the WSDL in soapUI. It will generate a default request for you, which you can edit and execute.
    HTH,
    Bas

  • Data source for deposit advice xml and check writer xml

    Could someone please tell me where I can find the data source for the Deposit Advice XML and Check Writer XML programs. Since these executables are now a spawned process (PYUGEN), I don't know how to get to the data source. I was able before to look at the queries in PAYUSPST.rdf and PAYUSCHK.rdf. Where are these queries located now? Any help is appreaciated.

    Hi All,
    I applyied the patch 6399100 and i got the seeded Check Writer (XML) and Deposit Advice (XML) programs.Im able to run the Check Writer (XML) with Parameter (Check Style :Seeded Archive Check Writer Template ) but where as the im unable to run the Deposit Advice (XML) due to Error msg: "No enties found for list of vales"for the 'Check Style' Parameter.
    And for the above (only for Deposit Advice) i am not able to ecexute the SQL script given in the Doc ID : 459306.1 due to the error msg : cannot insert NULL into ("HR"."PAY_REPORT_CATEGORIES"."REPORT_GROUP_ID") if i see query the select * from apps.pay_report_categories where short_name like 'ARCHIVE%' there is no record exixts for ARCHIVE_DEPOSIT....
    for this we required any other patch/setups.
    And is the "Third Pary Check" will support XML Publisher ??
    Any respose will be greatly appriciated.
    Thanks,
    Madhu
    Message was edited by:
    user589951

  • XML Source Portlet: Setup Error Cannot Edit Portlet

    Hello,
    I've just run through, twice, the migration wizard to import the ptxmlsp.pte file. This setup completes and I find the XML Source Portlet Folder with its webservice, remote server, and Portlet Template. Following the AminstratorsGuide_XMLSourcePortlet.pdf when I try to create a portlet I get a 404 error when I click the edit button trying to configure this portlet.
    The server is running IIS 6 and Tomcat 4.1.30.
    This is what I'm seeing from ptspy when I click the edit button:
    Any assistance would be appreciated.
    John
    [email protected]
    This turned out to be a setup error due to both IIS and Tomcat running on the same server an update to the remote server's base url needed to be changed to port 8080.

    We're on 5.0.2. I'm looking to pull an XML file off the web and write an XSL file to display it. I've been able to get it to work with the following test example:
    http://www.w3schools.com/xml/simple.xmlhttp://www.w3schools.com/xml/simple.xslWhenever I use something more complex, then I get an "Error: Could not transform XML data. Contact your administrator." Xalan.jar is in the right location. Since I can get the more complex files to work from the command line, and a simple web based translation to occur, it's a bit confusing...
    Xalan.jar is in the correct location. Should I double-check any environment variables?
    By the way, will this portlet work for .rss files as well?
    Thanks!

  • Generate xml source file for Oracle Order Capture Print Quote

    Hi,
    I am new to xml and need to work on creating templates for Print Quote.
    I am trying to generate the xml source file for which I enabled the report in system administrator and set the output to XML and assigned to Quoting Reports responsiblity. I then assigned XML Report Publisher to the same responsiblity.
    I ran the report (Print Quote) and then I am trying to run the XML Report Publisher but I cannot get the request id in the list of values.
    I am able to generate xml source file for other reports like Printed Purchase Order etc.,
    The view output for the (Print Quote) report is as follows:
    <?xml version="1.0" ?>
    - <!-- Generated by Oracle Reports version 6.0.8.26.0
    -->
    <ASOPQTER />
    How do I get the xml source file? Or are there seeded templates that I can use to create more templates? Any help would be appreciated. Thanks Ravi

    Hi, I am in the same position - did this issue ever ger resolved by anyone. I have done a few XMLP reports successfully now using the Word add-in, but customising the Quote output differs from other standard reports.
    If you look at the data definition for Quote it is a 'dummy' definition and has no XML file attached. Does anyone know how I can get the XML format for the report output?
    Also the template uses XSL-FO ?!?!?! rather than RTF - not sure how to work with this, the Oracle docs are not very helpful in this regard either.
    Has anyone successfully managed to customise the Quote print report? Many thanks,
    Roger

  • XML data source for grid

    I am using web services to read an XML file that contains a schema.  I am using the input as the data source for a grid.  When the grid is populated it does not appear that the schema is interpreted.  All the decimal values are presented as strings and are not sorted correctly.  Is there something specific that I need to do to invoke the schema?

    Worst forums ever! Nobody can help with the insertion of a
    currencyvalidator in a datagrid itemeditor?

  • Data source for Deposit Advice (XML) and Live CheckWrite (XML) reports

    Hello All,
    We need to customize the Deposit Advice (XML) and Live Check Write(XML) reports to accomodate a few business requirements. We already have customizations for these reports in non-XML versions. For Ex: USPAYPST.rdf for Deposit Advice report. As these non-XML RDF reports are going to be unsupported by Oracle soon, we need to customize the XML versions of these report available in R12.1.3.
    As these reports are kicked off by the PYUGEN spawned program, therefore I need information on the data source for these reports as soon as possible.
    Looking forward to your prompt help.
    Thanks,
    Rahul

    Now, I have anew problem here. I modified the USPAYPST.rdf report for Deposit Advice and then changed concurrent program output to XML from Text.
    I attached a RTF template to the concurrent program to have the output in XML.
    When I run Deposit Invoice Report from the SRS window, it finishes off normally and log file says the number of records processed but no output file is generated.
    I also tried looking into the XML generated through View XMl and there too no output file is generated.
    I am confused if the Deposit Advice program can only generate Text output. As PYUGEN is the executable for this report, I have no idea if XML file can even be generated.
    All pointers to this issue are welcome.
    Thanks,
    Rahul

  • VO Substitution : JBO-25006 : Invalid parameter value passed for source

    Hello All,
    I want to add 2 new fields (attribute columns) to an existing VO for which I am trying to use VO substitution. I have followed these steps.
    1.     Downloaded all the class files from server to local machine
    2.     Opened an OA project and extended the VO by changing sql query to add 2 attribute columns
    3.     Added 2 transient VO attributes to map them to the added fields in sql query
    4.     Create a BC4J substitution and imported jpx file using jpximporter
    While opening the page which consisted the original VO that I extended (creditRequestsVO), I am getting below error. Appreciate if anyone can throw any light on this.
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value creditRequestsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2542)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1892)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value creditRequestsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2542)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1892)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value creditRequestsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2542)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1892)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:536)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:424)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Edited by: Bhavesh J Shah on Feb 22, 2010 1:58 AM

    Hi Rama,
    Parameter being passted to LeadHeaderDetailsVO is not right. Check the parameter values that are being passed,wether there are right or not
    Thanks
    Sandeep

  • Generation of XML Tags for columns in Lexical parameter in select query

    Hi,
    I have lexical parameter in my select statement of my data model in the report.
    How do i generate XML tags for these columns inside a Lexical Parameter?
    Simple Example: I have data model query as follows:
    SELECT msi.inventory_item_id
    &LP_SELECT
    FROM mtl_system_items_b
    Here my lexical Parameter LP_SELECT is generated in before report trigger as follows in my report:
    :LP_SELECT := 'msi.segment1,msi.description';
    So, the question is how to generate XML Tags for columns in Lexical Parameter(as in the example above, i need XML tags for these columns - segment1 and description)
    Thanks,
    Ratan

    try this
    Select &order data_show
    from oe_order_headers_all
    where order_number ='7889'
    and setting  :order:='order_number';  in after parameter form trigger.
    Hope this helps
    Hamid

  • Can we setup automatic sourcing for standard purchase order

    hi all,
    can we setup automatic sourcing for standard purchase order. i have done automation for bpa. can anyone help me in setting up automatic sourcing for spo.
    thanks.

    Hi,
    In order to create a Standard PO from requisition automatically, Requisition should be sourced to Contract Purchase agreement / Quotation / Global BPA.
    Please create ASL, Sourcing Rule and Assign the sourcing rule in Assignment Set.
    Also Set the Profile option "PO: Automatic Document Sourcing"
    Refer the note
    Automatically Create PO's from Drop Ship Requisition (Doc ID 835412.1)
    How to Create an Automatic Standard Purchase order for an Approved Purchase Requisition Sourced to a Contract Purchase Agreement (CPA) (Doc ID 334601.1)
    Thanks,
    Subhashini

  • Can Discoverer be used as an XML Data source for XMLP ?

    I am wondering if Discoverer can generate an XML Data Source for XMPL.
    I have heard that Discoverer Viewer can have XML as an output. Is there a way of using this XML output with XMLP and, if yes, how to batch both steps ?

    Hi
    My understanding is that Discoverer does not generate XML data as an ouput that XMLP can consume. The XML is does generate is actually an XML RDF for Oracle Reports.
    XMLP is integrated thou, when you export your Disco report to PDF thats XMLP doing the conversion to PDF for you.
    Regards, Tim

  • Different data-sources.xml files for each build

    Any thoughts on how to do this:
    I have two sets of data-sources. When I deploy the EAR to my stage box, I need to go to the "stage" data source of the other repositories. When I deploy the EAR to my production box, I need to use the production data sources for the other repositories
    I am using jdev 10.1.3
    There is a single data-sources.xml file - where, currently, I am manually editing the connection strings between deployments.
    I am using ant to build the EAR file.
    What is a more elegant way to do this?

    Use ANT script to build the EAR file.
    Have 2 different data-sources file one for production and one for stage.
    Based on the environment you want to deploy tell ANT to copy those files into the EAR.
    Just a suggestion.

  • The XML Source file is unavailable for viewing

    Same java application is deployed on two different servers. One server is in the intranet zone and the second one is in the internet zone. The request sent to the server is an xml file and the response from the server is also an xml.
    In intranet server, when we are trying to view the source of the response xml file , we are getting a prompt displaying the message "The XML Source file is unavailable for viewing".
    But in internet server, when we are try the same, we are getting a valid xml resposne. We are using IE 6.0 - SP1 browser.
    We tried the same in the mozilla browser and found the same results. Any suggestions on this?

    One possibility is the IE security settings under tools/internet options. The intranet site may have a lower security setting than the internet site. The browser may not ne letting the internet site download the xml.

  • XML parser for Java setup

    I download the XML Parser for Java 3.2.1 Release from the IBM site and I have JDK1.3 installed on my Windows 2000 PC. I've placed the files "xerces.jar" and "xalan.jar" in the location specified by the extensions mechanism (i.e "C:\JDK1.3\jre\lib\ext\").
    I downloaded an example where java uses XML but I get an error because it fails to import the following class:
    import com.ibm.xml.parser.Parser;
    Also in another application the same thing happens with this class:
    import com.ibm.xml.parser.TXDocument;
    If I remove the xerces and xalan JAR files from the directory mentioned above I get move errors so I presume I have the files in the right location. Do I need to place any other files in that DIR other than the xerces and xalan JAR files?
    Any help greatly appreciated!

    Not sure if you solved your problem.
    I think Xerces was handed over to the Apache organisation by IBM and the package names were then changed so that com.ibm would have become org.apache or whatever. At a guess nobody got round to changing the examples.

Maybe you are looking for

  • MSI K7N2 Delta ILSR and Serial ATA Drive

    I've got a very strange problem.... Yesterday i have installed my new motherboard (MSI K7N2 Delta ILSR) but i have a problem with the SATA feature. I've got two drives : one 40GB ATA (Western Digital) and one 160GB SATA also from Western Digital. My

  • Error while doing LCM

    Hello All, I was doing migration of a planning app but failed with the following log. I am unable to understand what exactly is the issue with this log. Can anyone give me a idea what exactlu is the issue. org.jdom.input.JDOMParseException: Error on

  • Gmail contact addresses not syncing properly in iOS 4

    Since updating my 3GS to iOS 4, I've noticed a change in the way contact addresses are entered: there is a separate field for each individual address component. The problem is that all my contact addresses are now populating the fields incorrectly. T

  • Photoshop element 9: no thumbnails

    Hi! When I import picture tubnails is not showing up, only timeglas even how long I wait the tubnails is not executed I tried to update from 9 to 9.03 but it did not worked out either. Any help would be much appriciated, Best regards Kenneth

  • What does it means when you turn on the macbook and a file with a "?" mark flashes?

    What does it means when you turn on the macbook and a file with a "?" mark flashes?