Exporting a INDD file into a paginated xml file ?

What is a best way to export my indd publication with a automated pagination and all the other tags I need for the titles, subtitles, etc. ?
The goal is to upload the final file into a CMS, in order to generate paginated html pages with a CSS treatment for each tag.

MA:
1. "... all the other tags I need for the titles, subtitles" -- if you consistently used paragraph styles for these, you can use the "Map Styles to Tags" command in the XML panel dropdown menu. That is, create tags for all styles you need to transfer, then use this command to have InDesign automatically apply them to the correct styles.
If you did not use paragraph styles (or were not consistent), you will need to manually add a tag to each title. Still doable but way more work.
2. "pagination", as Mike already stated, is a slippery concept in XML. If you indeed want each original page surrounded by tags, you can try the SplitStory script in Scripts > Application > Javascript. Since every single text frame (not continuously threaded) can be assigned a tag, that may already be enough.
If you don't like the idea of messing up your document, you can inquire in the Scripting forum for a script that adds a tag around the text in the text frames you have right now. Not sure how (or if) that would work; but it sounds do-able.

Similar Messages

  • Feature Request // Book Module: Export as indd file and management

    Book Module: Export as indd file and management
    I would like to request a feature to export a book module as indd file. 
    I like PDF's but .indd is nice also so we are able to to more in depth layouts.
    Having Lightoom being able to manage all your pictures and book layouts would be nice, alot of things can be done in one application.
    Another Feature:  Using Lightoom as book layout management.
    Being able to send a page(s) of the book from lightroom into InDesign to do indepth layout and editing, then being able to send it back into lightroom
    Almost similar to how you can send a photo from LR in Photoshop to do indepth editing and then send it back into lightroom.
    This could and will ease the workflow of book management and layout design.  So lightroom will not only be able to manage photos, but also indesign and book layouts.
    http://forums.adobe.com/message/4238530#4238530

    Why do repeat it here, as you have already filed a feature request for it?
    BTW AFAIK this is already implemented: you can use Adobe Illustrator or InDesign or Opensource Scribus to edit layouts.
    They are just not ready to publish how - another sign of the quality processes at Adobe.
    But you do not send from the book module.
    You create upfront layout templates, which you can import for use inside LR book module.
    This is a one-way street.
    The book module designers did not acknowledge a use case where you might want to fiddle the exact placement of really chosen images.
    It is always you first design a template, then use it.
    Love it or leave it - *change it* is not an option that Adobe seems to give to their beta testers.
    Cornelia

  • How to export multiple indd files to individual PDF's?

    Is there a way without using scripting, to simply take, say 10 single indesign files (all just single 3.5x2 business card layouts) and export them to a pre-defined PDF preset resulting in 10 single PDF's? (other than one at a time?)
    I tried a few things from Acrobat 9 pro, one of them being File/export/export multiple files/  thinking that must be the ticket, but
    1) I can't find my pre-defined PDF preset in the "export to dropdown list" (but thats secondary, probably can add that in somehow, right?) and
    2) even when I just pick PDF/a or PDF/x it starts the process, then tries to open each indd doc but a message comes up saying it can't open the INDD  file(s) and nothing was processed.
    Can someone help me with this?
    Thank you.

    Macinbytes,
    Would you mind walking me through what you are doing?
    In your screen shot, that window looks like the preferences panel, in which you can set your PDF preset, correct?
    Here's what I have been trying.
    File/Create PDF/Batch Create Multiple files.
    Eventually, I get this window. (output options)
    Then when I hit OK, I get this error message saying the files cannot be opened.

  • Exporting an .indd file to PostScript

    Using the CS3 Server CORBA API, is there a way to export an InDesign file to PostScript? I see examples in the SDK snippets foloder to export to EPS and PDF, but not to PostScript.
    Thanks,
    Jennifer

    That is correct. Apparently, what I needed to do was "print" to a PostScript file. This behavior is consistent with the desktop version.

  • Exporting Indd file and losing transparency

    When I export an indd file to pdf, the transparency of the png image in the file is lost. Any idea what's causing this?

    Why are you using a PNG?!!!!!!!
    I mean you should use a different file type. PNG is terrible when you want to print the file. Use PDF or PSD instead.
    Except for apps I would recommend not to use PNG in any case in InDesign.

  • Indd file export to PNG with 150 ppi.

    Hello All,
    I want to export few indd files as PNG but with 150 DPI. I have the script for convert to PNG but I want to add PNG resolution in the script.
    Please advise.
    Regards
    Virender

    Here is the script but its not complete.
    var sourceFolder = new Folder ("/Users/admin4/Desktop/INS"),
    var destFolder = new Folder ("/Users/admin4/Desktop/folder3"),
    myFiles = sourceFolder.getFiles(/.indd$/),
    var sourceDoc, i, destFile, mPItems, mTarget;
    for (i=0; i < myFiles.length; i++)
         sourceDoc = app.open(myFiles[i]);
         if(sourceDoc) {
              mPItems = sourceDoc.spreads[0].pageItems.everyItem().getElements();
              switch (mPItems.length) {
                   case 0: alert("Empty file: " + sourceDoc.name); exit(0); break;
                   case 1: mTarget = sourceDoc.pageItems[0]; break;
                   default: mTarget = sourceDoc.groups.add(mPItems); break;
              mTarget.select();
              destFile = File(destFolder + "/" + sourceDoc.name + ".png");
              app.selection[0].exportFile(ExportFormat.PNG_FORMAT, destFile, false); 
         else alert("Can't open a file: " + sourceDoc.name);
         if(sourceDoc.spreads.length > 1)
              alert ("More than 1 spread in file: " + sourceDoc.name);
         sourceDoc.close(SaveOptions.NO);

  • RE: How to Export the Table data Into PDF File  in ADF

    Hi Experts,
    I am using Jdeveloper 11.1.2.3.0
    I am created employee VO and Drag and Drop as a Table in a page. So need to Export the Table data into A PDF file.
    So please give me some suggestions regarding this Scnerio.
    With Regards,
    satish

    Hi Guys ,
    Any more answers for this question.
    Please find my jsff below
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core" xmlns:report="http://www.adfwithejb.blogspot.com">
      <af:panelGroupLayout layout="vertical" id="pgl2">
          <af:query id="qryId1" headerText="Service Tariff Mapping Details" disclosed="true"
                    value="#{bindings.findByTarifValidFromQuery.queryDescriptor}"
                    model="#{bindings.findByTarifValidFromQuery.queryModel}"
                    queryListener="#{reportWiseInvoiceBean.genericQueryListener}"
                    queryOperationListener="#{bindings.findByTarifValidFromQuery.processQueryOperation}"
                    resultComponentId="pc1::t2">
         <f:attribute name="queryExpression" value="bindings.findByTarifValidFromQuery.processQuery"/>
                          </af:query>
        <af:panelCollection id="pc1" styleClass="AFStretchWidth">
          <f:facet name="menus"/>
          <f:facet name="toolbar">
              <af:toolbar id="t1">
                 <af:menuBar id="pt_m1">
                <report:reportDeclarative ButtonName="ExportToExcel" ReportName="ServiceTariffMappingDetails"
                                          ReportType="PDF" TableId=":::pc1:t2" id="rd1" Pagination="true"/>
                <af:commandButton text="excel" id="cb1" binding="#{exportToExcelBean.exportID}">
                <af:setActionListener from="pt1:pgl1:pgl2:pc1:t2" to="#{viewScope['exporter.exportedId']}"/>
                <af:setActionListener from="border:1px solid #cccccc" to="#{viewScope['exporter.thStyle']}"/>
                <af:setActionListener from="border:1px solid #cccccc" to="#{viewScope['exporter.tdStyle']}"/>
                <af:fileDownloadActionListener method="#{exportToExcelBean.exportToExcel}" filename="Service TariffMapping.xls"
                                                 contentType="text/excel;chatset=UTF-8;"/>
                </af:commandButton>
                <af:commandMenuItem id="pt_cmi133" icon="/images/common/Excel-icon.png"
                                                shortDesc="ExportToExcel"
                                >
                                <af:exportCollectionActionListener exportedId="t2" type="excelHTML"
                                                                   title="Service Tariff Mapping"
                                                                   filename="Service Tariff Mapping.xls"/>
                            </af:commandMenuItem></af:menuBar>
              </af:toolbar>
          </f:facet>
          <f:facet name="statusbar"/>
          <af:table value="#{bindings.ServiceTariffMappingDtlsRVO1.collectionModel}" var="row"
                    rows="#{bindings.ServiceTariffMappingDtlsRVO1.rangeSize}"
                    emptyText="#{bindings.ServiceTariffMappingDtlsRVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
                    fetchSize="#{bindings.ServiceTariffMappingDtlsRVO1.rangeSize}" rowBandingInterval="0"
                    filterModel="#{bindings.findByTarifValidFromQuery.queryDescriptor}"
                    queryListener="#{bindings.findByTarifValidFromQuery.processQuery}" filterVisible="true" varStatus="vs"
                    id="t2" columnStretching="last" binding="#{ServiceTariffMappBean.testTable}">
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NormalTariffCode.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NormalTariffCode.label}"
                       id="c1">
              <af:inputText value="#{row.bindings.NormalTariffCode.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NormalTariffCode.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NormalTariffCode.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NormalTariffCode.displayWidth}"
                            maximumLength="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NormalTariffCode.precision}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NormalTariffCode.tooltip}" id="it1">
                <f:validator binding="#{row.bindings.NormalTariffCode.validator}"/>
              </af:inputText>
            </af:column>
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceCode.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceCode.label}"
                       id="c2">
              <af:inputText value="#{row.bindings.ServiceCode.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceCode.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceCode.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceCode.displayWidth}"
                            maximumLength="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceCode.precision}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceCode.tooltip}" id="it2">
                <f:validator binding="#{row.bindings.ServiceCode.validator}"/>
              </af:inputText>
            </af:column>
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfVldFrm.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfVldFrm.label}" id="c3">
              <f:facet name="filter">
                <af:inputDate value="#{vs.filterCriteria.TrfVldFrm}" id="id1">
                  <af:convertDateTime pattern="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfVldFrm.format}"/>
                </af:inputDate>
              </f:facet>
              <af:inputDate value="#{row.bindings.TrfVldFrm.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfVldFrm.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfVldFrm.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfVldFrm.displayWidth}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfVldFrm.tooltip}" id="id2">
                <f:validator binding="#{row.bindings.TrfVldFrm.validator}"/>
                <af:convertDateTime pattern="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfVldFrm.format}"/>
              </af:inputDate>
            </af:column>
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceDesc.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceDesc.label}"
                       id="c4">
              <af:inputText value="#{row.bindings.ServiceDesc.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceDesc.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceDesc.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceDesc.displayWidth}"
                            maximumLength="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceDesc.precision}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ServiceDesc.tooltip}" id="it3">
                <f:validator binding="#{row.bindings.ServiceDesc.validator}"/>
              </af:inputText>
            </af:column>
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtTrfCode.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtTrfCode.label}" id="c5">
              <af:inputText value="#{row.bindings.OtTrfCode.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtTrfCode.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtTrfCode.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtTrfCode.displayWidth}"
                            maximumLength="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtTrfCode.precision}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtTrfCode.tooltip}" id="it4">
                <f:validator binding="#{row.bindings.OtTrfCode.validator}"/>
              </af:inputText>
            </af:column>
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtUnitRate.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtUnitRate.label}" id="c6">
              <af:inputText value="#{row.bindings.OtUnitRate.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtUnitRate.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtUnitRate.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtUnitRate.displayWidth}"
                            maximumLength="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtUnitRate.precision}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.OtUnitRate.tooltip}" id="it5">
                <f:validator binding="#{row.bindings.OtUnitRate.validator}"/>
              </af:inputText>
            </af:column>
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NtUnitRate.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NtUnitRate.label}" id="c7">
              <af:inputText value="#{row.bindings.NtUnitRate.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NtUnitRate.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NtUnitRate.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NtUnitRate.displayWidth}"
                            maximumLength="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NtUnitRate.precision}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.NtUnitRate.tooltip}" id="it6">
                <f:validator binding="#{row.bindings.NtUnitRate.validator}"/>
              </af:inputText>
            </af:column>
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfGrt.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfGrt.label}" id="c8">
              <af:inputText value="#{row.bindings.TrfGrt.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfGrt.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfGrt.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfGrt.displayWidth}"
                            maximumLength="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfGrt.precision}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.TrfGrt.tooltip}" id="it7">
                <f:validator binding="#{row.bindings.TrfGrt.validator}"/>
              </af:inputText>
            </af:column>
            <af:column sortProperty="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ChargePartyCode.name}" filterable="true"
                       sortable="true" headerText="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ChargePartyCode.label}"
                       id="c9">
              <af:inputText value="#{row.bindings.ChargePartyCode.inputValue}"
                            label="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ChargePartyCode.label}"
                            required="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ChargePartyCode.mandatory}"
                            columns="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ChargePartyCode.displayWidth}"
                            maximumLength="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ChargePartyCode.precision}"
                            shortDesc="#{bindings.ServiceTariffMappingDtlsRVO1.hints.ChargePartyCode.tooltip}" id="it8">
                <f:validator binding="#{row.bindings.ChargePartyCode.validator}"/>
              </af:inputText>
            </af:column>
          </af:table>
        </af:panelCollection>
      </af:panelGroupLayout>
    </jsp:root>

  • Export indd file to Snippets [VBS]

    Hello all i'm trying to modify an existing script that Exports indd files to pdf's. it goes through all the indd file and createsa pdf one page at a time and workds fine. However in converting it to do the same but convert to Snippet files  i'm having problems with the "idExportFormat.idInDesignSnippet" class and memebers  when i try somthing like
    myFilePath = myFolderName & "\" & myPageName & "_" & myBaseName & ".inds"
    myDocument.Export idExportFormat.idInDesignSnippet, myFilePath, False
    I get an "The Specified object to does support the desired export format." error # 25398
    if i remove the  ",myflePath, False" then i get a "Missing required parameter 'To' for export event".
    The really anying this is if i change that to a
    myFilePath = myFolderName & "\" & myPageName & "_" & myBaseName & ".xml"
    myDocument.Export idExportFormat.idXML, myFilePath, False
    it works fine..
    So there is somthing missing for the snippet export.

    I've broken the problem down and started as small as possible.
    To do the same thing but to export each page as a jpg's i can use the following script
    Set myInDesign = CreateObject("InDesign.Application.CS3")
    myFile = "c:\myTestFile.jpg"
    myInDesign.ActiveDocument.Export idExportFormat.idJpg, myFile, False
    If i change that round a abit to customize it to export as inds snippets i would get
    Set myInDesign = CreateObject("InDesign.Application.CS3")
    myFile = "c:\myTestFile.inds"
    myInDesign.ActiveDocument.Export idExportFormat.idInDesignSnippet, myFile, False
    This produces the following error " The specified object does not support the desired export format"  - Line 3
    This is because the object i am speifiying is "ActiveDocument" which when selected (manually) cannot be exported as a Snippet.
    What I need to do is cycle trough my pages selecting Texframes of which they are multiple on each page and export them as Snippets.
    Can anyone help please?

  • Trying to convert a INDD doc into HTML/XML for Dreamweaver

    I have a CS3 IN doc...16.9 MB with READ and WRITE permissions. I have 60GB of disk available. When I try to CROSS-MEDIA EXPORT...it errors into:
    Exporting "myfilename.indd" as XHTML Failed.
    Couldn' create file "". There might not be sufficient space available or you man not have permission to create files in this location.
    HELP!
    Thanks, --bill

    I am talking about the location TO which you are saving when it comes to space available and permissions. You should be able to see where it is when chosing save or export, And free harddiskspace on the main disk you are working from. Is the destination on a server?

  • How can i convert a .indd file into pdf

    please help on this
    How can i convert .indd file to pdf file using .net c#
    please share some code sample for a better help

    Hi there,
    There's actually an easy streamlined way to do this using Acrobat.com. Here are the steps:
    1. Log in to Acrobat.com with your Adobe ID.
    2. On the left, you'll see a navigation menu that includes the item "Import and Edit". Click that.
    3. Choose the .doc (Word) file you want to convert and upload it to Buzzword.
    4. After making sure that it looks the way you want it to, go to the top menu (still in Buzzword now, not the organizer where all your files live) and click the document menu. There will be an option to "Export" - choose that.
    5. When prompted to select filetype, choose "Adobe PDF" and press OK.
    6. It'll save to your desktop, so now you have to get it into your acrobat.com organizer. To do that, close the Buzzword document by clicking the little "x" in the upper right corner, under the Sign Out button. This'll get you back to your organizer, where you can choose "Import" from the left nav menu again. This time choose your new PDF file.
    7. Select the  file icon in the organizer and click the Share button. Or, select Share  from the file context menu.
    8. Select Allow Anyone With A  Link To Share This Document to set the document to open access, and then  click Copy Embed Code. The necessary HTML code to embed the preview is  copied onto the clipboard.
    9. Open the HTML file and paste  the code into the file. The Flash previewer can display any file type  that you can convert to PDF.
    Hope this helps! Good luck, and let us know how it works out.
    Rebecca

  • When I export a AAF file from Protools 9 and Import the file into Logic ProX the drum track is out of sync.  I created the drum loop using NI Maschine.  Has anyone else seem this??

    When I export an AAF file/project from Protools 9 using an external drive and import the AAF into Logice Pro X the drum track does not play correctly.  It is out of sync with the rest of the track.  I created the drum loop as a plugin using Native Instruments Maschine. Has anyone else had this problem??  Also how would I go about exporting the midi tracks from the Protools session.  The midi track does not show when the file is imported to Logic Pro X.  The midi data should export with the AAF file correct??

    Are you using any plugins in Logic?
    In Preferences/Audio  under the General tab, how do you have the plug-in-latency compensation set?

  • How do I export a .doc file to my online adobe account into a .pdf file?

    How do I export a .doc file to my online adobe account into a .pdf file?

    Hi tennisknight,
    The online Adobe account you are referring to, is it Acrobat.com cloud?
    You need to purchase a subscription for PDF Pack and then sign in to : https://cloud.acrobat.com/
    Select the files saved in 'Acrobat.com' and then click on the 'Create pdf' tab to convert the selected doc files to pdf.
    Alternatively you can download the .doc file from the online account and use Adobe Acrobat to convert it to pdf.
    Regards,
    Rave

  • Import/export data from ms sql 7 to xml file in a particular xpdl format

    I'm trying to write java program to import/export data from ms sql 7 to xml file in a particular xpdl format. Can anyone suggest how to do it?

    take a glance at what these guys do: http://www.openbusinessengine.org/docs/guide.html

  • Hi, extract data from xml file and insert into another exiting xml file

    i am searching code to extract data from xml file and insert into another exiting xml file by a java program. I understood it is easy to extract data from a xml file, and how ever without creating another xml file. We want to insert the extracted data into another exiting xml file. Suggestions?
    1st xml file which has two lines(text1.xml)
    <?xml version="1.0" encoding="iso-8859-1"?>
    <xs:PrintDataRequest xmlns:xs="http://com.unisys.com/Anid"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://com.unisys.com/Anid file:ANIDWS.xsd">
    <xs:Person>
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://com.unisys.com/Anid file:ANIDWS.xsd">
    These two lines has to be inserted in the existing another xml(text 2.xml) file(at line 3 and 4)
    Regards,
    bubbly

    Jadz_Core wrote:
    RandomAccessFile? If you know where you want to insert it.Are you sure about this? If using this, the receiving file would have to have bytes inserted that exactly match the number of bytes replaced. I'm thinking that you'll likely have to stream through the second XML with a SAX parser and copy information (or insert new information) as you stream with an XML writer of some sort.

  • Extract data from xml file and insert into another exiting xml fil

    hello,
    i am searching extract data from xml file and insert into another exiting xml file by a java program. I understood it is easy to extract data from a xml file, and how ever without creating another xml file. We want to insert the extracted data into another exiting xml file. Suggestions?
    Regards,
    Zhuozhi

    If the files are small, you can load the target file in a DOM document, insert the data from the source file and persist the DOM.
    If the files are large, you probably want to use a StAX or SAX.

Maybe you are looking for

  • Why does every site, even Mozilla's, detect my Firefox as an old version when I have the up to date version?

    My Firefox is updated, I have the 7.0.1. version, when I open Tools and click about Firefox it shows me just that, the 7.0.1. version. But every time I navigate to a website that offers download for it, I get the message I need to update. Even here,

  • Do while loop problem

    I have a problem with do while loop. I am displaying a dialogue box where a person should enter the type of quiz he had performed. The problem is that the user should enter only the following 3 words, either "Earthquakes" or "Place" or "Animals". If

  • TS3274 I have an iPad 2 that was dropped and the glass broke.

    I have an iPad 2 that was dropped and the glass broke around Christmas break.  I took it to a local computer repair company and they changed the glass.  However, ever since that time I have had some problems with the wifi.  I do not have the range I

  • Error  in compiling

    Hi, I have this java compiled class, and I am importing from a .jsp. But when i run it in Blazix Web Server, i get this: Error(s) in compiling C:\Blazix\webfiles\1\J.jsp C:\Blazix\jspdir\1\J_jsp.java:6: '.' expected import Clock2; ^ 1 error i declare

  • Windows 2012 Server multinode failover cluster (6 nodes)

    Dear All, We are facing problem of Huge time takes for cluster validation test on IBM Blade Server with Storage. The details are given below.  Escalated with IBM OEM, confirmed that "there is no hardware issue with Server and storage, Please take sup