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

Similar Messages

  • 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

  • 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

  • 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

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

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

  • Data merge says source file is incompatible

    In InDesign 1 I knew that I had to convert Excel files to .csv files in order to merge the data into an idd file. Never understood why but it worked. When I do that with CS3 I get an error message saying that the file is empty or an incompatible file type. The original xls file merges into a Word doc perfectly. There are 2048 rows of data in the Excel file.
    Any suggestions?
    I'm using CS3 on an intel iMac running OS 10.4.11 with two gig of ram.

    OK, I split the file into two versions, domestic and international by copying and pasting the data and inserting and retyping the header row, and combined the data from "address 2" into "address 1" and deleted the "address 2" column. That made all the records have data in all fields in all six columns. ID didn't like.
    Then I went through and fixed several dozen instances where the 5-digit zip codes had a hyphen after them, like "91007-". No help.
    Then I noticed some fields had spaces before the first letter of the first name, so I deleted those spaces and checked the other columns. No change.
    Then I changed the font from Verdana to Arial. No help.
    What else can I try?

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

  • Reading the data from XML Source

    Hi
    i want to read the data from XML source file, and update the transaction information to another XML file. how we can do this in ADF, please help
    Thanks
    nidhi

    you may use normal Java API to do that
    http://www.javablogging.com/read-and-write-xml/

  • Differences between various source files in mdm import manager

    Hi,
    Can anyone tell me the differences between the source files(access,xml,xml schema,excel) available in mdm import manager?
    Thanks and regards,
    Rithesh
    Edited by: rithesh_shet on Mar 30, 2010 1:04 PM

    Hi Ritesh,
    MDM Import Manager provides flexibility to Import Data from different types of Sources into MDM.
    You can import data into MDM from below mentioned sources using Import Manager:
    1. From Files (Access, Delimited Text, Excel, Fixed Text, XML and XML Schema)
    2. Directly from Data base source (SQL server and oracle)
    As mentioned by Mandeep, XML Schema is something which you define in MDM console in advance. and then later select the Data source XML file and XML schema from drop down list (it will show all schema defined in console ) to validate XML source file against the XML schema.
    For automated Import, Ports are used. Ports are nothing but a logical point of contact with other systems i.e. other systems or middleware will drop file on the port for authomatic import and MDM import server will scan the port directory and if file is present then will import data automatically from file into MDM using a predefine Import Map. (this map needs to be defined manually in import manager and then assigned to port using console).
    Please check page no 45 of import manager reference guide for more details about various source properties of Import Manager.  (*link for import manager reference guide is already provided on the earlier post)
    Also check, page no 53 to 64 for how to import process. Kindly revert if you have any query.
    Regards,
    Shiv

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

  • How to generate an XML Configuration File for EBS Source Type

    Hi,
    We have installed SES, I want to integrate it to enable for searching repository contracts.
    In the sources I have selected oracle.apps.okc.repository.textsearch.server.RepHeaderSearchExpVO.
    For this source I need to specify the Configuration URL.
    Here I need to provide the path for configuration XML file. But before that I need to generate the XML Configuration file.
    Is there any steps on how we can create this XML file.
    like I would want to know how we can create the XML file and on which folder on the server should I be putting it
    Thanks

    Hi there,
    We are running into same issue and need the exact same information. Can someone help with this question on priority?
    Thanks,
    Darshan

  • I imported pics to catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive. Can I merge cats and will new path to source files be correct if when inporti

    I imported different trips to different catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive.  I’m not really sure how to get those source files back and get rid of the extra long path to where the source files are now located. If I re-link files to their current catalog (many different paths to files in same catalog) can I merge (import catalogs) into one master catalog?  Will the new (Master catalog) have the correct link to the source file?  If not, how or can this be done?
    I have tried to explain my situation as clearly as I can.  Do you understand my situation?
    This maybe something you don’t have time to help me with.  If not can you suggest somewhere I can get an answer?  I really need help.  PLEEEZZZ HELP ME.
    Bruce Schuerman
    Norman, OK
    405_514-4875 (call collect)
    [email protected]

    I imported different trips to different catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive.  I’m not really sure how to get those source files back and get rid of the extra long path to where the source files are now located. If I re-link files to their current catalog (many different paths to files in same catalog) can I merge (import catalogs) into one master catalog?  Will the new (Master catalog) have the correct link to the source file?  If not, how or can this be done?
    I have tried to explain my situation as clearly as I can.  Do you understand my situation?
    This maybe something you don’t have time to help me with.  If not can you suggest somewhere I can get an answer?  I really need help.  PLEEEZZZ HELP ME.
    Bruce Schuerman
    Norman, OK
    405_514-4875 (call collect)
    [email protected]

  • Merging randomly-named XML data file on client-side with pdf designed in Livecycle 7.0 (and addition

    Okay, as a heads up I work for a financial institution and we are converting our legacy "jetforms" to pdf format. I have in my staff for the project, 2 code developers and myself- a form designer. We have currently spent 2 months in trial and error attempting to resolve this problem, please let us know anything you can have. All client-side (internal) machines are running Windows XP and Adobe Reader 7.0.7
    The software we use as a financial institution allows our users to export a customer's data file onto their machine which is then renamed to include the member's account number and first and last name for our staff to determine which data file they need more accurately. In legacy jetforms, we have developed a program that pushes the data from the customers file that they select, into the jetform that they want to open and the matching fields in the data file fill in the fields of the jetform. Clean and simple.
    Now, i have hit nothing but frustration when attempting to perform the same process with pdfs using a form designed in livecycle designer 7. First, i see no obvious command for opening a pdf and importing a data file using a command line, like pdfmerge or something of the sort in which an xml data file can be specified and a pdf can be specified. I saw something like it using an fdf format and attempted to do this but apparently reader cannot import the data into the pdf that was designed adobe livecycle 7. All i have been seeing is database connections and using javascript inside the form to populate fields based on these database connections, etc. etc. or doing a manual file>import data>etc. which we don't want to have our staff do. We do not have reader extensions enabled, simply because i cannot get an adobe representative to call me and discuss pricing nor see any estimated pricing chart around. I don't know if reader extensions are necessary for this or not but i'm becoming very very frustrated with it.
    We don't want a complex server-side data connection binding with dynamic input. No, we just want it where our developers can say "if this data file is selected, and this pdf form is selected run this command" which would be a simple pdfmerge type solution. Is this possible or do i need to stay with jetforms until our software the billion dollar financial institution uses does form building inside its own application? I don't want to fight about who is better, what version to use, etc. I just want the straight up honest truth. If you need to know the pricing that the reader extensions would have to go by, assume there will be 500 client computers that will need to use it.

    From your post it sounds like you are Central Pro (a product for which I am by no means an expert), but you say you want to upgrade to a newer product from your "legacy" one. Is there a reason for this? Have your requirements change so that it no longer fits them? Central is still in the current Adobe roster and as far as I know there is no plans to get rid of it any time soon, so if it does everything you want I don't see why you would want to change.
    There is no product in the LiveCycle suite that merges xml data into a form from the command line. LiveCycle (with the exception of Designer) is a suite of server products, so the closest you would come is LiveCycle Forms (merge the xml and create a fillable PDF) or LiveCycle Print (merge the xml and print the form).
    Hope this helps somewhat.
    Chris
    Adobe Enterprise Developer Support

Maybe you are looking for

  • To get plant field in my selection screen based on user profile maintained

    Hi All, I have plant (WERKS) field in my selection screen. Now I need to get the plant value maintained in the user profile for that user. So how to get the plant value based on the user profile. Please let me know if anyone having idea on this. I wi

  • ClassCastException when using javax.xml.soap.DetailEntry

    I am using the Java Web Services development pack and I'm getting a ClassCastException when trying to use a DetailEntry object. My code is basically as follows: SOAPFault fault = responseSoapBody.getFault(); Detail detail = fault.getDetail(); Iterato

  • Multi function synch AI-AO

    Hello all, I would like to synch the Analog input and two separate Analog outputs (Ao0,Ao1) of a NI-6040. I first used the  multi function synch AI-AO vi from the examples and added a second AO as picture 1 indicates, without synchronizing and it wor

  • Cannot destroy cluster

    Hello, We recently ran into some trouble with our cluster running Windows Server 2008 R2 after security patching was completed. The cluster did not return to normal and now when attempting to start the cluster service it states that it cannot and com

  • A205-S5825 shuts down unexpectedly

    My laptop of about a year and a half has within the last month started to shut down on its own.  And it doesn't go through the normal shutdown procedure or blue screen; it just goes dead.  I've had it checked out by a couple of my university's IT guy