Duplication of table on export in XML format

FrameMaker 10.0.2.419 on a Windows XP computer running (I know). I created a structured application to take our structured files (made with a custom DSP), rules of reading/writing process for charts, tables, etc., and then perform an XSLT transformation to convert the XHTML source tree. Everything works well except for the table cells that overlap.

I have the following rules of R/W in place:

element 'td '.

{

is fm "TableCell" table cell element

"colspan" attribute is fm horizontal overlap of property;

'rowspan' attribute is fm vertical overlap of property;

"align" attribute is the attribute of fm;

'valign' attribute is the attribute of fm;

"charoff" attribute is the attribute of fm;

"tank" attribute is the attribute of fm;

}

I tried to see the output of the frame before you apply the XSLT and the colspan and rowspan attributes do not appear. Our custom EDD has no specific attributes colspan and rowspan, but I add the TableCell element in the DTD.

Is there anyway to get the colspan and rowspan attribute to appear in the tree of results (with the correct values for the cells in a table overlapping)?

Thanks in advance for any help,

André

André,

That's what I have in my read/write rules:

element {'cell'

is fm table cell element.

the 'horizontal_straddle' attribute is fm horizontal overlap of property;

the 'vertical_straddle' attribute is fm vertical overlap of property;

}

In the DTD, I have:

CDATA horizontal_straddle #IMPLIED
                 CDATA vertical_straddle #IMPLIED
                 VAlign (top | median | bottom) #IMPLIED
                 HAlign (left | center | right) #IMPLIED
                 LineSpacing (fixed | notfixed) "fixed".
                 type (normal | softkeycell)  'normal' >

This works correctly with rides him.

The only difference I see between my r/w and yours is that you renamed the TableCell cell element in your document frame of td in the XML output. Thus, your code output XML (before applying the XSLT), overlap attributes must appear in the form of elements td, not the TableCell elements.

As far as I know, there is no reason to have items in ESD, because the user can not put anyway. Also, I see no reason to add attributes to the DTD, because your workflow is a one-way street from the chassis to XHTML. If the frame is valid, I wouldn't worry about the validity of the XML that results from (this is my opinion, others may disagree), because you are not going back and forth the XML to FrameMaker.

Because you apply an XSLT transformation to get the XHTML, you cannot rename the cell element. Just keep TableCell, which will have the attributes of overlap. Then the XSLT can transform into a td element.

Hope this helps,

Van

Tags: Adobe FrameMaker

Similar Questions

  • Is it possible to generate the FDM export to .xml format file?

    Hello world

    We use the Hyperion financial management of the quality of the data (version 11.1.1.3.00).
    Earlier today we are generating the export format .dat file, is it possible to generate the export to .xml format file?

    What are the possible export available in MDF file formats?
    Any suggestion would be greatly helpful.

    Thanks in advance :)

    Aly Hassan

    The file output and its formatting is defined/created in the Export Action of each adapter FDM script. You can modify this script to print the file exported in any format you want. However, I don't see why you want to do for the entire target specific adapters supplied with FDM, well if we talk about changing the default output of the adapter then PULL, this would be where you would bring changes. There is no magic switch that automatically does for you :-)

  • Export in XML format

    Version: 4.2.5.00.08

    Hello

    A colleague came to me because he has a classic report that displays the data in XML format created by a function of the atmosphere. Need download data in XML format to use in another application.

    The download link in the report attributes is set to YES, and when the report is downloaded the XML tags are removed.

    I know that the report template in the page layout and Pagination in report attributes can be set to "export: xml", but it removes the XML tags he has on data and replaces it with the APEX XML tags.

    I tried to change the display as attributes, but the XML tags are always removed once downloaded.

    So, can anyone help with how to get the report now download XML tags?

    Can what information I provide?

    Thank you

    Joe

    Joe R wrote:

    A colleague came to me because he has a classic report that displays the data in XML format created by a function of the atmosphere. Need download data in XML format to use in another application.

    The download link in the report attributes is set to YES, and when the report is downloaded the XML tags are removed.

    The problem, it could be that the HTML of band property is set for the report...

    I know that the report template in the page layout and Pagination in report attributes can be set to "export: xml", but it removes the XML tags he has on data and replaces it with the APEX XML tags.

    I tried to change the display as attributes, but the XML tags are always removed once downloaded.

    So, can anyone help with how to get the report now download XML tags?

    Can what information I provide?

    If this is not something trivial as have broadband active HTML while we'd probably need everything: source report, all report and settings of the region, function source in pipeline, DDL for dependent objects, sample output etc.

    Is a report showing raw XML data on screen one any real use? Another option would be to drop the report completely and expose the result of the function in pipeline for download through an application process on.

  • Storie of export in xml format

    Hello

    I'm a beginner in InDesign scripting, and I wish to export all entries of stories in a document to a file in XML format.

    Please can someone help me?

    Steph

    It is easy to export a story in an XML file:

    App.Selection [0].parentStory.exportFile (ExportFormat.XML, File("/c/test.xml"));

    (this will export the story your cursor is located in), but export more of a story in the same file is a problem. It is possible to loop through all stories and export one by one, but:

    1. you need to write them to separate files (because that's how exportFile works), and

    2. you can not automatically paste into a file later. Each XML file starts with a header, and after that the ech XML file must contain only a single root object.

    According to your exact needs, it might be possible to export XML "manually", for example, open a new file, writes the XML header and the root tag, then loop over each story (add yet an another "enveloping") and XMLElements of each story and fate one by one.

    I didn't need this before, so I can't help you with this, but reading the Javascript Programmer's Reference should give you some handles on this subject.

  • AF:table to export in PDF format

    Hello

    I read a lot of posts on the tables of the ADF and how to export it to another format, but I can't do. Someone have exported a table in pdf format?

    I'm going crazy with it!

    Thank you.

    All comments get to good solutions, try this

    Reading or writing PDF is not available in the decorative frame because it is difficult to use pdf format for multiple purposes, other than reports

    and excel is easily readable by a program and can be directly used in many systems (analysis of data)

    You must use some API external, as mentioned in the other reviews

    Ashish

  • RTF model - export in XML format

    Hello

    I used the RTF model to generate the report.

    I want to see the report in XML.

    But, I do not understand this option in the "report seen as ' or 'export report AS".

    Can you please help?

    Attach the screenshot

    Thank you

    You must add XML as output at your disposal.

    Please follow this

    1 - click on "Edit" report

    Top of page 2 to right - click "View as List".

    3. in the output formats - add "data (XML)."

    Screenshot for your reference

  • Adobe Acrobat Standard allow import/export in XML format even if the form is not enabled using LiveCycle Reader?

    My apologies if this isn't the right section. I build software that depends on the function data data import/export Adobe Acrobat under the menu options, as shown below. :

    screen.png

    This image was generated by using the Adobe Acrobat Pro version, and these buttons import and export XML files. I wonder if XML import/export will also work with the Standard version, although the creators of form did not compatible with LiveCycle Reader?

    The version I'm curious about is the version for $299 (Standard) as shown here: Plans and prices: compare plans | Adobe Acrobat DC

    The below included image says that it will not work if the user has "Acrobat". I wonder if this includes a Standard version. Thank you very much!

    chart.png

    Yes, it will work with Acrobat Standard.

  • How to remove the default line break when you export in XML format?

    Hello

    I'm using FDK 11 to convert a FrameMaker to XML file. Basic example as in the "guide structured Import/Export API Programmer" works very well. But all my files frame long paragraphs which, then the conversion is a line break after a length that appear to be the default. Hereby, the length of the XML and the readability becomes tedious. Here is the snapshot of the transformation and the piece of code used. Please let me know if there is a function that allows to eliminate this default behavior.

    #include "futils.h".

    extern VoidT Structured_ApiEmergency ((VoidT)) FARGS;

    extern VoidT Structured_ApiInitialize ((init IntT)) FARGS;

    extern VoidT Structured_ApiCommand ((command IntT)) FARGS;

    extern VoidT Structured_ApiNotify FARGS ((IntT notification,

    F_ObjHandleT docId, sparm StringT,

    IntT iparm));

    VoidT F_ApiEmergency() {}

    Structured_ApiEmergency();

    }

    VoidT F_ApiInitialize (IntT init) {}

    Structured_ApiInitialize (init);

    }

    VoidT F_ApiCommand (IntT command) {}

    Structured_ApiCommand (Command);

    }

    VoidT F_ApiNotify (IntT notification,

    F_ObjHandleT docId, StringT, IntT iparm sparm) {}

    Structured_ApiNotify (notification, docId, sparm, iparm);

    }

    Export.jpg

    Thank you

    Vincent

    [Message moved from General Discussion by moderator]

    Hi Vincent,.

    You use a structured application? If so, you might try reading/writing as a rule:

    writer

    {

    line break is 1000 characters;

    }

    .. .or whatever length you deem appropriate.

    Russ

  • XML Format statement with grouping

    Allow me to preface this with the notice I'm not familiar with the XML code outside of its hierarchical structure and not'm not familiar with what you can do with him using formatting.

    For example, let's say you have the following table:

    Object_type | Object_name | Descriptor of |
    ------------------------------------------------------------
    Fruit | Apple | Crisp |
    Fruit | Orange | Sour |
    Cookware | Pencil | Wood |

    Now, let's say you want to query this table to return a XML format, which will be used in a web site to view information, and you want to group the view by Object_Type, so you want an XML format, like this:

    < group >
    Result of < object Type > < / object Type >
    < object >
    < object name > Apple < / object name >
    crunchy <>descriptor < / template >
    < / object >
    < object >
    Orange < object name > < / object name >
    Sure < descriptor > < / template >
    < / object >
    < / group of objects >

    < group >
    Utensil of < object Type > < / object Type >
    < object >
    < object name > pencil < / object name >
    <>descriptor wood < / template >
    < / object >
    < / group of objects >

    However, from what I can tell, using the XMLELEMENT function, it seems the closest, I can get is:

    SELECT XMLELEMENT ("group object",
    XMLELEMENT ("Object Type", object_type)
    XMLELEMENT ("subject",
    XMLELEMENT ("object name", object_name)
    XMLELEMENT ("Descriptor", descriptor)
    )
    )
    Of object_tbl;


    < group >
    Result of < object Type > < / object Type >
    < object >
    < object name > Apple < / object name >
    crunchy <>descriptor < / template >
    < / object >
    < / group of objects >

    < group >
    Result of < object Type > < / object Type >
    < object >
    Orange < object name > < / object name >
    Sure < descriptor > < / template >
    < / object >
    < / group of objects >

    < group >
    Utensil of < object Type > < / object Type >
    < object >
    < object name > pencil < / object name >
    <>descriptor wood < / template >
    < / object >
    < / group of objects >

    Is it possible to group them in a way so that Apple and Orange are in the same < Object Group >? Or does that not make sense and this grouping can be done on the website itself by formatting the XML?

    Published by: Nick Clinite on May 14, 2013 09:59

    Hello

    This sounds like a job for the XMLAGG function.
    Browse this section of the manual of SQL language and look at all the functions that start with XML. There is no need to memorize all the, but begin to learn what tools are available.

    Whenever you have a question, please post a small example of data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and also publish outcomes from these data.
    Explain, using specific examples, how you get these results from these data.
    Always tell what version of Oracle you are using. Do not use just a vague and easily missed, label like "11g"; out to the right and give your exact version, for example, 11.2.0.2.0, in the body of the message.
    See the FAQ forum {message identifier: = 9360002}

  • Why is my data form not export to XML

    I have a form that I built for some time.  At one point, I was able to export my form data to xml format.  I did a lot of work since yesterday and today when I export to xml format, I have a few lines as shown below.

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

    - < Form1 >

    < VerifyPart1 / >

    < CheckBox14 > 0 < / CheckBox14 >

    < VerifyPart2 / >

    < HelpPage1 xmlns:XFA = » " http://www.xfa.org/schema/xfa-data/1.0/" "" xfa:dataNode= 'dataGroup"" " / >

    </form1>

    Can anyone help with this?  I really want to use the feature.

    Check links for the fields... It should be Normal.

    Thank you

    Srini

  • Export as xml for translation

    Hello

    I export the project as xml to send to translation.

    The file consist of a large amount of data that is not relevant for the purposes of translation.

    Is there an easy way to see in the file, which is the text must be translated?

    Thank you

    Merav.

    Hello

    Is there a reason for export in XML format? Personally, I have a lot (teaching in 3 languages and want to use the CP - SWF for all students) the translation and I'm very happy using CP "export text captions and subtitles. This translates into a Word document with a two-column layout typical. Boths columns are identical, but you are supposed to use the right column for the translation, the left works as a reference. When I import the word CP, resizing the text automatically captions and almost all the work is done. Just have a checkup...

    Only limitations: you must have Word on the PC.

    Lilybiri

  • XML format for the export of result set by the user

    Hello

    I would like to export my entire test sequence results in a new XML file. The format of the XML file is given and fixed.

    My first attempt was to create a LabView VI to export data in XML format.

    I read that there is no way to set the format with the standard version of LabView. But I have a suspicion that there is an upgrade so I can set the XML format by myself.

    Does anyone know what update I need?

    Or did someone knows how to export XML in a different way?

    Thanks for your help!

    You're right that the current implementation does not do.

    You have two options:

    1. create your own plugin that analyzes your resultlist and generates the XML file

    2. create something late MainSequence which analyses the resultlist and generates the XML file

    It depends on the scope of your project.  If there is one thing to type 1 and then option 2 would be easier.  If it's something, you use through multiple tests and then I'd go with Option 1.

    In both cases, you must go to analyze thorugh the results list and generate code for XML.  I recommend keeping the algorithm in TestStand to browse the resultlist.  It is much easier and simpler.  Simply create a sous-suite that does and pass the list of results.

    Kind regards

  • Table of contents via XML import?

    I understood how to export the table of contents via XML.  The generated .xml contains fairly simple tags is easy to understand and would be simple to build in another tool.  There are XML import, but he seems to want to only import the XML file as content, and not as the table of contents.

    If I want to create this new table of contents in the format XML file using another tool and then import it into the RoboHelp project to replace the void that is, after I imported a bunch of WinHelp files, how can I do this?  I did a lot of research in the application, within the help, etc., online search and come up emptyhanded.

    Am I stuck at absolutely having to create and maintain the table of contents in RoboHelp?

    That's the one.

    See www.grainge.org for creating tips and RoboHelp

  • Not convert my PDF files to the correct XML format

    Why are the PDF files do not correctly convert to XML?

    I got it work fine before and now it will not

    Hi richardv26868899,

    Player 11 no more supports services to export in PDF format, you need to install the latest Adobe Acrobat Reader Acrobat Reader DC Learn & Support DC to use the service to export it to PDF help of Acrobat Reader | Export PDF to Acrobat Reader DC.

    Alternatively, you can use this service online at https://cloud.acrobat.com/exportpdf

    Kind regards

    Nicos

  • ADF Table Excel Export

    Hi friends!

    I use Jdev 11.1.2.3.0

    I have to approach when you export a table to CSV

    FIRST APPROACH (export Excel):

    the first is the very well know to use a

    <af:commandButton text="test" id="btnExport">
              <af:exportCollectionActionListener type="excelHTML" exportedId="tbItms"/>
    </af:commandButton>
    
    
    

    where tbItms is the id of the table that contains the data.

    Well, this table has a column where I need to show the lines separated by lines of rupture

    such as:

    Column 1 Column 2 Column 3
    blahblahblahblah

    column2stuff column2stuff column2stuff column2stuff

    column2stuff column2stuff column2stuff column2stuff

    column2stuff column2stuff column2stuff column2stuff

    blahblahblahblah
    blahblahblahblah

    column2stuff column2stuff column2stuff column2stuff

    column2stuff column2stuff column2stuff column2stuff

    column2stuff column2stuff column2stuff column2stuff

    blahblahblahblah

    You see to Column2? Well, I tried this in my session façade by adding "\n" at the end of the line, but without success

    SECOND APPROACH (export to CSV format):

    I do the same thing by adding the '\n '.

    but I use:

    <af:commandButton text="Exportar" id="btnExportar" immediate="true"
                                          binding="#{backingBeanScope.backing_transporte_factura_frm_consultar_pre_factura.btnExportar}">
                            <af:fileDownloadActionListener filename="pre_factura.csv" contentType="text/csv"
                                                       method="#{backingBeanScope.backing_transporte_factura_frm_consultar_pre_factura.exportData}"/>
                        </af:commandButton>
    
    
    

        public void exportData(FacesContext facesContext, OutputStream outputStream) throws IOException,
                                                                                            WriteException {
            BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(outputStream,"UTF-8"));
            List<BeanItemPreFactura> lstBeanItmsPF = beanSessionConsPreFactura.getLstBeanItemPreFactura();
            writer.write("ORDEN");       writer.write(SEPARADOR_CSV);writer.write("GUIAS");   writer.write(SEPARADOR_CSV);
            writer.write("DESCRIPCION"); writer.write(SEPARADOR_CSV);writer.write("DESTINO"); writer.write(SEPARADOR_CSV);
            writer.write("CLIENTE");     writer.write(SEPARADOR_CSV);writer.write("SUBTOTAL");writer.write(SEPARADOR_CSV);
            writer.write("IGV SUBTOTAL");writer.write(SEPARADOR_CSV);writer.write("TOTAL");
            writer.newLine();
            Iterator it = lstBeanItmsPF.iterator();
            while(it.hasNext()){
                BeanItemPreFactura guia = (BeanItemPreFactura) it.next();
                writer.write(guia.getOrden()+"");          writer.write(SEPARADOR_CSV);
                writer.write(guia.getGuiasConcat()+"");    writer.write(SEPARADOR_CSV);
                writer.write(guia.getGuiasItmsConcat()+"");writer.write(SEPARADOR_CSV);
                writer.write(guia.getDestino()+"");        writer.write(SEPARADOR_CSV);
                writer.write(guia.getCliente()+"");        writer.write(SEPARADOR_CSV);
                writer.write(guia.getSubtotal()+"");       writer.write(SEPARADOR_CSV);
                writer.write(guia.getIgvSubtotal()+"");    writer.write(SEPARADOR_CSV);
                writer.write(guia.getTotalItem()+"");      writer.write(SEPARADOR_CSV);
                writer.newLine();
            }
            writer.flush(); 
            writer.close();
        }
    
    
    
    

    And when I export the CSV format due to line breaks "\n" I get it like this: the \n create new lines in the excel worksheet

    ,
    Column 1column 2column 3
    blahblahblahblah

    column2stuff column2stuff column2stuff column2stuff

    blahblahblahblahcolumn2stuff column2stuff column2stuff column2stuffblahblahblahblah

    The second approach was taken: http://sreevardhanadf.blogspot.com/2012/05/exporting-master-child-data-to-file.html#comment-form

    but he did in the usual way (without having to create new lines within a cell) I tried to use \r\n but without success

    Help, please

    Thank you! I followed this tutorial http://www.techartifact.com/blogs/2013/08/generate-excel-file-in-oracle-adf-using-apache-poi.html and I did for the automatic height like this: row.setHeightInPoints ((number * sheet.getDefaultRowHeightInPoints ())); where number represents the amount of lines + 1A Column2 in my example, and this worked thanks!

Maybe you are looking for