Several files extracted Xml name

Hi, I make a change in our DMS project that has the input XML to extract file.

We used this guideline for configuring a flat file with all entry names XMLs.

https://support.Oracle.com/CSP/main/article?cmd=show & type = not & DOCTYPE = HOWTO & ID = 871446.1

the configuration works perfectly. Our flat file list of files and reads them OK.

My question comes here, how can I get the NAME of THE XML FILE which is extracted at the present time? I can get the input file, but it's the flat file that contains all the names, not the XML itself.

Hi Andres,

I see two options off the top of my head:
(1) includes the name of the XML file in the XML - I know, it's a simple solution, but sometimes they are the best :)
(2) map the name to extract XML in a GVM - I'm not exactly sure that this would work, but it might be possible. I'll see if I can find.

-Andy

Tags: Oracle Applications

Similar Questions

  • Activity FTP - mget several files with dynamic names

    Hi all

    Hope everything goes well.

    I was wondering if there was a way to configure the FTP activity to transfer several files with dynamic names to location of the source on a daily basis.

    For example, my source files are set with date values (source_filename_ < MMDDYYYY > _ < hh > .txt):
    source_filename_12252009_00.txt
    source_filename_12252009_06.txt
    source_filename_12252009_12.txt
    source_filename_12252009_18.txt

    I would like my process flow to do would be to download just the 4 day files based on a script ftp dynamic as follows:

    Open ${Remote.Host}
    ${Remote.User}
    ${Remote.Password}
    CD ${Remote.RootPath}
    invites to the wide
    mget?
    quit smoking

    In the script of DOS commands, you would have with a wildcard as mget command:
    mget source_filename_%DATE:~0,2%%DATE:~2,2%%DATE:~4,4%*.txt

    How should be done on the implementation of this in OWB? It requires a user-defined substitution varilable any?

    FYI, I use version 10 gr 2.


    See you soon.

    Hello

    If you are able to achieve your goal of a script of DOS commands, then you can call this script for a user defined, OWB process flow activity.
    I hope this helps.

    Thank you
    Fati

  • Several files with the same name.

    Cannot publish to Business Catalyst because of a fatal error, where it is said "why do we have several files with the same name?  The website and all its contents have not changed in more than a year with the exception of minor changes to the wording so unable to understand what the error is encountered. Are there not better misdiagnosed at one point less for the files in question.

    The problem is the result of a mixture of case-sensitive and case-insensitive between how files within the .oam are put into interaction with and what is written in the muse_manifest.xml file during a re - download full compared to an incremental download.

    If all .oam packages files are tiny and the original .oam were replaced in Muse with the all new tiny .oams, then you should select Upload: publish all the files in the dialog box Options. From there, forward publication of incremental changes should work without errors.

  • How to extract the names of file/URL of all files in a folder (in the same directory of site)?

    I am creating an online music player, simple Flash-based; the user clicks on a song in a DataGrid, and then he plays, simple. I displays the information of the song with the ID3 method in the class 'sound', but I don't want to hardcode all the songs in the ActionScript code, because I change them. I created a folder "tracks" in the directory of the site; How can I extract the names of the files in this folder without knowing how many there are by nature, and files without knowing the URL?

    Use PHP or another script server to read the contents of the folder and to deliver the names of files for Flash in the form of data (xml or txt).

  • Extracting XML error. The XML file that is assigned in the configuration.xml is either incorrect or damaged.

    1. some web pages gives "error extracting XML. The XML file that is assigned in the configuration.xml is wrong or corrupt.

    2 Youtube gives, after having pressed the button start, message "an error has occurred. Please try again later.
    Even youtube opening page with IE, there is no problem.

    3. scrolling on Mozilla firefox pages only works with the sidebar not with the mouse wheel.

    Other user accounts on this computer is not these problems.

    BR Juha

    This can be caused by a recent update of Flash 11.3.

    See:

  • How I've spread my video into several parts and save each file under different names?

    How I've spread my video into several parts and save each file under different names?

    You are going to need a video editing package to do this, you can not cut just to the top of the video into segments at the file level.

    With an editor, you can then crop the video into segments

  • I have Acrobat 10 when I try to combine several files with names like 0022_0_ point report, report 0022_2_Item by report 0022_15_Item it combines out of use.  Any ideas?

    This is how it brings together files I have Acrobat 10 when I try to combine several files with names like 0022_0_ point report 0022_2_Item report through report 0022_15_Item it combines out of use.  Any ideas?

    Hi tomp29181935,

    Please refer to this page:placing the pdf of the numerical order when combining (combining files)

    Let us know if you face any problem.

    Thank you!

    Shivam

  • Return of the mistake of MUSE: why do we not have several files with the same name?

    Well - I thought I had all this worked and fixed, but I met the download error 'Why do we have several files with the same name' once again.  (I downloaded all the files several times today in order to 1) works the way it worked the last time and 2) get an OAM file that is not loading for some reason any load again and the download takes about an hour to transfer all the files manually.

    To recap:

    (1) an option "Upload only modified files" returns the 'Muse has encountered an error and closes.  Why do we have several files with the same name? "error just as before.

    (2) a full download will work but takes forever and is NOT a substitution for work changed files option.

    Please advise with possible solutions!

    -Dave

    Is it possible to have two .oam different files in different folders on your computer where the .oam files have the same name? I'm theorizing that there may be a bug in the treatment to ensure the folder created for a .oam placed on the server receives a unique name, particularly in the case of a partial update of the site on the server.

    Please send us the .muse file and all the files in .oam related to [email protected] along with a link to this topic for the context so we can attempt to reproduce this error and isolate the root cause. If files are larger than 20 MB, you'll need to use a service such as Adobe send & Track, Dropbox, creative cloud, WeTransfer, etc. file sharing. Thank you.

  • I want to move virtual machines to a folder called Linux name, but we have several file of the same name in our Datacenter, please give me PowerCLI Script to move exactly

    I want to move virtual machines to a folder called Linux name, but we have several file of the same name in our Datacenter, please give me PowerCLI Script to move exactly.

    I tried to use for the function FolderByPath below, but don't know how to use it and have worked. Please help me in this.

    Function Get-FolderByPath {}

    < #.

    . Records of recovery SYNOPSIS by giving a path

    . DESCRIPTION the function will retrieve a record by its

    path. The path can contain any type of leave (folder or)

    Data Center).

    . Author NOTES: Luc relaxing

    . Path PARAMETER

    The path to the folder.

    This is a required parameter.

    . Path PARAMETER

    The path to the folder.

    This is a required parameter.

    . PARAMETER separator

    The character used to separate the leaves in the

    path. The default value is ' / '.

    . EXAMPLE OF

    PS > Get-FolderByPath-path ' Datacenter/Folder1/Folder2 ".

    . EXAMPLE OF

    PS > Get-FolderByPath-path "Folder1 > Folder2"-separator ' > '

    # >

    (param

    [CmdletBinding()]

    [parameter (Mandatory = $true)]

    [System.String []] ${Path}.

    [tank] ${delimiter} = ' / '.

    )

    {in process

    If (((Get-PowerCLIConfiguration).)) DefaultVIServerMode - eq "Multiple") {}

    $vcs = $defaultVIServers

    }

    else {}

    $vcs = $defaultVIServers [0]

    }

    {foreach ($vc to $vcs)

    {foreach ($strPath in $Path)

    $root = get-file-name of the server data $vc centers

    $strPath.Split ($Separator) | %{

    $root = get-inventory-name $_-location $root - server $vc - NoRecursion

    If ((Get-stocks-localisation $root-NoRecursion |)) Select--ExpandProperty name)-contains "vm") {}

    $root = get-inventory-name "vm" - location $root - server $vc - NoRecursion

    }

    }

    $root | where {$_-is [VMware.VimAutomation.ViCore.Impl.V1.Inventory.FolderImpl]}|% {}}

    Get-file-name $_. Name - location $root. Parent - Server $vc

    }

    }

    }

    }

    }

    You can try to retrieve the object file by steps as well.

    Something like this for example

    $folder = get-data center-name 'LTX01-G8 | Get-file-name "LTX-servers | Get-file-name "LTX servers 0000 - 0299. Get-file-name Linux

    I guess the first qualification in your path was the data center.

  • What is recent vs vs document download. clydeneeley, etc.  I can't find the file I've worked before.  There are several of the same name.

    What is recent vs vs document download. clydeneeley, etc.  I can't find the file I've worked before.  There are several of the same name.

    It's up to you to choose carefully where to save the file and choose the name carefully. If you don't do this, you will never find the file. But try using your Mac or Windows to search for the name.

  • Export pdf file as xml in vb with the appropriate xml tag name

    Hi all

    I have a following code in vb which is used to convert pdf to xml format.

    Dim AcroXApp As Acrobat.AcroApp
    Dim AcroXAVDoc As Acrobat.AcroAVDoc
    Dim AcroXPDDoc As Acrobat.AcroPDDoc
    Dim Filename As String

    Filename = "D:test.pdf".
    AcroXApp = CreateObject ("AcroExch.App")
    AcroXApp.Show)
    AcroXAVDoc = CreateObject ("AcroExch.AVDoc")
    AcroXAVDoc.Open (Filename, "Acrobat")
    AcroXPDDoc = AcroXAVDoc.GetPDDoc
    Dim jsObj As Object
    jsObj = AcroXPDDoc.GetJSObject
    jsObj.SaveAs ("\Test.xml", "com.adobe.acrobat.xml - 1-00")
    AcroXAVDoc.Close (False)
    AcroXApp.Hide)

    AcroXApp.Exit)

    The foregoing is the pdf to xml conversion. But what I want is PDF to I want to get the good tag named xml (as in adobe acrobat pro Tools-> form-> shape options more-> export to a file for-> xml). I designed my pdf in adobe livecycle designer 7.1. Thanks in advance.

    Concerning

    -Ganesh.

    This code turns into a completely different XML schema, I don't think that it is designed for the export of the form at all. There is JavaScript methods to export shape data, I think. However, I've never read the LiveCycle JavaScript API, so I don't know what is there (be SURE not not to use the JavaScript API in Acrobat!)

  • Extract xml

    Hi all

    It comes to my table structure,

    create table xml_test (col1 XMLTYPE);

    It comes to my xml. I want to extract this file as xml below

    < ROOT >

    NASA < NAME_OF_THE_COMPANY > < / NAME_OF_THE_COMPANY >

    < DETAILED_DATA_ENTERED VALUE = 'test' >

    < TYPES_OF_FINANCIALS VALUE = "Checked" >

    < FY_ENDED_DD_MM_YY VALUE = 'Saturday, March 31, 2012' >

    < OPERATING_MONTHS VALUE = "12" >

    < PROFIT_AND_LOSS_STATEMENT VALUE = "" >

    < TOTAL_REVENUE VALUE = "6.00" >

    < REVENUE_FROM_OPERATIONS VALUE = "5.00" >

    < GROSS_DOMESTIC_REVENUE VALUE = "3.00" >

    < GROSS_REVENUE_MANUFACTURING > 1,00 < / GROSS_REVENUE_MANUFACTURING >

    < GROSS_REVENUE_SERVICES > 1,00 < / GROSS_REVENUE_SERVICES >

    < GROSS_REVENUE_TRADING > 1,00 < / GROSS_REVENUE_TRADING >

    < / GROSS_DOMESTIC_REVENUE >

    < GROSS_EXPORT_REVENUE VALUE = "3.00" >

    < GROSS_REVENUE_MANUFACTURING > 1,00 < / GROSS_REVENUE_MANUFACTURING >

    < GROSS_REVENUE_SERVICES > 1,00 < / GROSS_REVENUE_SERVICES >

    < GROSS_REVENUE_TRADING > 1,00 < / GROSS_REVENUE_TRADING >

    < / GROSS_EXPORT_REVENUE >

    < EXCISE_DUTY > 1,00 < / EXCISE_DUTY >

    < / REVENUE_FROM_OPERATIONS >

    < OTHER_OPERATING_INCOME > 1,00 < / OTHER_OPERATING_INCOME >

    < / TOTAL_REVENUE >

    < TOTAL_EXPENSES VALUE = "15.00" >

    < COST_OF_RAW_MATERIALS VALUE = "2.00" >

    < ANY > 1,00 < / IMPORTED >

    < Aboriginal PEOPLE > 1,00 < / Aboriginal PEOPLES >

    < / COST_OF_RAW_MATERIALS >

    < / TOTAL_EXPENSES >

    < / PROFIT_AND_LOSS_STATEMENT >

    < / OPERATING_MONTHS >

    < / FY_ENDED_DD_MM_YY >

    < / TYPES_OF_FINANCIALS >

    < / DETAILED_DATA_ENTERED >

    < / ROOT >

    power required,

    Nasa company name

    Detailed data entered test

    Types of financial statements audited

    Exercise took end (DD-MM-YY) Saturday 31 March 2012

    Operating 12 months

    Profit & loss

    Total revenues 6.00

    Revenue from operations 5.00

    Gross national income 3.00

    Gross revenue - manufacturing 1.00

    Gross income - Services 1.00

    Revenue - Trading 1.00 raw

    Gross export revenues 3.00

    Gross revenue - manufacturing 1.00

    Gross income - Services 1.00

    Revenue - Trading 1.00 raw

    Excise 1.00

    Another 1.00 operating income

    Total costs 15.00

    Cost of raw materials 2.00

    1,00 imported

    1.00 Aboriginal

    Thank you

    Fame

    I'm not well versed in XQUERY. But spent some time to understand helps to do the job. I would say the same for you.

    SQL> select x.*
      2    from xml_test t
      3       , xmltable
      4         (
      5         'for $i in /ROOT/ROW
      6            return
      7            (
      8                {$i/NAME_OF_THE_COMPANY}
      9              , for $j in $i/DETAILED_DATA_ENTERED
     10                return
     11                (
     12                      {data($j/@VALUE)}
     13                    , {data($j/TYPES_OF_FINANCIALS/@VALUE)}
     14                    , {data($j/TYPES_OF_FINANCIALS/FY_ENDED_DD_MM_YY/@VALUE)}
     15                )
     16            )'
     17          passing t.col1
     18          columns category_name  varchar2(30)   path '@name'
     19                , val            varchar2(4000) path '.'
     20         ) x  ;
    
    CATEGORY_NAME                  VAL
    ------------------------------ --------------------------------------------------
    Name of the Company            NASA
    Detailed Data Entered          test
    Types of Financials            Audited
    FY Ended (DD-MM-YY)            Saturday, March 31, 2012
    Detailed Data Entered          test1
    Types of Financials            Audited1
    FY Ended (DD-MM-YY)            Sunday, April 01, 2012
    Name of the Company            BHEL
    Detailed Data Entered          test
    Types of Financials            Audited
    FY Ended (DD-MM-YY)            Saturday, March 31, 2012
    Detailed Data Entered          test1
    Types of Financials            Audited1
    FY Ended (DD-MM-YY)            Sunday, April 01, 2012
    
    14 rows selected.
    
  • Extract xml nested with attributes using plsql

    Hi, I need to extract xml file and insert 2 oracle tables. The xml file is the use of attributes, and I cannot retrieve the element 'code' nested with its attributes in the context of its parent folder "table." Here is a sample of the xml data that I have to extract the date:

    <? XML version = "1.0" encoding = "UTF-8"? >
    < dataset - cv:dataset - cv dateProduced = "2011-09-19 11:50:45 ' xmlns:dataset - cv ="http://www.myurl.com/dataset-cv/1.0.0">"
    < lov >
    < id of the table = "00000000000001000" Name = "Role of the system" isSystem = "true" status = "Enabled" >
    < id code = "00000000000000306" Name = "Helpdesk" code = "1" status = "Enabled" / >
    < id code = "000000000000000307" Name = "Reviewer" code = "2" status = "Enabled" / >
    < id code = "00000000000000308" Name = 'Administrator' code = '3' status = "Enabled" / >
    < /table >
    < id of the table = "00000000000002000" Name = 'Country' sSystem 'false' status = "Enabled" = >
    < id code = "000000000000002004" Name = "AFGHANISTAN" code = "4" status = "Enabled" / >
    < id code = "000000000000002008" Name = 'ALBANIA' code = '8' status = "Enabled" / >
    < id code = "000000000000002010" Name = "ANTARCTICA" code = "10" status = "Enabled" / >
    < /table >
    < / lov >
    < / dataset - cv:dataset - cv >


    I use a query like this that seems to work to get all the attributes of table or all attributes of code element element, but not the code attributes in the context of his record from the table parent.

    SELECT id
    englishname
    status
    FROM XMLTABLE ('for $i //lov//table return $i"
    FROM db_get_xml_from_file (p_file_name, p_directory)
    ID VARCHAR2 COLUMNS (32) PATH '@id '.
    , englishname PATH VARCHAR2 (50) '@englishName '.
    , status VARCHAR2 (10) PATH '@status '.
    )

    Any help will be much appreciated

    Thank you

    Dave

    user12036327 wrote:
    I use a query like this that seems to work to get all the attributes of table or all attributes of code element element, but not the code attributes in the context of his record from the table parent.

    To get the nested data, that you need to implement nested xmltable statements. for example

    SQL> ed
    Wrote file afiedt.buf
    
      1  with t as (select xmltype('
      2  
      3    
      4      
      5        
      6        
      7        
      8      
    9 10 11 12 13
    14
    15
    ') as xml from dual) 16 -- 17 -- end of sample data 18 -- 19 select tbl.id tbl_id 20 ,tbl.englishname as tbl_englishname 21 ,tbl.issystem as tbl_issystem 22 ,tbl.status as tbl_status 23 ,cd.id as cd_id 24 ,cd.englishname as cd_englishname 25 ,cd.code as cd_code 26 ,cd.status as cd_status 27 from t 28 ,xmltable(xmlnamespaces('http://www.myurl.com/dataset-cv/1.0.0' as "dataset-cv"), 29 '/dataset-cv:dataset-cv/lov/table' 30 passing t.xml 31 columns id varchar2(32) path '/table/@id' 32 ,englishname varchar2(20) path '/table/@englishName' 33 ,issystem varchar2(5) path '/table/@isSystem' 34 ,status varchar2(10) path '/table/@status' 35 ,code xmltype path '.' 36 ) tbl 37 ,xmltable(xmlnamespaces('http://www.myurl.com/dataset-cv/1.0.0' as "dataset-cv"), 38 '/table/code' 39 passing tbl.code 40 columns id varchar2(32) path '/code/@id' 41 ,englishname varchar2(20) path '/code/@englishName' 42 ,code number path '/code/@code' 43 ,status varchar2(10) path '/code/@status' 44* ) cd SQL> / TBL_ID TBL_ENGLISHNAME TBL_I TBL_STATUS CD_ID CD_ENGLISHNAME CD_CODE CD_STATUS -------------------------------- -------------------- ----- ---------- -------------------------------- -------------------- ---------- ---------- 00000000000001000 System Role true Enabled 00000000000000306 Helpdesk 1 Enabled 00000000000001000 System Role true Enabled 000000000000000307 Reviewer 2 Enabled 00000000000001000 System Role true Enabled 00000000000000308 Administrator 3 Enabled 00000000000002000 Country false Enabled 000000000000002004 AFGHANISTAN 4 Enabled 00000000000002000 Country false Enabled 000000000000002008 ALBANIA 8 Enabled 00000000000002000 Country false Enabled 000000000000002010 ANTARCTICA 10 Enabled 6 rows selected.
  • How to use windows search to search the contents of a bunch of files with random names / extensions?

    How to use windows search to search the contents of a bunch of files with random names / extensions? Plain txt files say 1,000 with random name of file extensions?

    You can always search within those, but you need to add extensions to the file system so that it knows to look inside these files.  You said that you have a lot, so it's perhaps tedious.  Here's How to search within several types of files.

    One thing you could try is rather to make a copy of this file, rename all the files to the same extension (even an extension false for example something.bill) and perform your search on this band.  Just an idea.

  • File or assembly name hpqutils or one of its dependencies, was not found

    How to fix this error "file or assembly name hpqutils, or one of its dependencies, was not found" I uninstalled the software several times and looked on the web, including support for windows?

    AUTORUNS

     

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902

    If you still can't find the entry in the registry, download Autoruns.  Let it finish the scanning, then click the Services tab.  Find the name of the service 'wrong' in the left column ("Autorun entry").  Right click and select ' go to '.  You will go straight to the appropriate entry in the registry for editing.

    I would like to examine what you load at startup. You should see if you have any programs from loading during the startup process, which can be changed on request.
    With Autoruns, you can deselect an item which disables startup, or you can click with the right button on an item, then remove it. If you clear the check box that you can check back for re - activate the element. It is an approach much safer than editing the registry and better than using msconfig.

    Another useful feature of the program is that you can click with the right button on an item and select search online to get information about the selected item.

    When you use Autoruns, you will need to click on the "Connection" tab to see what runs at startup.

    post back with results

Maybe you are looking for