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

Similar Messages

  • Creating Multiple XML target file

    HI Experts,
    I would require some guidance from you. I have a situation whereby, I have to create multiple XML target file based on records.
    The job in my hand is to extract the customer master from ECC and load it into XML files. But the catch is I need to create one XML file per customer. ie if my source has 500 customer then i have to create 500 XML and each XML file should contain all the information for that customer.
    Can anyone guide me how to split the target XML in a single job. i.e. One XML per record of source data.

    Hi Dirk,
    Please find the below screenshot of job
    workflow
    Initialization Script
    While LOOP
    Increment Script
    data flow
    Target XML
    Please help me with this.

  • 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!

  • 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

  • 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

  • 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.

  • How to handle blank root element in xml source file

    Hi There,
    I have a dataflow which using xml source file. The job keep failing and I guess it might be caused by one of the root element which is blank. Can anyone advise me how to handle it?
    The xml file look like this:
    -<orderinfo>
    --<orderdetail>
    ---<orderid>1</orderid>
    ---<orderdate>20110101</orderdate>
    --</orderdetail>
    --<abc />
    -</orderinfo>
    element <abc> is blank
    Thanks and Regards,
    BL

    Hi Suneer,
    The issue is DS cannot validate the source file at all. It returns error message when I try to preview the source file in the dataflow. Is there any work around I can implement other than request the source team to change the file layout?
    Thanks,
    BL

  • Understanding ON Bounded/Unbounded XML source files...

    Hi,
    An ADF application can have multiple unbounded/bounded task files. But at runtime all unbounded task files become one single fat file.
    Is my understanding correct?
    Can any one please anwer me?
    Thank you in advance..
    Srinivas
    Edited by: Srinivas.b on May 6, 2010 12:16 PM

    Can we use more than one unbounded taskflow?: Yes, but why would you want to? General you only need one unbounded task flow to call multiple bounded task flows.
    Does ADF treat all of them as one file? At design time their separate, at runtime I believe it merges them into one "entity", but it doesn't actually create a new file, it's probably a single memory construct similar to what happens in JSF for multiple faces-config.xml files. See:
    http://one-size-doesnt-fit-all.blogspot.com/2007/01/using-multiple-faces-configxml-files-in.html
    CM.

  • How to open multiple C source files in one window in Xcode

    I could not find the way for opening multiple source code in one window in Xcode.
    Is it possible?

    Yes that was my question, thank you very much...
    you mean like in tabs or somethign? I don't quite
    understand your question. If everything is in one
    project, you can switch your file viewer to editor
    mode by clicking on Editor in the top left and then
    navigate through your files with the left tree.

  • Merge xml source files; 1:n relationship

    Hi!
    All samples I have checked are based on 1:1 relationship
    between master and detail data set.
    For example:
    Exactly one xml file will be loaded depending on which
    element of the master xml file is selected.
    http://labs.adobe.com/technologies/spry/samples/data_region/DataSetMasterDetailSample.html
    But what about 1:n relationships? What if the master xml
    returns more than one depending xml file?
    Two scenarios are imaginable:
    1. Collect all detail xml data by looping through all data
    rows and create a dataset on the fly with all relevant data.
    (Please note my last posting "Observer event fires two times") That
    could be a new merge function ;-)
    2. Implementation of a new XMLDataSet constructor that allows
    an array with one or more path to detail xml file(s).
    What do you think about it? Or is there another way to handle
    1:n relationships?
    Regards
    libelle2000

    Hi !
    On Srpy 1.4 version the 1:n relation is not supported, but we
    have two new solutions for this already posted on preview section.
    http://labs.adobe.com/technologies/spry/preview/samples/data_region/NestedXMLDataSample.ht ml
    Instead of creating one master xml file that points to other
    details xml files, you can have a single xml and create there the
    1:n relation there. In this way your request is solved using a
    single xml file.
    Please follow the link I gave you above and see the examples
    from there.
    Diana

  • XML source file path (LINUX vs. WINDOWS)

    Hello, we are sourcing data from XML for a project. RPD development is being done in Windows and then the RPD is getting deployed to the Linux env.
    How can i make sure the path translate from Windows to Linux?
    Windows path can be C:\myobieedata\region.xml
    How can this be translated into Linux path?
    Your help is appreciated.
    Regards,

    Just edit the connection pool to use the valid location of the files in Linux and copy that RPD over to the linux box. You can even edit it 'on-line' on the Linux environment and make the change there.
    As an example I'd check the sample sales connection pool that was configured when you installed OBIEE on Linux and observe the difference to the sample sales connection pool when you installed on windows.

  • Best Practive - One mapping reading multiple source files

    I want to develop a solution for one single mapping reading multiple similar source files that are stored on different directories on my OWB server. I want to be able to determine on runtime of my mapping from what location to load the source file from.
    Example:
    Mapping: Load_test_data
    source file 1: c:\input\loc1\test.dat
    source file 1: c:\input\loc2\test.dat
    When I run the mapping I would like to use an input parameter specifying the location loc1 or loc2. I would also like to use this input parameter in my mapping to populate one column in my target table with the value of this input parameter. This design would make it possible to dynamically load source files from different directories and also being able to see after loading where the data came from.
    Questions:
    - Is there a way to create such a design
    - If not, what alternative would be appropriate.
    Thanks in advance for the feedback

    Thanks for the feedback. Unfortunately I do not use workflow together with my OWB.
    I now indeed specified the file name and file location in the configuration of my mapping. However I am not able to change then upon executing the mapping. Data file name and file location are empty and greyed out when I execute my mapping. It always takes the values I specified in the configuration of my mapping
    What I would like to do is specify the location upon runtime when I execute my mapping, but I don't know if this is possible. In addition I'd also want to use the data file location as an input parameter for one of the columns I populated in my target table.
    Then in the end I would be able to use one mapping and read multiple sources files from different locations and also be able to check in the end where the data was loaded from.
    Hope you can give me some more feedback on how to set this up in OWB.
    Many Thanks!
    data file name parameter to ma

  • Data Flow | XML Source | Very Slow with big files (over 1/2 a gig)

    hi
    I am trying to load a few XML files to a database. one of our proprietary systems load the file in 3-4 minutes however with ssis XML source file it takes over an hour.
    can anyone know the reason/help with this?
    I tried the delayValidation set to true with no success.
    thanks
    eddy
    eddy.a

    Parsing XML files as data sources in SSIS is not the most efficient. Remember that you have define a WSDL (aka structure of the input file) and once the XML source starts parsing the input file, it has to read every node at every level and make sure it conforms
    to the structure defined in the WSDL file before it can start streaming the data out to the downstream components in your workflow.
    A half-gig XML file with 150 nodes to parse is going to need some heavy-lifting behind the scenes before you start seeing the rows streamed out. I'd rather recommend that you use either inbuilt .Net classes for XML to parse and extract the data or leverage
    SQL scripting to accomplish that. Alternatively, if your upstream system can instead drop the data feed in a flat file format, that'd be more preferable. And if you could hook into their data streaming APIs/end-points directly, that'll work too.
    Hope this gets you started in finding the right approach.
    - Muqadder.

  • XML Schema file in data definition

    Hi,
    I am creating a custom RTF template for a seeded data definition in the eBusiness Suite. The data definition has an XML Schema file loaded however this does not include all the data required for the template. Running the report to just generate the XML (i.e. no template) I can see that the additional data is available at this level just not included in the XSD.
    I have built the template including the additional elements from the XML and expected to have to create a custom data definition as well to add the additional elements to the XSD. However the template is working against the seeded definition and successfully picking up the elements that are not included in the XSD.
    Has anybody else come across this situation? And are there any potential issues? I could create a custom data definition as well to load an amended XSD but this would be a more invasive change as it would involve end dating the seeded data definition which I would prefer not to do. The report is not being generated from a concurrent request so I cannot just create a custom request and leave the seeded report untouched.
    Thanks,
    Sarah

    The XML Schema is only required if you are using a PDF template (the template file itself is PDF) with field-mapping. For other template types the schema is optional.
    The XML Schema is used to define a "class" of XML documents, so to speak. The define the semantics and structure of the XML documents more thoroughly.
    If you have closely related reports, you could use a single schema to standardize (in a sense) the XML to be output from the class of related reports. In that case you could have a single schema file uploaded to multiple reports/data-definitions.
    The W3C has good documentation on XML Schema.
    If you want to see samples, you can use tools such as dtd2xs to create sample schemas from your DTD.

  • Dynamic XML Source to a Fixed Target Table

    Hi gurus,
    Please help me on this one, I've been trying to work it around for 2 weeks now, and unfortunately, I can't think of any solutions anymore.
    So here is the case:
    I'm using ODI 11g and I'm loading XML files to Oracle Tables.
    But in this case I have a dynamic XML file (number of columns varies, depends on the user input) as the source and I have to load it into a fixed Target Table.
    Example:
    XML SOURCE FILE (dynamic number of columns):
    Column_A1 | Column_B1 | Column_C1 | Column_A2 | Column_B2 | Column_C3 | Column_A3 | Column_B3 | Column_C3 | | **
    **means I don't have idea how many columns in one XML would be. It can be 6 columns, 9 columns, 3 columns. I do reverse engineer to get the latest XML structure.*
    FIXED TARGET OUTPUT TABLE (3 columns only):
    Column_A1 | Column_B1 | Column_C1
    Column_A2 | Column_B2 | Column_C2
    Column_A3 | Column_B3 | Column_C3
    ** | * | **
    --END OF EXAMPLE*
    So what I want to happen is that, everytime ODI detects that it is already the 4th column, 4th - 6th columns would append to the next row and 7th-9th would append to the next row, and goes on and goes on.
    What do you think is the best way to do this? Or if there is any way?
    Please please help me, it would be of great great help to the project I'm working.
    If there's no way, I'm thinking of creating a PL/SQL within a KM for this one.
    Thank you gurus'!
    Regards,
    -Vince
    Edited by: Vindi on Aug 22, 2012 2:45 AM
    Edited by: Vindi on Aug 23, 2012 6:57 PM

    What is the minimum number of columns from source side..if the minimum number of column will be 3 then my logic may work.
    Please confirm.
    Because in case of odi reverse, odi will add the extra column to the datastore. If initially the souurce file has 3 columns then the target datastore will 3. In next reverse if the source file has 5 column then in the next reverse it will add 2 more column to the datastore. Again nexttime if the source file has 2 column ODI is not going remove/drop these 3 extra column.

Maybe you are looking for

  • My YouTube was deleted, how do I get it back?

    My YouTube was somehow deleted by my grandson and I cannot seem to find it.  How do I get it back, or do I need to reinstall.  How do I do that?

  • How to Change  tab colors individually for SuperTabNavigator

    Hi All,             I am using mccune SuperTabNavigator. if i change backgroundColor of the SuperTabNavigator             it is changing the color of all tabs how many have in SuperTabNavigator .             but i need to change color of each individ

  • How to specify from Pantone to HTML equivalent?

    G'day, I need to specify my Pantone colours for a website from Pantone into their HTML equivalent, for example PMS 7539 in HTML is 989B97. Is there a HTML colour palette in AICS3? I can only find Websafe RGB and it's not what Im after as it's so very

  • Record locking in jdbc

    I'm currently trying to add record level locking on a SQL Server database to avoid users updating the same record. I was told use the select for update but this doesn't work. Using the jdbc-odbc driver

  • Space-delimited fields, convert to table?

    Hi, I have to import some large tables, which I currently have as text files, into a Pages document. The text files have fields delimited by spaces only, and "new line" characters at the end of each line should be interpreted as meaning go to the nex