InDesign & XML output

Hi everyone, I'm fairly new to xml for indesign and I have read a number of sources, trying to wrap my head around it. I had a few questions and despite a thorough search, I couldn't find the answers I desperately sought. In any case I hope someone could give an overview.

Location:
My studio is producing a promotional mailing, and it must be customized by a database of names (say a minimum of 1000). I figured out how to create a master and tags elements so that when the xml file is imported tags are filled with the right information.


Here's my dilemma, my indesign understanding does not create new pages based on the template for each of the groups of recurring elements. So what I've done, create a document of several pages using my model for new groups the same tags are created and filled with new information.


Now for a short term would be nice, but this project requires a minimum run of 1000 pieces. Based on what I've done so far, which will cause havoc, creating a document that large. My Creative Director, however, insists that there is a way to automate the printing of each unique piece (we do this internal) of a single model without creating new pages. Basically, having a model unique space reserved, printing and waiting for indesign to access info from xml to print each separate room. I did a lot of research and I have yet to find any evidence of such a flow of existing work.


Can someone provide clarification on this issue and what would be my best course of action to achieve the objectives of this project please? Thank you all!

I think that your Creative Director is wrong, at least to the extent where it is possible so that InDesign can create a single page and add variable data in the print stream. However, there are of many printers of commercial quality with variable data capabilities, with the software OK you could feed once the file ID and the database and the POS software would add the variable information during the print cycle and make as many copies customized according to the needs.

Tags: InDesign

Similar Questions

  • IBY_FD_PAYMENT_FORMAT_TEXT xml output

    Hello

    IBY_FD_PAYMENT_FORMAT_TEXT used to always save the XML output, generally as follows:

    ....

    No extract has been created beforehand. Create extract. Timestamp: Wed Mar 05 12:42:20 WST 2014

    Size of the product extract - doc::590376

    After create extract, extract is not null.

    Check-in first 1 MB of generated excerpt below:

    ==================

    <? XML version = "1.0" encoding = "UTF-8"? > < OutboundPaymentInstruction...

    After application of a number of CPP (17167654 & 17176017), the XML is no longer registered in the log file.  The log looks like:

    ...

    No extract has been created beforehand. Create extract. Timestamp: Kills Mar 04 15:59:21 WST 2014

    Size of the product extract - doc::23158

    After create extract, extract is not null.

    Start formatting. Timestamp: Kills Mar 04 15:59:25 WST 2014

    Before formatting: Timestamp: kills Mar 04 15:59:25 WST 2014

    Model type: ETEXT

    ...

    Anyone would offer any suggestion as to how restore us this connected XML functionality?

    Thank you

    Hello

    This change was due to a fix implemented in bug 11828195. They have limited xml extracts to be included in the payment format logs instructions when FND 'Statement' debug level is ONE, then the section of code that primts the xml extracted for the log file is included when the FDFormatProgramUtils.java file is version 120.35.12010000.34 or 12.0.x, version 120.30.12000000.39 and more.

    You can still see, but you will need to turn on statement-level debugging.

    Cheryl

  • Adding namespace to the XML output

    Hello

    I have a requirement to generate an XML document for the columns in the table. I use DBMS_XMLgen.getXML inside my procedure to get the XML document.

    The result I get after my procedure is:

    <? XML version = "1.0"? >
    < EMP >
    < EMPLOYEE_NO > 000017 < / EMPLOYEE_NO >
    ASSETS of < EMPLOYEE_STATUS > < / EMPLOYEE_STATUS >
    Mini < NAME_LAST > < / NAME_LAST >
    < NAME_FIRST / >
    < / EMP >

    But I also need to prefix and uri of namespace in the xml output. Is it possible to add the prefix and namespace uri to the xml output.

    So what I need, is something like below one:

    <? XML version = "1.0"? >
    < xs:EMP > xmlns: out = "http://xmlns:out="http:/example.org/ver1.0/ThisISTest#">
    < xs:EMPLOYEE_NO > 000017 < / xs:EMPLOYEE_NO >
    ACTIVE < xs:EMPLOYEE_STATUS > < / xs:EMPLOYEE_STATUS >
    Mini < xs:NAME_LAST > < / xs:NAME_LAST >
    < xs:NAME_FIRST / >
    < / xs:EMP >


    Any solutions or examples of code on it would be a great help.

    Thanks in advance.

    Strange...

    OK, back to the basics:

    What is your version of db (all four digits please)?

    The following gives the expected result?

    select xmltype('
    
    000017
    ACTIVE
    Mini
    
    ').transform(
     xmltype(
    '
    
    
    
    
    
    
    '
     )
    ).getClobVal()
    from dual;
    
  • FTP XML output

    EBS 11.5.10.2
    XMLP 5.6.3

    Hi all

    I have a situation where I need to FTP the definition of data model XML output to a remote site. (There is no model site)

    I would have used bursting to do this, but the burst XML is not supported. What I came up with is rather: in my trigger after report, I use fnd_request.submit_request to submit a simultaneous 'child' program that calls a script host at the exit of the concurrent parent of ftp program.
    (I also have a history table when I connect a key to each row of data sent via ftp, so I don't ftp a line twice).

    It appeared large worked until I decided to use fnd_concurrent.wait_for_request to make my program for parents to wait my ftp program for.
    My intention was to remove lines from the history table when the children ftp program ends normally, so that the next time that my parent program is running, it would be "try again" on these same lines.

    What REALLY happened after that I put in the wait_for_request, it is that child ftp program would always download a file of 0 bytes. I think that what happened was that, given that this logic is to relax after report, my XDODTEXE file had not yet finished running, so he didn't rinse out memory data in the output file.

    SO my question is:
    Is there someone out there who has something like this work?

    Right now my options are:
    (1) find a place that I can use wait_for_request that happens AFTER XDODTEXE is finished.
    (2) find a way to get XDODTEXE to purge there output buffer
    (3) not to use XML Publisher (I decided to try XMLP because the implementation of the def of data was so easy)

    Any ideas?

    Steve

    Your script host will have apps user and password name and request_id passed as parameters, then it can go through the files to call the FTP script, then call SQL * more using apps name of user and password for update history table as appropriate (to identify the name of file/request_id line).

    Kind regards
    Gareth

  • How to hide a column in a RTF based XML output

    I have a XML output that has a column called STATE of a "REJECTED" or "PROCESSED"

    I have another column called REJECT_DESC. This is null when the State is PROCESSED and it fits the description of rejection if the status of this line is REJECTED.

    In a RTF I want to show if the value of REJECT_DESC if the line has a status of "REJECTED".

    How can I show only this column when she is rejected?

    I have the group by the State, so the report separates the lines... but how to hide the column? I don't want a column null

    Thank you

    I think that the STATUS will be same in the XML data, and you have two lines in your table. A line for all the column headings and another line for repeating group for these column values. So you can simply keep,

    Reject the Description //row1 the title of column
    row2 column values

  • Value XML output

    I'm not so familiar with XML output and can manage the outputs of the base, but has problems with the child.

    I want the void of great photo width and height value. How?

    Thanks in advance.

    Cool. Thank you.

    myItems . Picture.Large.XmlAttributes.Height

  • The results in the debugger do not correspond with the result in the xml output is spent OPA


    Hello

    I use the OPM Version 10.4.6. I am facing a problem where I have a result field which is calculated by OPM in session of the debugger gives the correct result. While the same field has a different value in the output xml file passed from OPA to another system. Please give some advice on above question.

    Kind regards

    Mounia

    Sorry, I did not respond earlier. Do you have a support call opened in this regard, otherwise there is someone who has a very similar problem.

    I answered internally on this and the problem seems to be that of mathematical accuracy and very low values, which are then compared with zero. The debugger uses a .net implementation that can give slightly different numerical values at the extremes. I think that your rules would benefit from a degree of rounding applied before you test for equality with anything. Note the type of value that I've seen is 4-16

    I have provided more information to Schneider, who also provided a (Simplified) modules and some sample data.

    The debugger uses essentially the same engine of determinations and in general, you will see exactly the same result except that you've discovered to some extremely small numbers. In your case even if the value is 4-16 in the debugger and 0 in the API (or vice versa) the effect that has on the logic is that a single value is zero, so that the other does not which translates an extra 1000 added and results of 1000 and 2000 respectively.

    Concerning

    Ian

  • Report XML output problem

    Hello
    I am trying to execute the XML (work order print report eAM) report this report had parameters (name work order / on behalf of the work order) that allow me to run more State control work.
    but when I chose for example parameters
    Parameters: Name (UF1) work order / / / name of the order (UF5) work
    It must be good work 5 printing

    but problem is work order 1 print output only when I use the XML model alone, even if it must print 5 work as input parameters but the models show that 1 out of work order ...

    If I remove the template and change the output format of text report output run successfully.

    Thank you

    Thanks Farhan. problem solved by added repeating group.

  • Querying XML output

    Hi people,

    I have a SOAP output stored in the sample table in columns of type CLOB, RESP as XMLTYPE

    SQL > desc TEST_CLOB

    Name Type Nullable default comments

    ----- ------- -------- ------- --------

    TCLOB CLOB Y

    THE XMLTYPE XML Y

    Output XML looks like:

    "< xmlns:soap: envelope soap = 'http://schemas.xmlsoap.org/soap/envelope/' > '.

    < soap: Body >

    < checkVatResponse xmlns = "urn:ec.europa.eu:taxud:vies:services:checkVat:types" >

    < countryCode > CZ < / countryCode >

    < > 123456789 vatNumber < / vatNumber >

    < requestDate > 2013-11-08 + 01:00 < / requestDate >

    < valid > true < / valid >

    < name > Omacka, s.r.o. < / name >

    Brno < address > < / address >

    < / checkVatResponse >

    < / soap: Body >

    < / envelope soap: >

    I would like to ask for field < invalid > :

    Select x.*

    of TEST_CLOB t

    XMLTABLE (xmlnamespaces)

    "http://schemas.xmlsoap.org/soap/envelope/" as "SOAP."

    , 'urn:ec.europa.eu:taxud:vies:services:checkVat:types' as 'xx '.

    )

    ,'/: soap envelope / soap: Body / xx:checkVatResponse'

    PASSAGE t.txml

    COLUMNS

    VARCHAR2 (100) valid "valid" PATH) x

    So far, a null result returned.

    Please suggest what to change.

    Kind regards

    Tomas

    The element belongs to the namespace 'xx' as well, so:

    valid varchar2 (100) PATH ' xx: valid '

    NB: you can also declare a namespace by default so that you don't have to precede these elements.

  • XML output - two classes, a different output.  CDATA appears

    I'm developing a java class to export data to an xml file. Finally, I intend to connect it to the iteration of a display object and export the data from the data in the xml file. Since the data can have many formats, I'm trying to export in a CData element.

    I have two projects open in Jdeveloper. A sample where I developed the xml file, then a model ADF project. I put the class in the same package as the module of the application. (eventually I hope get this job by a button in a form).

    The output of the XML file should look like this:

    <? XML version = "1.0" encoding = "UTF-8"? >
    -lesson > < name > Jdev < / name > < description > Learn Jdev! < / description >
    -< card >
    frontside data < frontside > < / frontside >
    -< back >
    * <! [CDATA [cdatatest BILHIRD adfadfadfa adfadsfadf adsfadfadfsadsf adfadfadf]] > *.
    * < / rear > *.
    < / map >
    < / lesson >

    The problem is the output of the java class in the application module package doesn't produce the CDATA section.
    It produces

    * < back > cdatatest BILHIRD adfadfadfa adfadsfadf adsfadfadfsadsf adfadfadf < / rear > *.

    The code is EXACTLY the same. I checked the properties of each project to see if there are different libraries (the app module had a bunch, none for the other).

    Puzzled in New Jersey. Would appreciate any help! Thank you
    Stuart

    Here is my code:
    public void WriteDBDataToXML() {}
    try {}
    DocFactory DocumentBuilderFactory = DocumentBuilderFactory.newInstance ();
    DocumentBuilder docBuilder = docFactory.newDocumentBuilder ();

    root elements
    Doc document = docBuilder.newDocument ();
    Element rootElement = doc.createElement ("lesson");
    doc.appendChild (rootElement);

    name components
    Element name = doc.createElement ('name');
    name.appendChild (doc.createTextNode ("Jdev"));
    rootElement.appendChild (name);

    elements of description
    Description of the element = doc.createElement ("description");
    description.appendChild (doc.createTextNode ("Learn Jdev!"));
    rootElement.appendChild (description);

    Element card = doc.createElement ('card');
    rootElement.appendChild (card);

    Element frontside = doc.createElement ("frontside");
    frontside.appendChild (doc.createTextNode ("frontside data"));
    card.appendChild (frontside);

    Back of the element = doc.createElement ("backside");
    backside.appendChild (doc.createTextNode ("back data"));
    card.appendChild (backside);

    This is test for cdata and comments and text...
    CDATASection cdataNode = doc.createCDATASection ("cdatatest BILHIRD adfadfadfa adfadsfadf adsfadfadfsadsf adfadfadf");
    backside.appendChild (cdataNode);

    write the content in the xml file
    TransformerFactory transformerFactory = TransformerFactory.newInstance ();
    Transformer transformer = transformerFactory.newTransformer ();
    DOMSource source = new DOMSource (doc);
    StreamResult result = new StreamResult (new File("C:\\temp\\works.xml"));)
    transform. Transform (source, result);
    } catch (ParserConfigurationException pce) {}
    pce.printStackTrace ();
    } catch (TransformerException tfe) {}
    tfe.printStackTrace ();
    }

    Published by: Stuart on May 14, 2012 18:59

    Published by: Stuart on May 14, 2012 18:59

    Published by: Stuart on May 14, 2012 19:05

    CDATA section is to escape the characters... so its ok if you do not have added to the xml generated... but output CDATA section when you have the charactr as > &< the="" nit="" gets="" escaped="" to="" >="" &="">
    the output you get is valid.
    http://StackOverflow.com/questions/3858290/cretion-CDATA-section-confusing
    for your second question, you can add

    doc.setXmlStandalone(true);
    

    by default, the value is "false".

  • XML output

    Dear masters,

    I need an output xml, as shown below using EMP, dept of standard tables. I have to write a query to get the result. I put examples of data in the output tags, no accurate data as in the tables. Please help me

    *_OUTPUT: _ * _

    < files >
    account <>
    < dname > 10 < / dname >
    < listItems >
    < listItem > < ename > ALLEN < / ename > < job > SELLER < / job > < sal > 5000 < / sal > / listItem >
    < listItem > < ename > WARD < / ename > < job > SELLER < / job > < sal > 8000 < / sal > / listItem >
    < / listItems >
    < / recording >
    account <>
    < dname > 20 < / dname >
    < listItems >
    < listItem > < ename > MARTIN < / ename > < job > SELLER < / job > < sal > < / sal > / listItem >
    < listItem > < ename > CLARK < / ename > < job > MANAGER < / job > < sal > < / sal > / listItem >
    < / listItems >
    < / recording >
    ...
    < / documents >

    Something like this:

    select xmlelement("records",
             xmlagg(
               xmlelement("record",
                 xmlelement("dname", d.dname)
               , xmlelement("listItems",
                   xmlagg(
                     xmlelement("listItem",
                       xmlelement("ename", e.ename)
                     , xmlelement("job", e.job)
                     , xmlelement("sal", e.sal)
                     )
                     order by e.empno
                   )
                 )
               )
               order by d.dname
             )
           )
    from dept d
         left outer join emp e on e.deptno = d.deptno
    group by d.dname
    ;
    
  • XML output format

    Hello world

    I wrote this query

    SELECT XMLElement ("xbrli:xbrl",
    XMLAttributes ("http: / /...") "AS
    "xsi: schemaLocation",.
    "http://...". "AS
    "xmln:n1,"
    "" "" as id_num
    )
    ) AS THE 'RESULT '.
    OF hr.employees
    WHERE department_id = 10;

    is the not well formatted outputis, possible to put CR or new line? because I want to export the result to an XML file
    and also in the output, I see ID_NUM = "& quot; & quot; "and I want to have ID_NUM =" ' how can I achieve this? "

    Thanks in advance

    MDK.

    I agree with Mark D. here, but in case you really need for some reason...

    I added the declaration of namespaces in an element root in order to obtain a valid document:

    SQL> SELECT insertChildXML(
      2           xmlelement("root",
      3                      xmlattributes( 'ns1' as "xmlns:link",
      4                                     'ns2' as "xmlns:xlink" ),
      5             xmlelement("link:abc")
      6           ),
      7           '/root/link:abc',
      8           '@xlink:a',
      9           '',
     10           'xmlns:link="ns1", xmlns:xlink="ns2"'
     11         ) result
     12  FROM dual
     13  ;
    
    RESULT
    --------------------------------------------------------------------------------
    
     
    

    In addition, outputs XMLSerialize empty elements with self-closing tags if the option [NO] INDENT is specified (it doesn't seem to be documented however):

    SQL> select xmlserialize(document xmltype('') as clob no indent) result from dual;
    
    RESULT
    --------------------------------------------------------------------------------
    
     
    

    Published by: odie_63 on 11 nov. 2010 17:33

  • Indesign XML business cards help

    I'm designing for the company that I work a new business card, we have approximately 270 employees across about 5 different offices around the world.

    We collected data from employees using a web form. The fields are < first > < Center > < last > < title > < email > < direct > < office > < mobile > < linkedin > < twitter > and < location >

    I'm trying to conceptualize now how to set up the card to work right now (IE pull in data and look always good) (the design is already approved) but I never thought about how the XML will fill on the map.

    That's how the map is provided on some of the fields on the same line and he has justified to the left as shown here.

    < FIRST > < MIDDLE > < LAST >

    < TITLE >

    E-mail: < EMAIL >

    Live: < DIRECT > | Office: OFFICE <> | Mobile: < MOBILE >

    www.LinkedIn.com/in/< LINKEDIN >

    Twitter: < TWITTER >

    < LOCATION > | www.ABCCOMPANY.com

    So here are my questions:

    1. If I'm mapping XML to paragraph styles how fields will move properly for the first medium and the name based on the amount of characters each?
    2. on the phone number line, some people are not add in the office number, some offices have odd numbers with international prefixes etc indesign will sink the elements correctly or is there some text on text or gaps (if they do not fill a field)

    I am really amazed at the present time and in the hope of an ah-ha moment.

    Please repost in the InDesign forum.

  • InDesign PDF output creates an image in grayscale negative...

    I have an InDesign file with an eight-bit grayscale image imported from Photoshop. The image appears normal in Photoshop and normal view in InDesign. However, when I have the output file in PDF (print quality), the image in grayscale format appears in the PDF as a negative image. This happens not all the time, but from time to time. Does anyone have an idea of what is happening and what I could do wrong?

    TIA

    On further investigation, this could be a problem with Preview [Version 5.0.1 (503), OS X 10.6.2].] When the PDF file is displayed in Acrobat, the images appear fine.

    The problem seems to occur with grayscale images in PSD format.

    The image should be resized in InDesign so that requested subsampling as defined in the Compression Panel in the PDF export settings.

    Select the settings of export PDF for printing high quality or print quality.

    In the Panel of Compression, Compression for grayscale Images should be set to the JPEG format (or automatic (JPEG)).

  • XML output with several categories

    I'm driving myself crazy trying to figure it out and I can't seem to find much on the internet is useful. Sometimes, there is 1 category and sometimes there may be 2.

    For example:

    < section >
    < title > study: ban on cell phone use did not reduce the accident rate < / section >
    < date > 02/01/2010 < / Date >
    < content > content about the use of the cell phone. < / Summary >
    < categories >
    < category ID = "438024898" > general Auto News < / category >
    < category ID = "438022448" > Electronics < / category >
    < / categories >
    < / item >

    I set myitems with xml search and can happen to everything below about exit perfectly, except for the multiple categories.

    < = cfloop '1' to = "#arrayLen (myItems) ' # ' index 'i' = >"

    #myItems [i]. Heading.XmlText #.

    #myItems [i]. Categories.Category.xmltext # this outputs only the first, but I can't seem to get the second.

    < / cfloop >

    Thanks for any help in advance!

    
    

    OR

    #myItems[i].Categories.Category[1].xmltext#
    #myItems[i].Categories.Category[2].xmltext#
    

    Category is just a nested table as your myItems was.

    Or you could do an another xmlSearch if you prefer.

Maybe you are looking for