Indesign document convert to .xml file

could anyone help me. i want to convert to indesign document to .xml file. i want to save all indesign document page into separate page . if i have 10
page i want to save like 1.xml to 10.xml.

What are you trying to achieve specifically. Did you look into IDML to see if suits your needs?
Manan Joshi
  - Efficient InDesign Solutions -
MetaDesign Solutions
http://metadesignsolutions.com/services/indesign-development.php

Similar Messages

  • Converting Document object into XML file

    I was wondering how to convert a document object to XML file? I have read the documentation about document and Node but nothing explains the procedure of the conversion. Ive been told that it can be done, but not sure how. I have converted an XML file into Document by parsing DocumentBuilder. Just not sure how to do the reverse. Any help appreciated.

    TransformerFactory tf = TransformerFactory.newInstance();
    Transformer trans = tf.newTransformer();
    trans.transform(new DOMSource(yourDOMsRootNode), new StreamResult(new FileOutputStream(yourFileName)));or something a lot like that.

  • Steps in converting a xml file with an rtf template to a pdf

    Hey all,
    What are the steps in converting a xml file with an rtf template to a pdf using XML Publisher from command line.
    Thanks
    Ravi

    I don't have any code to do exactly what you wish, but it shouldn't be too difficult and http://www.dadhi.com/2007/06/generate-and-store-pdf-file-in-same.html is a good starting point.
    Paul

  • Does anyone know how to convert an XML file to a readable file?

    All,
    I have been using an APP called "SMS Backup & Restore" to backup my message conversations to my Laptop PC.  It works fine BUT the backup file, once in my PC, has an XML extent such as "filename.XML"
    I would like to read and/or print and/or save the text message file so does anyone know how to convert the XML file to something else so it shows all the messages without all the formatting instructions.   
    When I try to see the XML file it shows all the formatting.  If I replace the .XML with .TXT that too shows all the formatting mixed in with the text message narrative.
    When I look at the XML file in SMS Backup & Restore in the Charge phone it looks great showing all the messages just as they were on the phones display.  The problem with this is that there is no way to print or read or save the messages as they appear in the file from the phone itself.  I tried screen capture but if you have, let's say, a 28 message conversation you have to do 7 or 8 screen captures to get them all.
    If only I could convert the XML in my PC to something that is printable or savable or readable that would be the "cats meow."
    Anyone know how???
    JerryF
    PS, You might take a look at my related post.
    https://community.verizonwireless.com/message/809832#809832

    Ann154,
    You were correct again.  I deleted everything I had done to date and re-did the entire SMS backup of my 28 message conversation again and YES I was able to open it using IE-8.  It looks great and it prints great and life is good!  I am going to go make a donation.
    Thanks again for the help.  I marked this thread as answered by you.
    JerryF

  • Is there a way to find and replace prices in an Indesign document from a CSV file?

    Is there a way to find and replace prices in an Indesign document from a CSV file. Currenty I have a catalog with codes and prices in tables. I need to find a way to look up the code (and new price) in the CSV file and overwrite the price in the current table with the new price. Does anyone know of a script to run this quickly?

    Hi,
    Try this
    1) with all the images showing, got to Find -> By caption or Note
    2) enter the caption you are looking for Image Description and click on OK
    It should display all the ones with that caption
    3) select a few images as a test
    4) go to Edit -> Add caption to selected items
    5) if you want to blank out the captions just check the box to replace the caption and click on ok
    6) You will need to confirm the blank captions
    You could use a similar procedure to change the caption to something else.
    Good luck
    Brian

  • HOW TO CONVERT A XML FILE TO HTML FILE FORMAT IN WINDOWS APPLICATION

    Hi iam a fresher iam working on a project in that i should convert the data in xml file to html file. I dont have any idea regarding this can anyone help me how to convert the xml file to a html file format. I just written the code till how to read the xml
    file. Now i stucked how to write the code for converting to html format.
    Thanks and Regards,
    Dileep.

    Hi iam a fresher iam working on a project in that i should convert the data in xml file to html file. I dont have any idea regarding this can anyone help me how to convert the xml file to a html file format. I just written the code till how to read the xml
    file. Now i stucked how to write the code for converting to html format.
    Thanks and Regards,
    Dileep.
    Hello,
    For converting xml file to html, we could refer to the way shared in the following thread which uses an XSLT stylesheet to transform the XML into another format using the
    XslTransform class.
    http://www.codeproject.com/Articles/12047/How-to-Convert-XML-Files-to-HTML
    Regards.
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can't convert stack XML file using report RPT_MOPZ_COPY_STACK for upgrade

    Hello Colleagues/ SAP Experts,
    Here is a background. 2 weeks ago, we have generated an XML stack file using MOPZ in solman 7.1 for the following systems (P6D which is DEV,
    P6Q which is quality, P6R which is regression and P1P which is production). We were at our technical cutover rehearsal phase and the system that we were rehearsing was P6R. But AFTER our technical cutover, a new java component, which is seeburger as2 adapter, was installed in P1P, PRODUCTION. Thus, the landscape  of P1P has changed as a new component was introduced and we believe that the generated XML file 2 weeks ago will no longer be valid for P1P. Instead of generating another xml file thru mopz for P1P, we would like to use report RPT_MOPZ_COPY_STACK_XML to convert the XML file OF P6R to map it toP1P.  I have uploaded P6R XML and the target is P1P. So as you can see, P6R XML (source) --> P1P target.
    Actions already done are the following:
    1) Fulfilled and followed the resolution in note: 1711612
    RPT_MOPZ_COPY_STACK_XML Report Troubleshooting
    2) SAP-OSS is working in SM59
    Basically, program RPT_MOPZ_COPY_STACK does not convert the Regression system's xml to the target, which is production. Kindly see attached screenshot. *the screenshot shows only 1 component in error but upon clicking the 'next difference' button, it will still show other components. I have checked my lmdb settings, will there be workaround for the issue?
    Regards,
    Meinard

    Hello Divyanshu Srivastava / Reagan Benjamin ,
    Thank you  for your replies. Yes I noticed that a new higher patch for one java component was already present when I have regenerated recently for production using mopz. Anyways, SAP has returned a message wherein they edited the xml file themselves. Most of errors were eliminated only error was kernel versions was not matched. We need to upgrade kernel of our production and test if it works. Hopefully it will. Thanks though at first we did not edit the xml as according to one sap note I read it will not be supported by SAP. Closing this thread now

  • HT1660 My "itunes library" folder is empty.  My libray music (prior to upgrading itunes) is now in an .xml file in my itunes location under my music.  How do I extract/convert this .xml file to a Itunes database and restore my Itunes music library??? Than

    My "itunes library" folder is empty.  My libray music (prior to upgrading itunes) is now in an .xml file in my itunes location under my music.  How do I extract/convert this .xml file to a Itunes database and restore my Itunes music library??? Thanks, Tom

    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • Can't open numbers documents, says index.xml file is missing?

    can't open numbers documents, says index.xml file is missing

    I came across this problem after upgrading to Mavericks.  Here's what I did to solve the problem:
    Issue:  I began working on an existing spreadsheet.  After I saved it and tried to pull it up again later, I got the message "index.xml file is missing...".
    Go to your dock and delete the icon for Numbers (mine still referred to the previous version of Numbers). 
    Go to Applications and drag the Numbers icon to the dock.  This icon now links to the new version of Numbers and  (hopefully)  your spreadsheet should work.

  • Converting an XML file to a DAT pipe delimited file

    Hi 
    I'm trying to create an SSIS Package which converts an XML file into a dat file which is pipe delimited.
    I want the package to be generic so that once that minimal modification is needed when using for different files.
    I've so far had no luck with this and need some help/assistance.
    All help fully appreciated.
    Thank you 
    Umar Javed

    The XML file can vary from fixed to variable.
    for Fixed, i've done the same thing as you've suggested and parametrized the flat file connection manager.
    For The XML source is there any way we can parametrize the location of the XML or XSD files?
    For Variable, unfortunately due to restrictions we can not create an intermediate table and then export.
    is there any other way?
    Thanks
    Umar Javed
    XSD path can be made dynamic as below
    http://picnicerror.net/development/sql-server/define-xsd-file-for-ssis-xml-source-using-expression-2012-04-21/
    For variable you can even add them to configurations and then pass them from a file using xml configuration option.
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to convert from xml file to html using java code

    How to convert from xml file to html file using java code

    Get yourself Apache Xalan or Saxon or some XSLT processor
    String styleSheet = "/YourXSLTStylesheet.xsl";
    String dataSource = "/YourXMLDocument.xml";
    InputStream stylesheetSource = TransformMe.class.getResourceAsStream(styleSheet);
    InputStream dataSourceStream = TransformMe.class.getResourceAsStream(dataSource);
    OutputStream transformedOut = new FileOutputStream("filename.html");
    TransformerFactory tFactory = TransformerFactory.newInstance();
    Transformer transformer = tFactory.newTransformer(new StreamSource(stylesheetSource));
    transformer.transform(new StreamSource(dataSourceStream), new StreamResult(transformedOut));You'll also need to learn XSLT if you don't already know that. Here's a good place to start
    http://www.w3schools.com/xsl/

  • Converting Dom Document object into XML file removes the DTD

    Hi All
    My xml is dtd. I have one xml file. i changed the node value after that i want to create a xml file with the same name. I created new xml file but i am not seeing the old dtd in the new file. This process is done with the help of jaxp.
    My code is given below
    File fileInput = new File("input.xml");
              File fileOutput = new File("output.xml");
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
              factory.setExpandEntityReferences(false);
              DocumentBuilder builder = factory.newDocumentBuilder();
              Document document = builder.parse(fileInput);
              TransformerFactory tFactory = TransformerFactory.newInstance();
              Transformer transformer = tFactory.newTransformer();
    transformer.setOutputProperty(javax.xml.transform.OutputKeys.INDENT, "true");
              transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
              DOMSource source = new DOMSource(document);
              FileOutputStream fos = new FileOutputStream(fileOutput);
              StreamResult result = new StreamResult(fos);
              transformer.transform(source, result);
    Thanks in advance

    The Transformer API does not guarantee the preservation of that information. You may want to check the DOM L3 Load/Save package (http://java.sun.com/javase/6/docs/api/index.html). Alternatively, you may force things by setting the additional output properties 'doctype-public' and 'doctype-system'.

  • Automate the process of saving Framemaker documents (*.fm) as Xml Files

    Hi,
    I am new to framemaker. We have a list of Framemaker document files (*.fm files) coming  into a folder.  We need to pick up these files and convert to xml format (same as the saveAs opertion from the File menu).
    I have written the follwing function to Save fm files to xml
    Code to Save fm files to xml files
    function saveAsXml (doc) {
       // Get required parameters for the save function.
        var params = GetSaveDefaultParams();
        var returnParamsp = new PropVals();
        // Replace the .fm extension with .mif.
        var saveName = doc.Name.replace (/\.[^\.\\]+$/,".xml");
        var i = GetPropIndex(params, Constants.FS_FileType);
        params[i].propVal.ival = Constants.FV_SaveFmtXml;
        // Save the document as XML.
        doc.Save(saveName, params, returnParamsp);
    How to automate this process so that code checks -
    1) New fm files in the folder
    2) Saves the fm file as xml
    3) Moves the saved fm file to a different folder
    Thanks,
    GC
    [Message moved to Scripting Forum by moderator]

    Have a look at the sample script below. The "while" loop waits for the specified number of milliseconds, then reads the contents of a directory and processes every individual file in the directory. In my example, it just prints the file path to the console. You would replace this part with your Open / Save as / Move sequence.
    For more file system commands, refer to Adobe's Javascript Tools Guide, "File object functions".
    var stop = false;
    while( stop==false ) {
        // Wait for 20.000 ms
        $.sleep(20000);
        var fld = new Folder("c:/incoming");
        var filesInFld = fld.getFiles("*.fm");
        for(var f=0; f < filesInFld.length; f++) {
            // process the individual file
            $.writeln(filesInFld[f]);
        // Exit the  loop after 19:00
        var time = new Date();
        if( time.getHours() > 19 ) stop = true;

  • Convert Arbortext XML files to RoboHelp

    We are converting XML files from Arbortext to RoboHelp. Does anyone know how to conver the files? We would like to import or convert the files and remove the XML code Arbortext automatically adds to the files.
    Thanks! Sandy

    Are you talking about the XML comment Arbortext puts into the top of the document or the Processing Instructions?
    If the first, Arbortext does insert an XML Comment at the top of the file. XML Comments do not affect the XML content and this should not affect your processing. For example, if you import DITA files created in Arbortext into TCS 4 or 5, they open and process just fine. I've had no problems importing Arbortext XML into TCS4 and exporting files via RoboHelp.
    If you're talking about the processing instructions, they are unnecessary to retain and very easy to remove via a setting in Tools Preferences. The instructions to turn off Processing Instructions are here: http://blog.single-sourcing.com/2010/08/pesky-pis/

  • Packaging an InDesign document with Placed Illustrator Files which contain PLACED GRAPHICS!

    I've got an InDesign document 215 pages long.  Each page contains a placed Illustrator document... and each Illustrator document contains a placed TIFF.
    When I package the InDesign Document the Illustrator files are gathered into the new location, but InDesign does not gather the TIFFs.  I need to get this material to the book designer, but relinking 215 pages is going to be a very risky and time consuming process--one that will have to be done OVER and OVER again as the project moves from one location to another.  Can anyone recommend a solution?  Why doesn't InDesign look for nested files?
    Does anybody understand what I'm talking about?
    --Jay

    The reason behind link (.psd in layers) means in the future it can be edited.
    If the person receiving to package needs to edit the layers of a PSD placed in an Illustrator file, then yes you would have to manually include the layered PSDs. But if it's just a matter of ensuring full res and color managed output downstream then saving as PDF does that and preserves the links to layered files locally. So if I save as PDF trash a link and reopen the PDF in Illustrator it will look for the link:
    If you save as .ai with the links embedded, the users downstream would be able to unembed and edit a flattened version of the placed art.

Maybe you are looking for