How to associate other file extension with text/xml

Hi,
I found that I could only load files into XDB via ftp when they had the file extension ".xml". Why is this?
Thanks
Pete

The information as to which file extensions are associated with which mime-types is stored in the xdbconfig.file. You can add an entry using the following code
connect system/oracle as sysdba
call dbms_xdb.cfg_update
       updatexml
         dbms_xdb.cfg_get(),
         '/xdbconfig/sysconfig/protocolconfig/common/extension-mappings/mime-mappings',
         xmlelement
           "mime-mappings",
           xmlconcat
             extract
               dbms_xdb.cfg_get(),
               '/xdbconfig/sysconfig/protocolconfig/common/extension-mappings/mime-mappings/mime-mapping'
             xmltype
               '<mime-mapping xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">
            <extension>rdf</extension>
            <mime-type>text/xml</mime-type>
            </mime-mapping>'
commit
call dbms_xdb.cfg_refresh()
set long 1000000
set pagesize 0
select dbms_xdb.cfg_get() from dual
quit

Similar Messages

  • Associate .indd file extension with CS6

    I have not been able to associate the file extension with CS6 in Windows Vista. The .indd extension is already taken by another application, yet when I try to change it, it does not save.

    While highly unlikely as the reason, Vista was not tested and is not supported for CS6.
    What “other application” has the INDD association? Is it a different version of InDesign? Did you install the other version AFTER CS6?
    Bob

  • XML form: associate the file extension with an image

    Hello!
    I am creating some XML forms and i have to ulpoad a file.This isn´t a problem, but in RenderListItem I have to associate the file extension with an image(For example .doc with Word icon).Is it possible to do this? Thanks

    Hello ,
    I'm sorry, but this is not covered within the standart. You have the opportunity to do so in normal LayoutSets but not within a link in XML Forms. Maybe it's a workaround for you to provide a image selection for the author in the edit form, to select such an image manualy.
    hope this helps,
    Axel
    Please consider rewarding points to helpful answers on SDN

  • Plz help , how do i associate a file extension with a j2me application

    i need to associate a file extension (.gpj) with my j2me application. in other words when i open a .gpj file i need the j2me application to launch.
    thankyou

    To accomplish this your device need to have an implementation of the Content Handler API (JSR 211)
    1. The class that handles the file extension should implement the ContentListener Interface
    2. you should register the listener to be notified of new requests
    ContentHandlerServer myhandler=Registry.forClass(this.getClass().getName());
    myhandler.setListener(this);3.implement the invocationNotify() method of the ContentListener interface to handle this file extension
    Cheers
    and don't forget your (generous) dukes ;D

  • Computer associates .dwt file extension with AutoCAD (valid) - not DW Template. [was: roberth11148500]

    I have attempted unsuccessfully to create a webpage template using Dreamweaver CS6. On investigation I found that my computer was interpreting the dwt. suffix as an AutoCAD template rather than a Dreamweaver template.  I do have AutoCAD programmes on my computer and in that software dwt. is a valid suffix for templates.  Please someone kindly tell me how to overcome this problem?

    One way is to associate the extension with the relevant program as in Choose the apps Windows uses by default - Windows Help
    Another way is to right click the template file and choose Open With->Dreamweaver
    A third way, if you are running a PHP server is to give the temple a PHP extension as in myTemplate.dwt.php

  • How to get HTTP Post body with text/xml

    There is a HTTP Post like this from a client:
    POST http://local:8080/test HTTP/1.1
    Content-Type: text/xml
    Content-Length: 210
    <?xml version="1.0" encoding="UTF-8"?>
    <CancelOrders>
    <Cancel>
    <ItemID>898980</ItemID>
    <UserName>REM</UserName>
    <DateTime>11/10/2003 06:33:33</DateTime>
    </Cancel>
    </CancelOrders>
    I need to get the content of the xml through servlet.
    What can I do?
    Please help

    Can you put some Duke points here, you might get a response sooner.

  • Associate a file extension with my executable, how to receive filename?

    Hi
    I'm using flaslh profresional to create this application:   Edit_epl.exe
    I install the application.
    I make a file association extension because I want to do this:  when double-click on a file with the extension ".elp" then runs Edit_epl.exe.
       example doubleclick on:  "my_sample.epl"  ---> then runs Edit_eplp.exe.   so far,so good.  
    My question is how to know its filename (my_sample.epl) as "parameter" inside "Edit_eplp.exe"
    Can anyone help me?
    Thanks

    I solve it!
    Question:
    I want to click on a textFile  for example  hello.txt, with the content:   "My name is Fernando"
    1 - create an application   My_edit_txt.exe   (with only one text_field, MY TEXT)
    2 - install the application.
    3-  associate the extension txt  to my  editor: My_edit_txt.exe
    4-  when I click on hello.txt,
    5-  the system launches -> My_edit_txt.exe (so far works ok)
    6- then I dont know:  Inside My_edit_txt.exe:
    Which file clicked the user?
    Resolution:
       NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onInvoke);
    package silbo.esment.general.base_juegos
              import flash.desktop.NativeApplication;
              import flash.display.MovieClip;
              import flash.events.InvokeEvent;
              import flash.text.TextField;
              public class Clip_editor_epl extends MovieClip
                        public var t_texto:TextField;
                        public function Clip_editor_epl()
                                       super();
                                       NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onInvoke);
                        function onInvoke(event:InvokeEvent):void {
                                  mitrace("on invoke");
                                  mitrace("arg="+event.arguments);
                                  mitrace("file to open:"+event.arguments[0]);
                        function mitrace(trozo){
                                  if(trozo==null){
                                            trozo="";
                                  t_texto.appendText(trozo+"\n");
              }//clase

  • Associating other extensions with text PDF Maker

    Is there any plan to allow users to associate other file extensions with a PDF Maker that are plain text?  We have proprietary files with extensions bom,bot,dbk,drd, dts,emn,ewprj and more that are essentially text files that can be opened with Notepad.  Rather than converting these one by one using the Create PDF from Web Page functionality and using the Text File Type settings, can Acrobat be configured to recognize these formats as text to more efficiently process these files?

    I had this a long time ago and one of my students pointed out a setting in WORD. Unfortunately I do not remember the item that had to be fixed, but it was definitely a WORD problem.

  • Associate file extension with air app on Android

    Hi,
    I am trying to associate a file extension with my air app on Android. My goal is to be able to start my app by clicking on a file with a specific file type from either a file manager or mail app. I have found a solution that in theory would work in native, but does not with air somehow.
    In the .xml-file for the app, under the <android> tag I have written:
    <activity>
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                <data android:scheme="file" />
                <data android:pathPattern=".*\\.csml" />
                <data android:host="*" />
            </intent-filter>
        </activity>
    Does anyone have an idea how this could be solved?
    Thanks in advance
    Jens

    If it works in a native app, it should also work in an AIR app in this case. Can you verify that it does work in a native app?
    See also:
    http://www.mail-archive.com/[email protected]/msg47862.html//www.mail-archive.com/[email protected]/msg47862.html
    http://stackoverflow.com/questions/1733195/android-intent-filter-for-a-particular-file-ext ension

  • Possible to associate file extension with webstarted app?

    A common property of microsoft apps is to associate file extensions with specifiec apps.
    For example, when you double click on a .xl file, Excel is launched.
    Can the same kind of thing be done for Webstarted apps? If so how?

    I have an idea on how to do this, but I have not tried it.
    1. On first launch, the application does an "install" before starting the main screen.
    2. The install checks the OS, and writes a .sh or .bat file to disk. That batch file runs the command-line to start the application. Hmm, but how does it pass along $*?
    3. The install associates the proper file extension with the .bat file, and/or with the unix file manager software, and/or with IE, Netscape, and Mozilla.
    Then, when a user clicks on a link to a document, or a file in the windows explorer, then the JWS application should lanch and load the file(s).

  • I often have to open files .cue with Text Edit. Right Click, Open with, Others, Text Edit. Is it possible to put Text Edit in the menu avoiding to use "others"?

    I often have to open files .cue with Text Edit. Right Click, Open with, Others, Text Edit. Is it possible to put Text Edit in the menu avoiding to use "others"?

    The easiest way is to keep Textedit in the Dock and drag the .cue file(s) to the Dock icon.
    You can also create an Automator Service:
    Open Automator
    Select: Service
    Select Service receives selected [files or folders] in [Finder]
    and:
    Then select one or more .cue file, right click (or Control-click) on the selection to display the contextual menu. Scroll to the bottom of the contextual menu and select Services -> (what you named the Service).

  • Associate a File Type with a JAR

    How do I get XP to associate a file type with a JAR application? Since the extension on the application is JAR, I get a message from XP that I can't associate with it since it is not exe.

    Look at the association for the JAR extension, you'll find that it uses javaw.exe and the "open" action is mapped to some command line involving javaw.exe and %1 which represents the jar file to be executed. Now, for your extension make a very similar setup, only your "open" command line will look something like this:
    "C:\...\javaw.exe" -jar YourSpecialJar.jar "%1" %*
    That command line runs your jar file and passes the file being "opened" to the command line as the first parameter. (I don't know what the %* does but it's in the command line for the jar extension.)

  • How can i use jpg extension with forms 10g and webutil

    I have a form with webutil and i want to open imege jpg extension but thier are Bmp but my
    image jpg and image item has no jpg extension .
    How can i use jpg extension with forms 10g and webutil ?

    You can use the JFIF image format for jpg files.

  • How to associate a test message with a change document

    I am using solution manager 7.01.
    accessing my change documents through the workcenter I need to create a new test message - so I use the Create transaction button on the button bar, Service Process, Test Message
    Then I am in the create test message screen.  However from here I cannot see how to associate my test message with either the change document that I was processing or to the maintenance cycle.
    Ideally I want to link the test message to the change document however at least to the maintenance cycle.
    How do I do this?
    Am I creating the test message in an incorrect way?
    regards
    Marina

    Anyone?  Does no one use Test Messages?

  • SAVING FILES AS  UNICODE TEXT / XML / M3U / M3U8

    HI, unable to find a clear explaination for what saving a file as UNICODE TEXT / XML / M3U / M3U8  is all about .... I want to archive and EXPORT music from I tunes to a external memory or a flash drive when I use the EXPORT option from the PLAYLIST I created.  Now I have 4 formats to save with  UNICODE TEXT / XML / M3U / M3U8   I want too save all the info of that particular song stored with I tunes (gendre, EQ, BPM, notes)   the reason I'm using EXPORT is I want to remove the songs from my library after EXPORTING the song. Is there another way to TRANSFER music with all the saved info 

    I suggest you engade Wikipedia and Webopida, do some export experimentation and don't delete anything unless you have a few backups and sure of the results.
    http://www.webopedia.com/
    Most commonly used backup methods
    You might be exporting the playlist itself, the songs are not included.
    You can apply tags and groupings to the song files themselves that get transferred with the song file, to whereever it goes.
    You'l lhave to play around and learn yourself or read a online iTunes instruction manual.
    We are here to solve supoprt related issues, not engage in a huge educational endeavor.

Maybe you are looking for

  • How can I enable/disable the transmission of a can frame? (filter etc...)

    Hello, I use the CAN Transmit-periodic.vi in LV 8.5, I want to enable or disable the transmission of a frame without stop the loop of my VI, does it exist in the frame api a vi which could stop, or mask the transmission of a frame? It's important I d

  • How to allow user to put only numbers and backspace?

    Hello! On my form i need to prevent user from typing anything but numbers in a specific field. But i also need to let user delete typed symbols. For that porpuse i have a function: function regExp(newsymbol){     var re = /[0-9\b]/;     if(newsymbol.

  • Outlook connector - sending mail to alias'es doesn't work ...

    Hi, We are using JES5 with the latest outlook connector (7.2.402.1) The user accounts have mailalternateaddress entries that consist of their initials. ([email protected]) the uid is the same as their initials (ie uid=hda) the main 'mail' attribute i

  • CFAJAXPROXY problem, need help !

    I created subdomains on my server for development part of my website and the cfajaxproxy is working great on the live version and on my subdomain dev.mydomain.com. I created a new subdomain name dev2.mydomain.com and now the cfajaxproxy isn't working

  • Photoshop CS Plugin for Canon Digital Rebel XT

    I'm trying to access RAW files on my digital Rebel XT through Photoshop CS. I can't seem to find the right version of plugin. I tried 2.4 but it doesn't look like it supports Digital Rebel XT. Can anyone point me in the right direction?