My php page needs to bind to multiple xml sources.  How?

Hello --
I need to bind an xsl fragment on my php page to multiple xml sources.  The bindings panel only allows for one.  There's got to be a way, right?  The schema is identical, in about eight files, I just want to search and report the info from all eight files into one xsl page... solution?
thanks!
Don

I don't know if this is at all possible, or if it answers your needs, but what about creating a php page with all the recordsets in, print the results on the fly to a single xml file, and then import that one xml file.
Just a thought!

Similar Messages

  • Multiple xml sources - JSP

    Hi to all,
    Ok this is my situation. I have XML data that is coming from servlets. I need to build a JSP page that will output the XML data, but from multiple servlets. Is there anyway to do this? I have XSLT that transforms the XML data, but it has to be linked at runtime, since the servlets only outputs the data (I need a clear separation between data presentation and the data itself)
    Coul somebody she some light plz...
    Thanks

    Well, not exactly.
    Let's say I have two HTML lists in my JSP page that needs to be outputted. Each of these lists get their data from different servlets. These servlets outputs the XML data. I have this JSP page that needs to take the 2 XML outputs (from each servlets), link the XML data with their respective XSLT file (dynamically!) and render it in HTML.
    So I have multiple XML sources, not just one. That is exactly what I don't want because the XML data combinaison is irrelevant. I want to be able to use this output with other pages. (So joining the 2 sources is not acceptable)
    Thank you

  • Multiple xml source file loading ?

    Hi,
    I've already managed to set some multiple flat file as source, but the question is :
    How to set some multiple XML source files ? (to read ally xml files stored in a folder for instance)
    I link the XML file directly in topology instead of doing it in my model. So how can I change the file name dynamically ?
    Any advice ?
    Thanks
    Pierre-Henri

    Hi,
    all right I followed the explanation on this link :
    Looping a folder for pattern files
    The set up is ok, but I generate this error message :
    The scenario did not end properly.
    When I'm trying to run the interface alone (without v_FileName obviously), I get this error :
    java.sql.SQLException: Table not found: D in statement ...
    I created my XML model, then I defined it's ressource model as D:\mypath\001.xml. Into the interface, as my model uses XML technology, I can only use LKM SQL to SQL knowledge model.
    When I look at operator, I can see it tries to run this following SQL code :
    select     
    attribute 1,
    attribute 2,
    from     schema.D:mypath001.xml CD
    where     (1=1)
    schema.D:mypath001.xml is probably the wrong part :)
    Do you have an idea to get your example (on txt files) running with some xml files ?
    thanks for your time

  • 1 xml file to multiple xml files with 200 records in each

    Hello Experts,
    I have below scenario.
    Please suggest me which might be the best approch to work on.
    1) XML file to XML file
    I will have 1 pretty huge XML file which i need to break in multiple XML files with 200 records each.
      1) first approch i can have bpm in which i can split the file according to my requirement.
      2) Second approch i can create 2 scenarios in which 1st scenario will pick up XML file and create multiple flat files with File content conversion. Second scenario will pick up all these flat files and create XML files.
    2) XML file to XML file
    Or i can have multiple files with 1 record per file and i need to merge in multiple XML files with 200 records in each.
    So its kind of 1:N or M:N scenarios.
    Please tell me which is might be better performance and design wise.
    Or if you have any idea in any other way i can do this, then please reply as soon as possbile.
    Please tell me if you have OS command for the same or some script to run or anything which i can implement.
    Thanks,
    Hetal

    what is your senario? is it File to File?
    You can use multi mapping concept without BPM. You can handle the 200 records per message logic in the multimapping.
    Regards,
    Praveen Gujjeti.

  • Transforming multiple occurence source element to target

    hi,
    i need help in mapping multiple occurrence source elements in source schema to target...
    unable to add for each in source...
    i need to map between an source schema and database schema
    this source schema has elemnts which is of multiple occurrence. so how do i insert records?? looping the entire transformation is an overhead to database.
    can many to one mapping be done in BPEL..??
    please help...
    Edited by: 870953 on Jul 7, 2011 4:27 AM

    Hi,
    this is forum for problems with Oracle SQL Developer Data Modeler. You need to find the right forum for your tool.
    Philip

  • CFTransaction & Multiple data sources

    We have the need to update to multiple data sources under
    CFTransaction. We have two MSSQL databases so I was able to create
    a view in one to the other and that works (unless someone knows of
    a problem that could cause). But we also have a MSAccess db that
    gets hit too under the same CFTransaction. CF does not allow you to
    have multiple data sources under one CFTransaction. If all the
    tranasction control is on the db side, why does CF care if there
    are different data sources?
    Thanks.

    As I said in my original post, in order for a transaction to
    span multiple databases, you need to do what's called "2-phase
    commit" or "distributed transactions". This is not a trivial thing
    to do, nor is it something that is often needed (especially in
    Coldfusion, which is 99% of the time talking to a single database).
    Why do you need to do 2-phase commit? and why isn't it
    trivial?
    "2PC is an acronym for 2 Phase Commit. This is a protocol by
    which data being committed to a database is committed in two
    phases. In the first phase, the transaction processor checks that
    all parts of the transaction can be committed. In the second phase,
    all parts of the transaction are committed. If any part of the
    transaction indicates in the first phase that it cannot be
    committed, the second phase does not occur. ODBC does not support
    two-phase commits."
    http://docs.openlinksw.com/virtuoso/twopcimplementation.html
    I don't think Access supports 2-phase commit. Access isn't
    really intended for the kinds of things that need 2-phase commit,
    which Microsoft readily admits (hence MS SQL Server).
    > My thought is that it is not allowed because CF only
    remembers one data source per cftransaction therefore can only send
    one commit or rollback instruction. If that's the case, it sounds
    like a simple enhancement.
    No, this isn't allowed because distributed transactions is a
    non-trivial thing. This isn't all handled on the database side, as
    you reference. If you're dealing with one datasource, yes, it does.
    Once you pull in a 2nd datasource, you need something that can talk
    to all databases involved (a transaction coordinator) and 1) check
    to make sure everything can be committed safely then 2) commit
    everything (hence 2-phase commit).
    Basically, you're trying to do something that's non-trivial,
    you don't understand why it's non-trivial, so you're getting
    frustrated. I realize you're not a Java shop. I was simply trying
    to explain to you why it was non-trivial, and a method to work
    around that if you so desire.

  • Acrobat X Pro - I need to export a multiple page pdf into a powerpoint presentation - no editing ability needed

    Acrobat X Pro - I need to export a multiple page pdf into a powerpoint presentation - no editing ability needed

    Then you need to upgrade to Acrobat XI Pro, which you can do from the Adobe Products Page.

  • Need script to place multiple single page pdfs in ID pages

    Does anyone know of a script that would place a whole folder full of single page pdf files into an indesign document one per page, alphabetically by pdf file name, and ideally add new pages as needed. The last part is optional, as the ID document could already have the required number of pages, all using the same master page with the the picture frame already in place.
    In my current project, the pdfs are all the same size as the ID document page size.
    This would be along the lines of the scripts that place multipage pdfs, but for single page ones. I have tried first creating a multipage pdf by inserting a folder full of single page pdfs at the end of an initial pdf. Acrobat 8 pro does this very well indeed, but selects the pages from the source folder in random order. I need them in alphabetical order.
    Thanks for any insight,
    Al

    For this project I could equally well use a script that would place or re link to a new pdf in a single page ID document, print device independent postscript with some sort of unique or sequential filename, and repeat the process for a whole folder of source pdf files. No new pages need to be added, and the new pdf could replace the prior one.
    What I am after is a device independent ps file for these pdf files. The ones produced by batch processing from Acrobat 8 Pro do not offer enough control, as in that method I would need *only* the black separation.
    Thanks,
    Al

  • Help needed with a Nav Bar and PHP page.

    Hello, i'm designing a website
    http://www.ahcagency.com for
    wich i create a nav bar in FW and exported the html to DW and
    inserted in a template so that way i update all the pages from the
    template. Everything works fine, but i have a login page for a
    secure area inside the same website and on the
    http://www.ahcagency.com/login.php
    page i have the problem. The nav bar has 7 buttons, if i insert the
    first 3 buttons on the login.php page works very nice, but when i
    insert all the 7 buttons the login.php does not work at all. Also i
    insert the nav bar in all the php pages inside the secure area and
    all works fine, the probles is only in the login page.
    ANY ADVICE, I'M DOING SOMETHING WRONG?
    Also when i create the buttons i gave them the four stages,
    but only the 1st stage and the rollover work.
    what i want is if i click on the services page, the services
    button stay down while i'm on the services page.
    ANY HELP HERE?

    Hi
    I bought this Athlon 3000 xp on Ebay and the listing says
    Manufacturing process  0.13 micron copper process
    Package  453-pin organic PGA
    1.95" x 1.95" (4.95 cm x 4.95 cm)
    Socket  Socket A (Socket 462)
    Speed (MHz)  3000 (rated)
    2167 (real)
    Bus frequency (MHz)  166
    Clock multiplier  13
    Low power features  Halt state
    Stop Grant states
    Sleep state
    Probe state
    Other features  MMX technology
    SSE
    3DNow! Professional
    Level 1 cache size  64 KB code
    64 KB data
    Level 2 cache size  Full-speed exclusive on-die 512 KB
    Floating Point Unit  Integrated
    V core (V)  1.65
    Min/Max operating temperature (°C)  0 - 85
    Typical/Max power dissipation (W)  58.4 / 74.3
    The motherboard is a new board so there are no previous settings
     :wall:looking at the listing i think i have been told the wrong settings ,should it be 13 x 166 not 10.5 x 200 

  • Cannot create editable region on php page

    I was successful on the html page; to select the text and create editable region.
    But when I select the same text on the php page; I get the error message: "Selection is outside the body tag. Select the text inside the body tag."
    www.ndccalliance.org/resource.php
    www.ndccalliance.org/resource.html
    What am I doing wrong?
    Thank you.

    Hello JudyEllis,
    Take a look at the output source code for your PHP page when viewed in the browser. You actually have multiple nested opening and closing HTML and body tags in your page. It appears maybe you're using includes, for instance with your header and footer, but your include files are entire HTML documents, not just the chunks of code you need.
    Best regards,
    Corey

  • Orphan table header at bottom of page when page breaks a table across multiple pages

    Hi all,
    I think similar questions have been asked before but I have not found an answer.
    Here's the scenario:
    I have several dynamic tables in a dynamic form.  The layout is flowed, and everything can grow and shrink as needed.  That all works.
    However, my tables have headers.  Occasionally when one of these tables is large and needs to break across multiple pages, there will be just enough room at the bottom of the previous page to show the next table header, but not enough space to show any of the related table rows.  So it ends up looking silly, with just an orphaned header at the bottom of one page, and then the table continues on the next.
    I have my tables set up so that headers get repeated on subsequent pages, by setting the header row to "repeat row for each data item" on the binding tab.  I would like to keep that functionality, but I just want to find a way to avoid these "orphaned" table headers that sometimes appear.
    I have tried the "keep with next" option.  However, although this does push the rendering of the header to the next page, it seems that according to livecycle the table still officially began on the previous page.  Therefore I get a duplicate header because of the "repeat row for each data item" option.
    I have also tried having two header rows, one that is set to only be displayed on the initial page, and the other that is set to appear only on subsequent pages (pagination tab).  This did not work - I ended up with duplicate table headers.
    Can anyone help me?
    Thanks!

    You shouldn't have "repeat row for each data item" selected for header rows.
    You should have "include header row in initial page" and "include header row in subsequent pages" selected on the Pagination tab.
    Then using a "keep with next" might work ok.

  • Passing values from applet using POST method to PHP page

    Hello there ;)
    I realy need a help here.. I`ve been working all day on sending mail from applet. I didn`t succeed bcs of the security restrictions.
    So I decided just to pass arguments into PHP page, which process them and send e-mail to me.
    So here is the problem.. I need to send String variables througth POST into my php page. Now I`m using GET method, but I need more than 4000 characters.
    My actual solution is:
      URL url = new URL("http://127.0.0.1/index.php?name=" + name + "&message=" + message);
    this.getAppletContext().showDocument(url,"_self");I really need to rewrite it into POST. Would you be so kind and write few lines example [applet + php code]? I`ve already searched, googled, etc.. Pls don`t copy links to other forums here, probably I`ve read it.
    Thanx in advance to all :)

    hi!
    i`ve got some news about my applet.. so take this applet code:
    public class Apletik extends JApplet {
        public void init() { }
        public void start()
        try
          String aLine; // only if reading response
          String  parametersAsString = "msg=ahoj&to=world";
          byte[] parameterAsBytes = parametersAsString.getBytes();
          // send parameters to server
          URL url = this.getCodeBase();
          url = new URL(url + "spracuj.php");
          URLConnection con = url.openConnection();
          con.setDoOutput(true);
          con.setDoInput(true); // only if reading response
          con.setUseCaches(false);
          con.setRequestProperty("Content=length", String.valueOf(parameterAsBytes.length));
          OutputStream oStream = con.getOutputStream();
          oStream.write(parameterAsBytes);
          oStream.flush();
          String line="";
          BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
          while ((aLine = in.readLine()) != null)
           JOptionPane.showMessageDialog(null, aLine);      
           if(aLine.equals("")) break;
          in.close();      
          oStream.close();
        catch (Exception ex)
          JOptionPane.showMessageDialog(null, ex.toString());
    }here is code of spracuj.php which is on server:
    <?php
      if(isset($_POST['msg']))
        echo('hurray!');
    ?>it has only 1 problem.. when i test it on my localhost, everything seems to be all right. but when i post it to my server, i got IOException HTTP 400 error code :( where is the problem? please help me, i`m so close :D thanx

  • Insert pages from a single document multiple times

    I'm trying to create a simple program that I can use to display PDF files that I can use to play at the piano. I perform often, and need to create "play lists" from which I can pull all, or part of, a PDF file containing music and display it.
    I have it all working, except for one problem. I may need to "repeat" a section of a piece. I'm building up the play list by calling AcroPDDoc.InsertPages for each item in the play list. If a PDF file appears multiple times in the play list, when I call InsertPages, the call fails.
    In this code snippet, pdDoc is the main doc to which I'm adding pages. playList is a generic List of my own PlayList objects, and I need to iterate through all the items in the playList except the first one, which is already loaded.
    This code works great unless the fileName I specify has already been opened. The call to AcroPDDoc.Open succeeds just fine, but the call to pdDoc.InsertPages fails if the file has already had pages from it inserted. All other documents work fine. The documentation, of course, doesn't mention this.
            int insertPage = pdDoc.GetNumPages() - 1;
            for (int i = 1; i < playList.Count; i++)
              var newDoc = new AcroPDDoc();
              var item = playList(i);
              int startPage = 0;
              int endPage = 0;
              if (newDoc.Open(item.fileName))
                startPage = Math.Max(0, item.startPage);
                endPage = Math.Max(0, item.endPage);
                var totalPages = newDoc.GetNumPages;
                if (item.endPage < 0 || item.endPage > totalPages)
                  endPage = totalPages - 1;
                int numPages = (endPage - startPage) + 1;
                if (pdDoc.InsertPages(insertPage, newDoc, startPage, numPages, 0))
                  insertPage += numPages;
    So, the questions:
    1.) Is it possible to load pages from a single document multiple times?
    2.) Is there a better way to do this? (That is, loop through a list of file names, starting and ending page numbers, and add the documents to an existing document.)
    Any help appreciated! Thanks -- Ken

    Hi Ken,
    >The documentation, of course, doesn't mention this.
    The documentation does not state explicitly that you can't insert pages again from a PDDoc you open again and never close.
    But it mentions that you get references only from an already opened PDDoc.
    "...Opens the specified document. If the document is already open, it returns a reference to the already opened PDDoc. You must call PDDocClose() once for every successful open..."
    It doesn't state that you can't insert pages from a referenced PDDoc but it seems so.
    I would close the PDDoc within your for-loop after inserting pages and release newDoc.
    Regards
    Norbert

  • How do I display or hide a Java menu based on current url in a php page

    How do I display or hide a Javascript menu based on the current url in a php page?
    I want to specify when a java menu appears on a page based on the current url - does anyone have a script for the vars and conditional statements to make this happen - it would be something like this in natural language:
    <javascript>
    if currenturl = http://jemmakidd.com/categories.php
    then displaymenu
    else if currenturl = http://jemmakidd.com/categories.php?cat=14 (or 15,16 etc)
    then DONOTdisplaymenu
    What is needed is that, if you look at this page there is a java menu under the first category:
    http://jemmakidd.com/categories.php
    I WANT the menu to appear on that page so that is working, however if I look at one of the store categories, like on this page, I do NOT want the menu to appear - it may be that this can be done without using a java current url type function - thats why I'm asking...
    http://jemmakidd.com/categories.php?cat=14
    So to summarise:
    http://jemmakidd.com/categories.php (If this url is used DO display menu - if any other url DONT display menu)
    Thanks again...any ideas?
    Edited by: littlealex2009 on Jul 15, 2009 12:51 AM

    This is a Java forum, not a Javascript forum. Google the differences.
    kind regards,
    Jos

  • Loading and external php page without reloading

    Hi to all,i want to load(include) php pages without reloading
    the whole page?how to accomplish that in Spry?Also can we include
    php pages also through the HTML PANEL in spry?forexample, i have a
    link which i click it should fetch dreamweaver recordset values in
    php without reloading the whole page.Is there any XML involved or
    it can be done merely through HTML Panel in Spry.Kindly help me in
    this regard.

    You can include a whole page (or part of a page) with the
    HTML Panel widget. No XML is needed for this.See the following
    page
    for HTML Panel examples and just replace the static pages by your
    php pages.

Maybe you are looking for