XML file builder - how to embed Import information?!

Hey Experts,
I'm building a xml file and couldn't figure it out:
1. How to embed this line
*<IMPORTFILE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="KPMG_test_Import.xsd">*
Because when I do this:
        Element root = doc.createElement("IMPORTFILE");
            doc.appendChild(root);the result is simply *<IMPORTFILE>*
2.
this code
               DocumentBuilderFactory dbfac = DocumentBuilderFactory.newInstance();
            DocumentBuilder docBuilder = dbfac.newDocumentBuilder();
            Document doc = docBuilder.newDocument();result in:
*<?xml version="1.0" encoding="UTF-8" standalone="no"?>*
How can I ignore the standalone="no" (have only *<?xml version="1.0" encoding="UTF-8"?>*
THANKS for any pointers!

Hello,
by default when you have a xml form on KM, if you click on it, the "Show Form" is opened, if you choose "Edit" on the context menu the "Edit Form" is opened.
If you want to access any other forms of your project you must define on the XMLForms Renderer Settings, located on
Systerm Administration > System Configuration > Knowledge Management > Content Management > User Interface > Settings > Resource Renderer Settings > XML Forms Renderer Settings
There create a renderer set the XML Forms Transformation value to your "Edit Form B"
then go to:
Systerm Administration > System Configuration > Knowledge Management > Content Management > User Interface > Settings > Layout Set
create a new Layout Set and set the Resource Renderer value to renderer you created.
(btw easiest way to create resource renderers and layout set is duplicating an existing one)
Finally, create an iView (I´d advise KM Navigation one for this case) to access your form using the layout set created
yours,
Rafael

Similar Messages

  • I want to load a sales order from xml file. How can I do.

    Hi,
    I want to load a sales order from XML  file. How can I do ? how can i create the sales order?
    what are the necessary  setting for  create the sales orders.
    with Regards,
    Prakesh.

    Three options come to my mind.
    Option 1: Use SAP transaction SXDA_TOOLS (Object Type BUS2032), Program Type (BAPI) and Program (CREATEFROMDAT2).
    Option 2: Use SAP transaction SXDA_TOOLS (Object Type BUS2032), Program Type (DINP) and Program (RVINVB10).
    Option 3: Translate the xml to IDoc so that ORDER04 / ORDER05 Idoc can be used to create Sales order (WEDI transaction).

  • After migrating to new Mac Pro Dreamweaver won't launch, says missing menus.xml file. How do I resolve this?

    After migration to a new Mac Pro Dreamweaver CS6 won't launch. It says it is missing menus.xml file. How do I resolve this?

    Hi rustyg12,
    Go to Applications/Adobe Dreamweaver CS6/Configuration/Menus/menus.bak
    You'll see a menus.xml there - it is a backup copy of the actual menus.xml file that DW uses.
    Copy it from that folder, paste it 1 level above (in Menus folder).
    Fire up DW. See if it works.

  • I have a standard DVD, with a VIDEO_TS folder holding some .VOB files. How can I import it to iTunes ?

    I have a standard DVD, with a VIDEO_TS folder holding some .VOB files. How can I import it to iTunes ?

    I have a standard DVD, with a VIDEO_TS folder holding some .VOB files. How can I import it to iTunes ?

  • ITunes 9.2 XML file does NOT contain any iBooks information

    I have a little script that I have that generates a webpage to list what is in my iTunes library. I noticed that the XML file does not contain ANY information about iBooks or PDFs that you import. Any idea why that is? If my main library file gets corrupt, and I have to use the XML file to rebuild, I would lose all the iBook information....
    Seems like a oversight by the iTunes people

    why did Apple even make an XML file in the first place as initially most things in iTunes (following your logic) would be purchases from the iTunes store.
    Incorrect. The existence and use of iTunes significantly predates the existence of the iTunes Store. iTunes was initially designed to get its content from CDs. The XML file was for use by other apps such as iMovie or third-party apps to have access to the iTunes library so as to be able to locate tracks and playlists for use in the app.
    Anyway, I'm not interested in arguing with you about the matter.
    Apple, plus put iBooks stuff in the XML file!
    http://www.apple.com/feedback

  • I updated my itunes and lost my entire library!!  I found it again as a .xml file.   How do I get it back onto my desk top?

    I updated my itunes and lost my entire library.  I found it again as a .xml file
    How do I take this file and get it to look like my library used to?
    (I am dumb with computers and need  step by step instructions)
    Thanks!

    Se my response on this post:
    ]                                  Screen Message"File iTines Library.itl cannot be read because it was created by a newer version of iTunes" What is this and how can it be fixed?                    
    They do not appearon the right-had side of your post.

  • XML Form Builder-How to access data saved from a form?

    Hi All,
    I created a form in XML Form Builder. This form include checkboxes and input fields.
    Also i include a Save button.
    I used this form in a iView.
    Many users will access this iView and save their input data.
    So, after the user Save this data, in the KM folder , is created a XML form where i can see the inputed data.
    So for every user's Save is created a XML form .
    The question is,
    how can i collect all these data for each created XML form, so as i can process them?
    Please i will appreciate if anybody has any documentation or can give me step-by step instruction .
    I am new in EP  .
    Regards
    Ari

    Hello Avinash,
    You can directly use query in form personalization Conditions like
    select date_probation_end from per_assignments_x where person_id = :PERIOD_OF_SERVICE.PERSON_ID
    and put in your condition like if you want to validate Probation end date is less then sysdate then in condition put in like.
    TRUNC(SYSDATE) < (select TRUNC(date_probation_end) from per_assignments_x where person_id = :PERIOD_OF_SERVICE.PERSON_ID)
    set the error message.
    Regards,
    Saurabh

  • XML-file with prefix in Java importing

    Hello,
    I have one XML-file with prefix "wf" like this:
       <wf:data>
               <wf:name>NAME</wf:name>
               <wf:description/>
               <wf:creation_time>0001-01-01T00:00:00</wf:creation_time>
               <wf:user wf:ref=""/>
               <wf:properties/>
       </wf:data>the Java-Code like this:
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
              factory.setNamespaceAware(false);
              XPath xpath = XPathFactory.newInstance().newXPath();
              String expression = "./data/name/text()";
              InputSource inputSource = new InputSource("workflow.xml");
                    String result = xpath.evaluate(expression, inputSource);the Java-Code works well, if the prefix does not exist, otherwise I could not get any result. Could somebody please help me?
    Thank you
    Sunny

    I have defined the namespaceI didn't see that in your original post.
    I notice that your XPath expression doesn't include the namespace prefixes and you don't tell it how to map the prefixes to the namespace URIs. I am not sure whether calling factory.setNamespaceAware(false) makes it unnecessary to do that. I wouldn't count on it.

  • Struts / Validator: ErrorMessages from xml-file? How?

    Hi there,
    Ive added the Validator PlugIn to my Struts project.
    The Problem is: all my messages are stored in xml-files.
    Now I want to store my error messages for the Validator in its own xml.
    Can someone tell me how to tell struts to look into the xml instead of the .properties file?
    thanks guys

    Hi there,
    Ive added the Validator PlugIn to my Struts project.
    The Problem is: all my messages are stored in xml-files.
    Now I want to store my error messages for the Validator in its own xml.
    Can someone tell me how to tell struts to look into the xml instead of the .properties file?
    thanks guys

  • When playing a particular Shockwave (swf) file, the shockwave program stops playing when trying to read XML files. How do I fix this?

    The shockwave program accesses data that is stored in multiple XML files.

    You know what's odd?
    Yesterday I said it wasn't working and gave up on it. I read this message and I know I had all my animations set to 0.125 - thanks to some past forum questions you've answered- to which I double checked within InDesign.
    Anyway, I went to check the saved folio preview - the one that didn't work- and now it works.
    I didn't' change anything from when I gave up on it yesterday.
    I guess this is answered, although I do not know what happened to the same folio that didn't work yesterday, to work today.
    -Shawn

  • I am switching from XP to windows 7 at the same time you have changed firefox and my bookmarks are in a .json file. How do I import them?

    I have a new computer. The old firefox made backups with .json files but I don't see how to import them. I've got one for bookmarks from 5-11.

    To import a JSON backup into Firefox 4 on Windows 7.
    First, open the bookmarks organizer ("Library") using
    orange Firefox button > Bookmarks ''or''<br>
    Bookmarks menu > Show All Bookmarks ''or''<br>
    Ctrl+Shift+b
    On the menu bar (has a grayed out back and forward button on the left side), the third menu should be Import & Backup. Some people don't see the words, just the icon, which looks like a star with some green arrows forming a circle.
    From that menu Restore > Choose File, and navigate to your JSON file.
    Any luck?

  • My Vostro is trashed. I salvaged the hard drive and have it in a cage. I was able to save my bookmarks as an HTML file. How can I import them into a new computer? I asked a similar question yesterday and the solution did not work.

    I have the original hard drive in a cage (i.e., I can not boot to it or load applications from it). I can access any file on the old drive from the new computer. I have also saved the bookmark file as an html file. I was given a solution to import from the html file that does not work.
    How can I get my old bookmarks moved to my nes hard drive?

    I plugged my old drive into an identical Vostro and saved my bookmarks per the instructions. Later, when I check the file, it was in html format. While waiting for the replacement laptop to arrive, I put my old (Vostro) hard drive into a case so I could access the files. I have been able to launch web pages from the file bt accessing them through My Documents so I know the file is good. The problem is, I apparently need to convert them into a JSON file in order to use them. There is a set of instructions on the Mozilla/Firefox website but that method does not work.

  • Since the import feature is missing from the Firefox 9 File menu, how do I import my bookmarks from Safari on an iMac using Lion?

    I don't know what to add to the question, which is quite specific. I downloaded Firefox 9, but cannot find the Import section on the File Menu, as in previous versions, and as in the help section in Firefox Help.

    i had the same problem you describe. the simplest way i found to import my bookmarks from safari is to: with firefox open click on "bookmarks" then " show all bookmarks". you will get a folder titled "library". in the menu bar you will see a 5 pointed star. click on it to open the drop down box. one of the options is to "import data from another browser". then follow the instructions from there. this worked for me. hope this helps.

  • Computer was shut down and need to know how to retrieve important information from open tab that isn't showing in history and wasn't bookmarked

    My computer was shut down with live work still needing to be completed within an open tab of Firefox. The site that I was working from had not been bookmarked and a saved link back to the site had not been done yet either. After starting my laptop back up and opening Firefox, I don't have anything in the history taking me back to the site. Can I get back to that session at all and if so how? Or how do I search?

    You would really have to ask the app developer if there is a way to export the data.
    As for adding a printer, you would need to purchase an AirPrint compatible printer and connect it to your wireless network.
    By the way, your holiday letter/rant/Idon't even know what to call it... is completely inappropriate for these forums.

  • How to import premier xml file into FCP X?

    Hi There,
    Premier has an export to "Final Cut Pro XML" option but how do you import these files into FCP X?
    If I navigate from within FCP X, the file is greyed out and if I right click from the finder and open in FCP X I see the error:
    The document “V1-0008_M07-1538.mov.xml” could not be opened. Final Cut Pro cannot open files in the “XML text” format.
    I'm using FCP 10.1.1 and Premiere Pro CC 7.2.1
    Any pointers in the right direction would be much appreciated.
    Cheers

    Looks like this is the only option: https://itunes.apple.com/us/app/7tox-for-final-cut-pro/id496926258?ls=1&mt=12

Maybe you are looking for

  • Lost iphoto 6 library

    I have iphoto 6.0.6 and just tried importing some photos off a CD copied from a friend's Mac running Leopard. A box appeared saying the photos were not compatible with my iphoto version and I should update it but there are no iphoto updates when I ch

  • Importing from DVD not showing full video

    I'm trying to import a video (VOB file) from a DVD, but the full frame of the video is not showing. The frame size that is importing seems to be importing as a different frame size than the video is and I can't seem to change it. The import seems to

  • Automatic mail-address iPhone

    I had an @me.com e-mailadress that was automatically linked to an @icloud.com e-mailadress. You can automatically use the @icloud.com-adress. However, if I want to send an e-mail from my iPhone 6, there's not the possibility to change the address fro

  • Diagnostics(How to view the log files)

    Hi All, In weblogic 9.2MP3, In the console navigate through the following , Diagnostics->log files->server logs. Click on customize this table. Select logging as custom. My question is what should be the Start Time and End Time format when logging se

  • Applications keep quitting unexpectedly

    Salut, I have run into a problem with my all of application quitting unexpectedly upon launch or shortly thereafter. About 2 months ago I upgraded my internal HD to a Samsung 300GB Model. Had it swapped by the local Apple store. Ran flawlessly after