Writing XML from java and import this into OpenOffice

Hello , i'd like to write a XML file which covers Text and Images and can be imported into OpenOffice. The Export to XML already works. But i don't know what XSL or other files a necessary ? Does anyone have a converter ? Or can gibe a clue ?

dunno if it is feasable with only an XML file.
i am doing this by generating an SXW file (OpenOffice) using JAXP for the XML content and java.util.zip to pack the XML and the images in the SXW.

Similar Messages

  • Export scenarios from XI and import them into PI

    Dear experts
    We are planning to upgrade our exitsting XI 3.0 to PI7.0.
    Due to system requeriments, we need to install PI on new hardware and migrate all the existing scenario's from XI 3.0 PI7.'0
    How to migrate the existing ABAP developements from XI to PI  ?
    It's possible to export scenarios from XI and import them into PI?
    Thanks, in advance
    Carme

    Hi,
    you should go to PI 7.1 and not PI 7.0 otherwise it makes not so much sense.
    And yes it's possible to migrate your scenarios. If you have UDFs you have to check them because the java version has changed.
    Regards
    Patrick

  • How do i expoert files from Outlook and import them into iphone? operate with Mac OSx at home and trying to convert contacts and calendars from work and carrying on iphone. txs

    How do I export calendar and contact files in Outlook and import them into iphone 4. I operate Mac OS X at home and wish to carry my work information with me on my iPhone.

    You do not export anything.
    Instead, sync the content from Outlook to your device via iTunes.
    Try reading the manual, it's included on the device or here.

  • Workflow for exporting xml from Excel and importing into table in InDesign

    Hello,
    I have worked out how to get data from a .xlsx into a table in InDesign. However, the workflow is still a little clunky and I am looking for way to automate the process further. My current workflow is as follows (files can be download here: http://visual360.co.uk/xml.zip)
    xml is exported from .xlsx by mapping the schema (see what_I_get.xml)
    assign tags to table and individual cells in InDesign
    This is the clunky bit: edit the what_I_get.xml to:
    remove the indentation (this seems necessary as otherwise when I get to stage 4, all the imported text is also indented)
    add tag for table in InDesign (p10_table)
    add tags for individual cells (p10_c11 etc.)
    import the produced what_I_want.xml in the structure panel of InDesign.
    Can anyone point me in the direction of how to automate step 3 above?
    Thanks in advance,
    Nick

    Hi Mike,
    Thanks very much for the reply. I am not at all familiar with XSL/XSLT. I have given it a quick google and it seems like it could be quite a steep learning curve to master. Maybe if I explain the whole context here, it may allow you to point me in the direction of a tutorial that provides a step by step approach to achieve my final goal. Alternatively, you may be able to suggest a whole new workflow.
    I am in the process of updating this document: http://www.ncl.ac.uk/students/insessional/assets/documents/IS_Brochure_2014-15.pdf
    The tables on pages 10-21 contain lots and lots of repeated information. We want the layout to in this format so that each group of students has all the information relevant to them on a single double spread. However, the challenge of using this approach is that it is very high maintenance to ensure the duplicated information is kept in sync - even using a copy / paste approach.
    I was hoping to overcome this by using a single source of data (eg. a spreadsheet) which would then feed into the InDesign. This workflow seems to be overcomplicated by the apparent need to use xml as the "middle-man".
    Ideally, I would like to press the export button in Excel and get this information into the the correct cells in the tables on pages 10-21 without a significant amount of manual labour - after all, my reasons for investigating an automated approach in the first place was to avoid the manual entering of data ie. the scope for error...
    An alternative approach maybe to skip Excel altogether and just use .xml. However, I am not sure that this is possible as Indesign only seems to allow you to import each element once. Maybe you could correct me here...
    I am happy to invest a certain amount of time in developing this approach as once it is in place, it will save a huge of proof-reading time year after year, especially as inconsistencies still persist despite our best efforts to weed them out.
    If you could let me know your thoughts on this and maybe identify a tutorial that would help me, I would be extremely grateful.
    Thanks again!
    Nick

  • Urgent : Need help in parsing XML from Sharepoint and save it into DB

    Hi ,
    I am Sharepoint guy and a newbie in Oracle . PL/SQL
    I am using UTL_DBWS Package to call a Sharepoint WebService " and was sucessfull , Now the xml has to be parsed and stored into a Table. I am facing the issue as the XML has a different namesoace and normal XPATH query is not working
    Below is the XML and need help in parsing it
    declare
    responsexml sys.XMLTYPE;
    testparsexml sys.XMLTYPE;
    begin
    responsexml := sys.XMLTYPE('<GetListItemsResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/">
    <GetListItemsResult>
    <listitems xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
    <rs:data ItemCount="2">
    <z:row ows_MetaInfo="1;#" ows__ModerationStatus="0" ows__Level="1" ows_Title="Test Title 1" ows_ID="1" ows_owshiddenversion="1" ows_UniqueId="1;#{9C45D54E-150E-4509-B59A-DB5A1B97E034}" ows_FSObjType="1;#0" ows_Created="2009-09-12 17:13:16" ows_FileRef="1;#Lists/Tasks/1_.000"/>
    <z:row ows_MetaInfo="2;#" ows__ModerationStatus="0" ows__Level="1" ows_Title="Testing Tasks" ows_ID="2" ows_owshiddenversion="1" ows_UniqueId="2;#{8942E211-460B-422A-B1AD-1347F062114A}" ows_FSObjType="2;#0" ows_Created="2010-02-14 16:44:40" ows_FileRef="2;#Lists/Tasks/2_.000"/>
    </rs:data>
    </listitems>
    </GetListItemsResult>
    </GetListItemsResponse>');
    testparsexml := responsexml.extract('/GetListItemsResponse/GetListItemsResult/listitems/rs:data/z:row/@ows_Title');
    DBMS_OUTPUT.PUT_LINE(testparsexml.extract('/').getstringval());
    end;
    The issue is with rs:data , z:row nodes.... please suggest how to handle these kind of namespaces in Oracle
    I need the parse the attribute "ows_Title" and save it into a DB
    this script would generate "Error occured in XML Parsing"
    Help is appriciated, thanks for looking

    SQL> SELECT *
      FROM XMLTABLE (
              xmlnamespaces ('http://schemas.microsoft.com/sharepoint/soap/' as "soap",
                             '#RowsetSchema' AS "z"
              'for $i in //soap:*//z:row return $i'
              PASSING xmltype (
                         '<GetListItemsResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/">
    <GetListItemsResult>
    <listitems xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
    <rs:data ItemCount="2">
    <z:row ows_MetaInfo="1;#" ows__ModerationStatus="0" ows__Level="1" ows_Title="Test Title 1" ows_ID="1" ows_owshiddenversion="1" ows_UniqueId="1;#{9C45D54E-150E-4509-B59A-DB5A1B97E034}" ows_FSObjType="1;#0" ows_Created="2009-09-12 17:13:16" ows_FileRef="1;#Lists/Tasks/1_.000"/>
    <z:row ows_MetaInfo="2;#" ows__ModerationStatus="0" ows__Level="1" ows_Title="Testing Tasks" ows_ID="2" ows_owshiddenversion="1" ows_UniqueId="2;#{8942E211-460B-422A-B1AD-1347F062114A}" ows_FSObjType="2;#0" ows_Created="2010-02-14 16:44:40" ows_FileRef="2;#Lists/Tasks/2_.000"/>
    </rs:data>
    </listitems>
    </GetListItemsResult>
    </GetListItemsResponse>')
    columns ows_MetaInfo varchar2(20) path '@ows_MetaInfo',
             ows_Title varchar2(20) path '@ows_Title',
             ows__ModerationStatus varchar2(20) path '@ows__ModerationStatus'
    OWS_METAINFO         OWS_TITLE            OWS__MODERATIONSTATUS
    1;#                  Test Title 1         0                   
    2;#                  Testing Tasks        0                   
    2 rows selected.

  • Cut parts from song and import them into the sampler on ipad

    How do I cut parts of my song in garageband (ipad) and put them into the sampler to fix the pitch on specific parts of my pre-recorded vocals?
    For example, I already have a song I recorded, and I would like to simply cut a few seconds of the vocals, go into the sampler, fix the pitch, and then re-insert the editied piece back into my song.
    Is this possible on the ipad? I know that the "autotune" option isn't available on the ipad, but I simply want to fix the pitch on a few notes and I was wondering if there's any way to do that.
    If there's not, do you have any suggestions or any app reccomendations that might help me achieve this? I can't afford a macbook pro so that's out of the question.
    Sorry if my explination isn't clear! And thanks for any help :]

    Hi,
    you should go to PI 7.1 and not PI 7.0 otherwise it makes not so much sense.
    And yes it's possible to migrate your scenarios. If you have UDFs you have to check them because the java version has changed.
    Regards
    Patrick

  • Is it possible to export contacts  from Outlook 2011 for Mac and importing this file back into Mac Address Book.? please reply me its urgent

    Is it possible to export contacts  from Outlook 2011 for Mac and importing this file back into Mac Address Book.? please reply me its urgent

    Is it possible to export contacts  from Outlook 2011 for Mac and importing this file back into Mac Address Book.? please reply me its urgent

  • I just stared having problems with importing files from nikon D810 into LR 5.7 it pop a window saying it can not read files on working on a imac 27" running yosemite on my mac pro after a few times it finally was able to read files and import them into LR

    I just stared having problems with importing files from nikon D810 into LR 5.7 it pop a window saying it can not read files on working on a imac 27" running yosemite on my mac pro after a few times it finally was able to read files and import them into LR I never had this problem before was there some kind of update that could of cause this?

  • HT1364 Move itunes library from a windows computer and import this library to itunes on a macbook air

    Is it possible to move itunes library from a windows computer to an external drive (time capsule) while, keeping all the playlist, ratings, plays etc. And importing this library to itunes on a macbook air? And how is it done? The media files should stay on the external drive since there is not enough space on the macbook air.
    Regards
    Søren

    Hey man. Thanks a lot for the reply (hold the options instead of command key while launching). My old itunes library is now on my new computer in itunes, but the mp3 files are not in the same itunes folder. Where do I place these or what do I do to play them in my new itunes library?
    All the songs in the library have exclamation marks in front of them because itunes can't find them.
    Thanks again
    Søren

  • How to Extract Data from SAP and Load it into Essbase

    Hi All,
    Can you recommend some ways to extract data from SAP and load it into Essbase?. I have no knowledge about SAP, not sure how I can perform this task. Can I use ODI for this job?
    Thanks

    hi,
    Not sure if this helps but give a try
    you can create connection from EAS to SAP .. using a plug-in .. if you have access to oracle Support go for [ID 968961.1]
    or
    below are steps
    1. In EASPATH\console, open components.xml in a text editor.
    2. Under <PluginList>, enter <Plugin archiveName="SAP" packageName="com.essbase.eas.sap.ui"/> before the closing </PlugIn> tag.
    3. Save and close the file.
    4. In EASPATH\console\bin, open admincon.lax in a text editor.
    5. Search for lax.class.path= and append ;..\lib\sap_client.jar;..\lib \sap_common.jar to the entry. Save and close the file.
    6. In EASPATH\server\bin, open adminsvr.lax in a text editor.
    7. Search for lax.nl.java.option.additional, and append -DRFC_INI=EASPATH\server\saprfc.ini. Save and close the file.
    8. Create a new environment variable, RFC_INI, with a value of EASPATH\server\saprfc.ini
    9. Copy librfc.dll andsapjcorfc.dll to EASPATH\server\bin. You may need to obtain these files from SAP.
    let me know if it works :)

  • Read XML from a hardware sensor file into ODI

    Read XML from a hardware sensor file into ODI
    Hi,
    I am trying to extract xml data from a flowmeter that generates XML data.
    The xml file is found in http://ip_address/history.xml
    I’ve defined my Topology as such
    JDBC Driver: com.sunopsis.jdbc.driver.xml.SnpsXmlDriver
    JDBC URL: jdbc:snps:xml?f=http://192.168.0.202/history.xml&ro=true
    Please note to access the file I have to supply a username and password so I did in the definition But when testing my setup I get an error:
    ava.sql.SQLException: The DTD file "http://192.168.0.202/history.dtd" doesn't exist: Server redirected too many times (20)
    Please note I cannot write dtd to the device as it is a read only device.
    Has anyone came across such an issue, how can I achieve this.
    Thanks
    Hicham

    Hi David,
    Thanks for your reply.
    I've tried this jdbc url
    jdbc:snps:xml?f=http://192.168.0.202/history.xml&d=c:\temp\history.dtd
    but when I test the connection i get the following error
    java.sql.SQLException: While generating the DTD from the XML file, a java.io.IOException exception occurred saying: Server returned HTTP response code: 401 for URL: http://192.168.0.202/history.xml
    If I browse http://192.168.0.202/history.xml and i supply the username and password I get an xml page.
    I've supplied the username and password in the definition tab of the Data Server windows but still getting the above error.
    THanks
    Hicham

  • Error while Export from 10g and import to 11g

    Hi,
    I get the following error on few tables when i try to export from 10g and import to 11g DB.
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    . importing TBAADM's objects into TEST
    . . importing table "ACCT_AUTH_SIGN_TABLE"
    IMP-00019: row rejected due to ORACLE error 12899
    IMP-00003: ORACLE error 12899 encountered
    ORA-12899: value too large for column "TEST"."ACCT_AUTH_SIGN_TABLE"."MODE_OF_DESPATCH" (actual: 3, maximum: 1)
    How to over come this ?
    Regards,
    jibu

    Jibu  wrote:
    Hi,
    I get the following error on few tables when i try to export from 10g and import to 11g DB.
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    . importing TBAADM's objects into TEST
    . . importing table "ACCT_AUTH_SIGN_TABLE"
    IMP-00019: row rejected due to ORACLE error 12899
    IMP-00003: ORACLE error 12899 encountered
    ORA-12899: value too large for column "TEST"."ACCT_AUTH_SIGN_TABLE"."MODE_OF_DESPATCH" (actual: 3, maximum: 1)
    How to over come this ?
    Regards,
    jibu
    [oracle@localhost sql]$ oerr ora 12899
    12899, 00000, "value too large for column %s (actual: %s, maximum: %s)"
    // *Cause: An attempt was made to insert or update a column with a value
    //         which is too wide for the width of the destination column.
    //         The name of the column is given, along with the actual width
    //         of the value, and the maximum allowed width of the column.
    //         Note that widths are reported in characters if character length
    //         semantics are in effect for the column, otherwise widths are
    //         reported in bytes.
    // *Action: Examine the SQL statement for correctness.  Check source
    //          and destination column data types.
    //          Either make the destination column wider, or use a subset
    //          of the source column (i.e. use substring).

  • How to get the current logged in username from windows and put it into an AS var

    Hello,
    I was hopeing someone would know how to get the current logged in username from windows and put it into a var, so I can create a dynamic text box to display it.
    Thanks in advance
    Michael

    Just for everyone’s info, this is the script I have used to get the logged in windows username into flash ---- not and air app.
    In the html page that publishes with the .swf file under the <head> section:-
    <script language="JavaScript" type="text/javascript">
    function findUserName() {
         var wshell=new ActiveXObject ("wscript.shell");
         var username=wshell.ExpandEnvironmentStrings("%username%");
         return username;
    </script>
    The ActionScript:-
    import flash.external.ExternalInterface;
    var username:String = ExternalInterface.call ("findUserName");
    trace (username); // a quick test to see it in output

  • Any value in exporting iPhoto pictures and importing them into Aperture?

    I am moving from iPhoto into Aperture (moving my library again actually) and I know that iPhoto and Aperture can share the iPhoto library once it has been updated but I am wondering if there is any value (or even if it is possible) to export all of the iPhoto pictures and import them into a new Aperture library?  The reason that I'm asking this is that I know there are a lot of duplicates in my iPhoto library and I know that Aperture keeps only the original.  A couple of weeks ago I moved my iPhoto library onto an external LaCie SSD disk to use with my MacBook Pro but unfortunately corrupted that library and have to make the move again.  If there is any value in changing how I'm managing my library I should do it now.
    The library corruption was caused by me needing to leave for work and disconnecting the LaCie before Aperture was done sync'ing with my Flickr account.  When I tried to use Aperture the next day it was not able to repair/rebuild or use the iPhoto library at all.  I was unfortunately not backing up the external disk so I lost everything that I had done to clean up the library after the move.  One lesson that I learned was do not automatically sync with Flickr because doing this on an MBP via wireless with an external disk library can add a lot of delay to shutting down Aperture after an MBP wakeup.

    Just in case you have not come across these:
    Aperture 3.3: Using a unified photo library with iPhoto and Aperture
    Aperture 3.3: How to use Aperture to merge iPhoto libraries
    but I am wondering if there is any value (or even if it is possible) to export all of the iPhoto pictures and import them into a new Aperture library?
    You can - an it will depend on what you want to achieve, if that will usefull. The way to do this would be by imprting your iPhoto library into an Aperture library using Aperture. But Aperture libraries and iPhoto libraries are now interchangable - both are photo libraries, and you could simply use your iPhoto library in Aperture and be done now.
    Some reasons why you would want to turn your iPhoto library into a library recognized as Aperture library by importing it into a new, empty Aperture Library:
    As long as the photo library will have the "Kind: iPhoto library", you will have to upgrade both iPhoto and Aperture always to the newest versions, or you will not be able to upgrade to a new library format, when a new release of Aperture comes - say (iPhoto '12 and Aperture 4); you will probably have to buy both new releases to continue working with your iPhoto Library in Aperture.
    If the kind of your library is "Kind: iPhoto library", it will appear in the Media Browser in the iPhoto section, not in the Aperture section, even if you are using it as your Aperture library. And before syncing with iTunes you will always have to open the Aperture library in iPhoto to point iTunes to it.
    Also, in Aperture you have more control about what will be included in your library - In iPhoto there is no way to specify the size and quality of previews. If you do not want or need previews, or you want smaller previews, or no Faces, it would make sense to recreate your iPhoto library by importing it into a new, empty Aperture Library.
    If you have more than one iPhoto Library, you can merge them into one big Aperture library to be able to browse all your images without having to switch between libraries. Aperture works very well with really big libraries. There is no need to split libraries.
    The reason that I'm asking this is that I know there are a lot of duplicates in my iPhoto library and I know that Aperture keeps only the original.
    That is what I meant by having more control on what will be stored. iPhoto will always store a very high quality preview of your edited version; in Aperture you can decide what the preview size and quality will be. But Previews and originals are not duplicates; they are not the same image.
    Regards
    Léonie

  • Can I save a dng file from Photoshop6 to import back into Lightroom 4

    Can I save a dng file from Photoshop6 to import back into Lightroom 4. I don't understand why this is not straight forward.

    Hello!
    The DNG format's goal is to be an universal file formats for camera raw files: http://www.adobe.com/products/photoshop/extend.displayTab2.html?promoid=DTEHA
    You can save a DNG from camera raw without a problem.
    Just go the the bottom left hand corner of the interface, and select "save image".
    (as explained here in the help files: http://help.adobe.com/en_US/creativesuite/cs/using/WS91C1E0BD-9600-42b2-8EBE-1E012ED61058. html#WSB0DC278F-B3DF-4a60-88BC-B3D6A852C242 )
    Or are you trying to save an file edited in Photoshop as a DNG?
    For what purpose, exactly? A TIFF, PSD or PSB file can have a raw file, saved as a Smart Object (to allow later reprocessing in Camera Raw) and all the pixel/vector editing layers intact.
    If saved with maximize compatibility, it can be opened in Lightroom for cataloging, and editing, if needed.

Maybe you are looking for