Generate the HTML XML table

Hi all

In the Sub function I need to add the HEAD and STYLE for HTML tags, but when I try to encode hard, it, it gives me an error of XML parsing.

Please can you let me know how I can make?

< html >

< head >

< style >

table, th, td

{

border: 1px solid black;

border-collapse: collapse;

}

< / style >

< / head >

< body >

< table style = ' width: 300px ">

create or replace FUNCTION get_html_report (p_query IN VARCHAR2) IS BACK CLOB

ctxh dbms_xmlgen.ctxhandle;

xslt_tranfsorm XMLTYPE.

l_mail_body CLOB.

BEGIN

ctxh: = dbms_xmlgen.newcontext (p_query);

-XSLT Transformation to HTML

xslt_tranfsorm: = NEW XMLTYPE (')

"< xsl: stylesheet xmlns: xsl ="http://www.w3.org/1999/XSL/Transform"version ="1.0">"

< xsl: template match = "/ rowset" >

< table >

< b >

< xsl: for-each select = "ROW [1] / *" >

< th > < xsl: value - of select = "name ()" / > < /th > ""

< / xsl: foreach >

< xsl: apply-templates / >

< /tr >

< /table >

< / xsl: template >

< xsl: template match = "ROW" >

< tr > < xsl: apply-templates / > < /tr >

< / xsl: template >

< xsl: template match = "ROW / *" >

< style td = "" text-align: left; "" > < xsl: value-of select = "'." / > < table > "

< / xsl: template >

(< / xsl: stylesheet > ');

dbms_xmlgen.setnullhandling (ctxh, dbms_xmlgen.empty_tag);

dbms_xmlgen.setxslt (ctxh, xslt_tranfsorm);

l_mail_body: = dbms_xmlgen.getxml (ctxh);

dbms_xmlgen.closecontext (ctxh);

RETURN l_mail_body;

END get_html_report;

First the function doesn't compile, for this reason:

Given that the style sheet is declared inline literal string, apostrophes must be escaped, or use double quotes:

Then you get the actual error:

LPX-00225: element end tag ' xsl: template ' does not match start tag "html" element

I find it quite explicit, not you?

You have not closed theTag:

Tags: Oracle Development

Similar Questions

  • Generate the HTML code for pl/sql

    What I'm trying to do, it is a request of my oracle database with a list of values continuously. Then I have to create an html page that contains these values and send the HTML generated in an e-mail to form the body of the email.

    Sending the e-mail should not be a problem, but how do I generate the html code?

    Any help would be appreciated.

    Faoilean

    ----------

    Forms 6i
    Oracle 10G db

    Yes, this can be done within Oracle Forms

    First of all try you in a script files (*.bat windows shell script Unix/Linux) and test command line

    Then

    You run by the HOST Built in, just be careful script files, txt html file will be created on the Db server, so you must use

    Sheltered at the breast to correct.

  • Adobe Provisioning Toolkit Enterprise Edition returned code 19 when you try to generate the prov.xml file

    When I run the following command

    adobe_prtk.exe - tool = Volumeserialize--generer--serial="xxxx-xxxx-xxxx-xxxx-xxxx-xxxx' - leid 'V7 {} AcrobatESR-12-Win-GM' = - regsuppress = ss - eulasuppress

    I get a return code = 19.

    Only thing I see on this code is the following

    19

    The provXML is missing

    Who is meaningless in this case, because I'm trying to generate the course file is missing.

    Not sure that had to get out of here.  It is a xenapp 7.7 on the windows 2012 R2 deployment.

    I found an updated version of the aptee and then the process worked.   first link I clicked on a post on the forum must have been old.

  • Generate the HTML Emails using UTL_MAIL instead of UTL_SMTP

    Hi all

    We use a server Oracle 11 GR 2.

    I want to know if we can produce HTML emails using UTL_MAIL instead of UTL_SMTP package.

    I searched the Internet but found most of the research showing the UTL_SMTP package.

    So here the expert opinion on this before proceeding with the UTL_SMTP package.

    Thank you
    Madhu K.

    Maldini says:

    I want to know if we can produce HTML emails using UTL_MAIL instead of UTL_SMTP package.

    Yes. "You set the Mime_Type setting" + text / html + ' and the value of the parameter to the HTML email Message .

    I searched the Internet but found most of the research showing the UTL_SMTP package.

    UTL_SMTP is an interface for the use of the SMTP application protocol. She in turn runs on the package UTL_TCP which provide an interface to communicate using the TCP network protocol.

    UTL_MAIL working above UTL_SMTP. It provides a simple interface to sending an e-mail without the caller having to deal with the actual construction of the e-mail itself. Binary attachments should be coded. MIME limits must be defined and Mime header created. Etc.

    UTL_MAIL does most to build an e-mail and then deliver using UTL_SMTP. But he did a job very basic and a bit primitive. This means that if you want complex structures of e-mail, you must create that yourself and then use UTL_SMTP of to deliver.

    Note that UTL_SMTP is the e-mail delivery truck. He does not care and does not know what the cargo contains it delivers. If it is an HTML email with 20 attachments, or just a plain text email or an invitation to a meeting to recognized and on demand by the customer mail reader receives. Construction of an e-mail is processed through the form of MIME (Multipurpose Internet Mail Extensions). It has NOTHING to do with the SMTP application protocol.

    UTL_MAIL is an implementation of skeleton Mime. You need more than that - look somewhere else (3rd party) or write your own code. UTL_SMTP is irrelevant somehow when it comes to build emails.

  • How to generate the following XML

    Hi all

    I have 2 tables, demo_orders and demo_order_items (child)
    How can I generate something like this:
    <?xml version="1.0"?>
    <ROWSET>
     <ROW>
      <ORDER_ID>1</ORDER_ID>
      <CUSTOMER_ID>1</CUSTOMER_ID>
      <ORDER_TOTAL>1200</ORDER_TOTAL>
      <ORDER_TIMESTAMP>2009-01-16T16:20:09.000</ORDER_TIMESTAMP>
      <USER_ID>2</USER_ID>
      <ITEMS>
       <ITEMROW>
        <ORDER_ITEM_ID>1</ORDER_ITEM_ID>
        <ORDER_ID>1</ORDER_ID>
        <PRODUCT_ID>1</PRODUCT_ID>
        <UNIT_PRICE>1200</UNIT_PRICE>
        <QUANTITY>1</QUANTITY>
       </ITEMROW>
      </ITEMS>
     </ROW>
     <ROW>
      <ORDER_ID>2</ORDER_ID>
      <CUSTOMER_ID>2</CUSTOMER_ID>
      <ORDER_TOTAL>599</ORDER_TOTAL>
      <ORDER_TIMESTAMP>2009-01-11T16:20:09.000</ORDER_TIMESTAMP>
      <USER_ID>2</USER_ID>
      <ITEMS>
       <ITEMROW>
        <ORDER_ITEM_ID>2</ORDER_ITEM_ID>
        <ORDER_ID>2</ORDER_ID>
        <PRODUCT_ID>2</PRODUCT_ID>
        <UNIT_PRICE>199</UNIT_PRICE>
        <QUANTITY>1</QUANTITY>
       </ITEMROW>
       <ITEMROW>
        <ORDER_ITEM_ID>3</ORDER_ITEM_ID>
        <ORDER_ID>2</ORDER_ID>
        <PRODUCT_ID>8</PRODUCT_ID>
        <UNIT_PRICE>50</UNIT_PRICE>
        <QUANTITY>2</QUANTITY>
       </ITEMROW>
      </ITEMS>
     </ROW>
    </ROWSET>

    Hi, I am assuming that the columns of the table have the same names as the xml elements in your example.

    Try this:

    SQL >select xmlelement("ROWSET",
      2                    xmlagg(xmlelement("ROW",xmlforest(order_id,
      3                                                      customer_id,
      4                                                      order_total,
      5                                                      to_char(order_timestamp,'yyyy-mm-dd"T"hh24:mi:ss.FF3') as "ORDER_TIMESTAMP",
      6                                                      user_id),
      7                                            xmlelement("ITEMS",(select
      8                                                               xmlagg(xmlelement("ITEMROW",xmlforest(order_item_id,
      9                                                                                                     order_id,
     10                                                                                                     product_id,
     11                                                                                                     unit_price,
     12                                                                                                     quantity)
     13                                                                                )
     14                                                                     ) from demo_order_items i where i.order_id=o.order_id)
     15                                                       )
     16                                     )
     17                          )
     18                   ).extract('/*') as yourXML
     19    from demo_orders o;  
    
    YOURXML
    --------------------------------------------------------------------------------------------------------------
    
      
        1
        1
        1200
        2009-12-28T10:19:01.464
        2
        
          
            1
            1
            1
            1200
            1
          
        
      
      
        2
        2
        599
        2009-12-28T10:19:01.464
        2
        
          
            2
            2
            2
            199
            1
          
          
            3
            2
            8
            50
            2
          
        
      
    
    

    The extract('/*') method is useful enough formatted output. Remove in your production applications to improve performance and space-saving.

    Max
    [My Italian blog Oracle | http://oracleitalia.wordpress.com/2009/12/27/inviare-email-dal-db-utilizzando-utl_smtp/]

  • have created the Web site with flash cs4, placed a short in one of the sections buttons, have generated the HTML, etc. with the publication

    Of Adobe Flash CS4- settings file published using html don't play my little film (on site) on the local computer's browser.

    The .exe file and the swf file play the movie.

    Am I missing something? have tried Chrome, firefox, opera, etc.. Movie controller only presents itself.

    Any help would be greatly appreciated.

    Thank you very much.

    You probably have a security problem that you can get around using Adobe - Flash Player: settings - global security settings panel Manager or download on a server and test the server files.

  • How to generate the tag xml from oracle pl/sql

    Hi all

    I have my db is version 10.2.0.3.0 - Production

    I tried a few examples

    The first is xmlgen.getXml like that

    SELECT dbms.xmlgen.getXml)
    ' SELECT order_number "EMP_NO".
    , header_id 'NAME '.
    , org_id "DEPT_NO.
    Of oe_order_headers_all
    WHERE header_id = 39441'
    ) OF THE double;


    but I think xmlgen.getXm is not a valid identifier

    Secondly, I tried like this

    SELECT e.employee_id,
    XMLELEMENT ("Emp", e.first_name |) » '|| Select) AS 'RESULT '.
    OF e hr.employees



    but the expected production is like that

    1001 < Emp > John 6000 < / Emp >


    but I'm getting

    10 (ORAXML)

    Someone could tell me what error or no matter what format was changed

    Thanks and greetings
    Srikkanth

    example:

    SQL> ed
    Wrote file afiedt.buf
    
      1  SELECT dbms_xmlgen.getXml(
      2  'SELECT empno "EMP_NO"
      3  , ename "NAME"
      4  , deptno "DEPT_NO"
      5  FROM emp'
      6* ) FROM dual
    SQL> /
    
    DBMS_XMLGEN.GETXML('SELECTEMPNO"EMP_NO",ENAME"NAME",DEPTNO"DEPT_NO"FROMEMP')
    --------------------------------------------------------------------------------
    
    
     
      7369
      SMITH
      20
     
     
      7499
      ALLEN
      30
     
     
      7521
      WARD
      30
     
     
      7566
      JONES
      20
     
     
      7654
      MARTIN
      30
     
     
      7698
      BLAKE
      30
     
     
      7782
      CLARK
      10
     
     
      7788
      SCOTT
      20
     
     
      7839
      KING
      10
     
     
      7844
      TURNER
      30
     
     
      7876
      ADAMS
      20
     
     
      7900
      JAMES
      30
     
     
      7902
      FORD
      20
     
     
      7934
      MILLER
      10
     
    
    
  • How to display the HTML page generated from a bean managed OUCSSPortalADFLibrary?

    ? Hello

    I have an af:commandButton in my jsff. By clicking on the button will perform an action of the managed bean located in the OUCSSPortalADFLibrary. The action of the method generates the HTML string of the new page to display in the same window. I tried what follows but failed to make it work.

    In my jsff:

    < af:commandButton action = "#{pageFlowScope.MyManagedBean.generateHtml}" id = "cb1"/ > "

    < af:outputText value = "#{pageFlowScope. . "{MyManagedBean.html}" id = "ot1" escape = "false" / >

    In my bean managed:

    SerializableAttribute public class MyManagedBean extends SSBaseManagedBean {}

    private String html;

    public void generatehtml() {}

    generate the html string

                   html = "<! "" DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional / / as"------"http://www.w3.org/TR/html4/loose.dtd------" > < html >... < / html > "; " "

    }

    public String getHtml() {}

    Returns the html;

    }

    }

    Kindly help/tips how to operate or any other way.

    Thank you in advance.

    Hi Lena,.

    ADF managed beans, you can use ExtendedRenderKitService to call the javascript. Something like window.location.href or similar can be used to replace the URL data: text / html mentioned in response format.

    Kind regards

    SAI

  • generate the xml to oracle table

    Hello

    I want to generate xml form an oracle table and using the sql express oracle developer 10 g, forler xdk is decompressed also under folder oracle express, still getting the following error: code used
    var g_clob clob;
    
     declare
         l_ctx  dbms_xmlquery.ctxHandle;
         l_clob clob;
        begin
          l_ctx := dbms_xmlquery.newContext('select * from scott.emp');
          dbms_lob.createtemporary(:g_clob,true,dbms_lob.session);
          :g_clob := dbms_xmlquery.getXml(l_ctx);
        end;
        /
    ORA-06550: line 2, column 14:
    PLS-00201: identifier ' DBMS_XMLQUERY. CTXHANDLE' must be declared

    Thanks in advance

    Hello

    DBMS_XMLQUERY is a wrapper for the methods in the Java class "oracle.xml.sql.query.OracleXMLStaticQuery".
    The problem is that Oracle 10 g XE is not a JAVA virtual machine, you can not use this package.

    Use DBMS_XMLGEN instead, it provides similar functionality and is more effective (C-based):

    SQL> var g_clob clob
    SQL> DECLARE
      2    l_ctx    dbms_xmlgen.ctxHandle;
      3  BEGIN
      4    l_ctx := dbms_xmlgen.newContext('select * from scott.emp');
      5    :g_clob := dbms_xmlgen.getXML(l_ctx);
      6    dbms_xmlgen.closeContext(l_ctx);
      7  END;
      8  /
    
    PL/SQL procedure successfully completed.
    
    SQL> set long 5000
    SQL> set pages 1000
    SQL> print g_clob
    
    G_CLOB
    --------------------------------------------------------------------------------
    
    
     
      7369
      SMITH
      CLERK
      7902
      17/12/80
      800
      20
     
     
      7499
      ALLEN
      SALESMAN
      7698
      20/02/81
      1600
      300
      30
     
     
      7521
      WARD
      SALESMAN
      7698
      22/02/81
      1250
      500
      30
     
     
      7566
      JONES
      MANAGER
      7839
      02/04/81
      2975
      20
     
     
      7654
      MARTIN
      SALESMAN
      7698
      28/09/81
      1250
      1400
      30
     
     
      7698
      BLAKE
      MANAGER
      7839
      01/05/81
      2850
      30
     
     
      7782
      CLARK
      MANAGER
      7839
      09/06/81
      2450
      10
     
     
      7839
      KING
      PRESIDENT
      17/11/81
      5000
      10
     
     
      7844
      TURNER
      SALESMAN
      7698
      08/09/81
      1500
      0
      30
     
     
      7900
      JAMES
      CLERK
      7698
      03/12/81
      950
      30
     
     
      7902
      FORD
      ANALYST
      7566
      03/12/81
      3000
      20
     
     
      7934
      MILLER
      CLERK
      7782
      23/01/82
      1300
      10
     
    
    

    Or, using the SQL/XML functions:

    SELECT XMLElement("ROWSET",
             XMLAgg(
               XMLElement("ROW",
                 XMLForest(empno, ename, job, mgr, hiredate, sal, comm, deptno)
               )
             )
           ).getClobVal()
    FROM scott.emp
    ;
    
  • When embedding the HTML table for table border does not appear even if it appears in a web browser and the tables generator

    Need help.  When I add the HTML code to integrate the following table, the border appears in the table designer and if I find the table separately from muse, but when they are incorporated into the Muse from the edge of the table is not displayed.  Any ideas what I can do wrong?

    Here is the HTML Code below:

    < style type = "text/css" >

    .TG {border-collapse: collapse; border-spacing: 0 ;}}

    .TG td {-font family: Arial, without serif; do-size: 14px; padding: 10px 5px; border-style: solid; border-width: 1px; overflow: hidden; word-break: normal ;}}

    .TG th {font family: Arial, without serif; do-size: 14px; police-weight: normal; padding: 10px 5px; border-style: solid; border-width: 1px; overflow: hidden; word-break: normal ;}}

    .TG .tg-jlrw {do-size: 16px; text-align: center}

    .TG .tg-lvl4 {police-weight: "BOLD"; do-size: 16px; do-family: Arial, Helvetica, sans! important; text-align: center}

    .TG .tg-qnmb {make-weight: bold; do-size: 16px; text-align: Center}

    .TG .tg-wm6t {make-weight: bold; do-size: 16px}

    < / style >

    < table class = "tg" style = "undefined; table-layout: fixed; Width: 875px ">"

    < colgroup >

    < style col = "width: 175px" >

    < style col = "width: 175px" >

    < style col = "width: 175px" >

    < style col = "width: 175px" >

    < style col = "width: 175px" >

    < / colgroup >

    < b >

    < class th = 'tg-lvl4' > print size < br < /th > >(Width x Height)

    < class th = "tg-qnmb" > model size < /th >

    < class th = 'tg-qnmb' > < /th > < br > security zone

    < class th = "tg-qnmb" > < br > print Code < /th >

    < class th = "tg-qnmb" > < br > < br > graphic border width (pixels) < /th >

    < /tr >

    < b >

    < class td = "tg-wm6t" colspan = "5" > cards & amp; The year-at-a-Glance calendars - 4 x 6, 4 x 8, 5 x 7, 6 x 8, & amp; 8 x 10: < table >

    < /tr >

    < b >

    < class td = "tg-jlrw" > 4 x 6 < table >

    < class td = "tg-jlrw" > 1212 x 1818 < table >

    < class td = "tg-jlrw" > 1136 x 1742 < table >

    < class td = "tg-jlrw' > 46 t < table >

    < class td = "tg-jlrw' > < table > 60

    < /tr >

    < b >

    < class td = "tg-jlrw" > 5 x 7 < table >

    < class td = "tg-jlrw" > 1515 x 2121 < table >

    < class td = "tg-jlrw" > 1439 x 2045 < table >

    < class td = 'tg-jlrw' > < table > 57(d)

    < class td = "tg-jlrw' > < table > 75

    < /tr >

    < b >

    < class td = "tg-jlrw" > 4 x 8 < table >

    < class td = "tg-jlrw" > 1224 x 2424 < table >

    < class td = "tg-jlrw" > 1148 x 2348 < table >

    < class td = "tg-jlrw" > 48 t < table >

    < class td = "tg-jlrw' > < table > 60

    < /tr >

    < b >

    < class td = "tg-jlrw" > 8 x 10 < table >

    < class td = "tg-jlrw" > 2424 x 3030 < table >

    < class td = "tg-jlrw" > 2348 x 2954 < table >

    < class td = "tg-jlrw" > 80 t < table >

    < class td = "tg-jlrw' > < table > 120

    < /tr >

    < b >

    < class td = "tg-wm6t" colspan = "5" > Important: safe area on the base prints is 38 pixels per side. < table >

    < /tr >

    < b >

    < class td = "tg-wm6t" colspan = "5" > large Format prints - Posters & Collages: < table >

    < /tr >

    < b >

    < class td = "tg-jlrw" > 6 x 8 < table >

    < class td = "tg-jlrw" > 1818 x 2424 < table >

    < class td = "tg-jlrw" > 1742 x 2348 < table >

    < class td = "tg-jlrw" > 6 x 8 < table >

    < class td = "tg-jlrw' > < table > 90

    < /tr >

    < b >

    < b >

    < class td = "tg-jlrw" > 8 x 12 < table >

    < class td = "tg-jlrw" > 2400 x 3600 < table >

    < class td = "tg-jlrw" > 2380 x 3580 < table >

    < class td = "tg-jlrw" > 8 x 12 < table >

    < class td = "tg-jlrw' > < table > 120

    < /tr >

    < b >

    < class td = "tg-jlrw" > 8 x 20 < table >

    < class td = "tg-jlrw" > 2400 x 6000 < table >

    < class td = "tg-jlrw" > 2380 x 5980 < table >

    < class td = "tg-jlrw" > 8 x 20 < table >

    < class td = "tg-jlrw' > < table > 120

    < /tr >

    < b >

    < class td = "tg-jlrw" > 10 x 14 < table >

    < class td = "tg-jlrw" > 3030 x 4242 < table >

    < class td = "tg-jlrw" > 2954 x 4166 < table >

    < class td = "tg-jlrw" > 10 x 14 < table >

    < class td = "tg-jlrw' > < table > 165

    < /tr >

    < b >

    < class td = "tg-jlrw" > 11 x 14 < table >

    < class td = "tg-jlrw" > 3300 x 4200 < table >

    < class td = "tg-jlrw" > 3280 x 4180 < table >

    < class td 'tg-jlrw' = > 14x11E-24_STN < table >

    < class td = "tg-jlrw' > < table > 165

    < /tr >

    < b >

    < class td = "tg-jlrw" > 12 x 12 < table >

    < class td = "tg-jlrw" > 3600 x 3600 < table >

    < class td = "tg-jlrw" > 3580 x 3580 < table >

    < class td = "tg-jlrw" > 12 x 12-24_STN < table >

    < class td = "tg-jlrw' > < table > 90

    < /tr >

    < b >

    < class td = "tg-jlrw" > 12 x 18 < table >

    < class td = "tg-jlrw" > 3600 x 5400 < table >

    < class td = "tg-jlrw" > 3580 x 5380 < table >

    < class td = "tg-jlrw" > 12 x 18-24_STN < table >

    < class td = "tg-jlrw' > < table > 90

    < /tr >

    < b >

    < class td = "tg-jlrw" > 16 x 20 < table >

    < class td = "tg-jlrw" > 4800 x 6000 < table >

    < class td = "tg-jlrw" > 4780 x 5980 < table >

    < class td 'tg-jlrw' = > 20x16E-24_STN < table >

    < class td = "tg-jlrw' > < table > 120

    < /tr >

    < b >

    < class td = "tg-jlrw" > 18 x 24 < table >

    < class td = "tg-jlrw" > 2700 x 3600 < table >

    < class td = "tg-jlrw" > 2680 x 3580 < table >

    < class td = "tg-jlrw" > 18 x 24-24_STN < table >

    < class td = "tg-jlrw' > < table > 135

    < /tr >

    < b >

    < class td = "tg-jlrw" > 20 x 24 < table >

    < class td = "tg-jlrw" > 3000 x 3600 < table >

    < class td = "tg-jlrw" > 2980 x 3580 < table >

    < class td 'tg-jlrw' = > 20x24E-24_STN < table >

    < class td = "tg-jlrw' > < table > 150

    < /tr >

    < b >

    < class td = "tg-jlrw" > 20 x 30 < table >

    < class td = "tg-jlrw" > 3000 x 4500 < table >

    < class td = "tg-jlrw" > 2980 x 4480 < table >

    < class td 'tg-jlrw' = > 20x30E-24_STN < table >

    < class td = "tg-jlrw' > < table > 150

    < /tr >

    < b >

    < class td = "tg-jlrw" > 24 x 36 < table >

    < class td = "tg-jlrw" > 3600 x 5400 < table >

    < class td = "tg-jlrw" > 3580 x 5380 < table >

    < class td 'tg-jlrw' = > 24x36E-24_STN < table >

    < class td = "tg-jlrw' > < table > 180

    < /tr >

    < b >

    < class td = "tg-jlrw" > 24 x 72 < table >

    < class td = "tg-jlrw" > 2328 x 6912 < table >

    < class td = "tg-jlrw" > 2308 x 6892 < table >

    < class td 'tg-jlrw' = > 24x72E-24_STN < table >

    < class td = "tg-jlrw' > < table > 115

    < /tr >

    < b >

    < class td = "tg-jlrw" > 24 x 96 < table >

    < class td = "tg-jlrw" > 2328 x 9216 < table >

    < class td = "tg-jlrw" > 2308 x 9196 < table >

    < class td 'tg-jlrw' = > 24x96E-24_STN < table >

    < class td = "tg-jlrw' > < table > 115

    < /tr >

    < class td = "tg-wm6t" colspan = "5" > Important: safe area on the base prints is 38 pixels per side. < table >

    < /tr >

    < class td = "tg-wm6t" colspan = "5" > 4 x 8 gift tags: < table >

    < /tr >

    < b >

    < class td = "tg-jlrw" > 4 x 8 < table >

    < class td = "tg-jlrw" > 1224 x 2424 < table >

    < class td = "tg-jlrw" > 1148 x 2348 < table >

    < class td = "tg-jlrw" > 48 t < table >

    < class td = 'tg-jlrw' > < table > N/A

    < /tr >

    < b >

    < class td = "tg-wm6t" colspan = "5" > Important: safe area on the base prints is 38 pixels per side. < table >

    < /tr >

    < /table >

    Once again... Muse removes the style code that you put into this table so your other option is to use an iframe

    example of your table in an iframe = table (by itself) and i-table (inside the iframe Muse)

  • After you generate a table in xml format, how can I save the result in an XML table?

    Hi all
    I used this feature to create a table in the XML schema:
    example:
    SELECT xmlelement ("State", xmlattributes (http://www.opengis.net/gml as "xmlns:gml"),)
    XMLFOREST (name as "Name", "Population" of the population)) of the State;
    result:
    < Statexmlns:gml = "http://www.opengis.net/gml" >
    < name > Wilkopolska < / name >
    the population of 35000 <>< / Population >
    < / state >
    Now I need to insert the result in an XML table, because I need to save the result to use the latter, I hope someone can help, and if there is other way to do this, it would be great.
    Thanks an ot and best regards,
    Lama.

    Just insert in a table...

    insert into t
    SELECT xmlelement("State", xmlattributes( 'http://www.opengis.net/gml' as "xmlns:gml"),
    xmlforest(name as "Name", population as "Population")) from state; 
    

    and a complete example:

    SQL> create table t (test xmltype)
      2  /
    
    Table created.
    
    SQL>
    SQL> create table state
      2  (name varchar2(10)
      3  ,population number
      4  )
      5  /
    
    Table created.
    
    SQL>
    SQL> insert into state values ('WI', 35000)
      2  /
    
    1 row created.
    
    SQL>
    SQL> SELECT xmlelement("State", xmlattributes( 'http://www.opengis.net/gml' as "xmlns:gml"),
      2  xmlforest(name as "Name", population as "Population")) from state; 
    
    XMLELEMENT("STATE",XMLATTRIBUTES('HTTP://WWW.OPENGIS.NET/GML'AS"XMLNS:GML"),XMLFOREST(NAMEAS"NAME",P
    ----------------------------------------------------------------------------------------------------
    WI35000
    SQL>
    SQL> insert into t
      2  SELECT xmlelement("State", xmlattributes( 'http://www.opengis.net/gml' as "xmlns:gml"),
      3  xmlforest(name as "Name", population as "Population")) from state; 
    
    1 row created.
    
    SQL> select *
      2    from t
      3  /
    
    TEST
    ----------------------------------------------------------------------------------------------------
    WI35000
    
  • Duplicate sections throughout the table of contents after generating the HTML5 multiscreen output

    Use: RoboHelp 10, version 10.0.0.287

    Steps to reproduce the problem:

    1. click on file > create > main layout (Multiscreen_HTML5)

    2 al ' Generate window click on [Save and Generate]

    3. wait

    4. click on [view results]

    5 results show swathes of the table of contents reproduced in other sections.  10 more times to repeat the generation before that the entire table of contents points are correct and I can publish.  This is not preventing me from doing the job, but it's certainly a time killer.

    Background: I inherited a working version.  I did not create it.  I have more knowledge of the HTML language, but I'm not a developer.  I didn't upgrade beyond RH10 option.  I have studied this many times, but have not been able to find a solution.  The only other thing I've seen sometimes are error messages related to the toctree.js file, but I still don't understand those.  Even when I have not, this past yet, but I have included this error just in case it may be related, although I suspect that it is a separate issue.  I don't currently have the line in the js file because this sample is old and I have not seen the question at least a month.

    Other Notes: I've seen a few posts on a similar question in the printed version, but, I do not have a printed version.  I don't know if that makes a difference, and do I know if anyone in the past that put in place or even where to go to watch.

    TOC_duplicates.jpg

    toctreejs_error.jpg

    Try to move the project to somewhere that the path is not so long and generate a new folder.

    See www.grainge.org for RoboHelp and Authoring information

    @petergrainge

  • All my attempts so far to generate the table of contents for Kindle (.mobi) failed. Can anyone help?

    I used InDesign CC to create an epub file and the TOC and the Navigation bar appear perfectly in Adobe Digital Editions (version 3.0). Then I saved the file to the IDML format open InDesign CS6 and use the Kindle Plugin to create a mobi file. I use the same style of table materials used to create the epub file, but although Kindlegen validates the file, the table of contents is unable to generate. I've been on several discussion forums and many people express problems by having their TOC displayed in Kindle Previewer. Can anyone help?

    Hello

    Kindle requires a separate html file for OCD and even must be referenced in the guide in content.opf element. In your InDesign CC document, generate the table of contents on a page and make sure the option 'Make the anchor text to the source paragraph' is checked.

    Now export the EPUB 3 file. Open EPUB in Sigil (it's a free EPUB editor of Google). Menu Goto tools-> Table of contents-> generate HTML Table of contents. This creates a new xhtml file and automatically adds the element of guidance in content.opf like this:

    Save EPUB and open directly into Kindle Previewer. Table of contents option must be turned on now and should work.

    Please try and let me know if it works.

    Kind regards

    POOJA

    InDesign engineering

  • Insert/update of the XML help merge and to generate the sequence number

    Hello

    I'm working on Oracle 11 g.

    I have a doubt with loading XML.
    I get an xml and I need to insert or update data in a table. What I can accomplish by using the MERGE statement.
    But there is a column in A table, I need to fill with a sequence number, based on the data sent in the xml file.
    The XML does not send the data in this column.
    And I have to make sure that sequence is created according to the order in which the records are present in xml.
    For example the MERGER is insert five rows and update two lines and insert again 3 rows of xml in table A. The sequence number must be created in the same order for the column in the table.
    Also for every new XML, the sequence starts with 1 and ends with the number of records in the xml file. I can't create a sequence and use the seq.nextval.

    Please let me know, there is a way to achieve this.

    Thank you!

    Published by: 934451 on 8 August 2012 06:33

    Published by: 934451 on 8 August 2012 06:50

    Hello

    As a result of your previous thread: {: identifier of the thread = 2403469}

    You can use the clause for ORDINALITE in XMLTable to generate the necessary sequence:

    MERGE INTO target_table t
    USING (
      SELECT x.seq_num, x.pk_id, x.col1, x.col2, ...
      FROM XMLTable(
             '/root/record'
             passing my_xml_doc
             columns seq_num FOR ORDINALITY
                   , pk_id   number       path 'ID'
                   , col1    varchar2(30) path 'COL1'
                   , col2    varchar2(30) path 'COL2'
                   , ...
           ) x
    ) src
    ON ( t.pk_id = src.pk_id )
    WHEN MATCHED THEN UPDATE
     SET t.seq_num = src.seq_num
       , t.col1 = src.col1
       , t.col2 = src.col2
       , ...
    WHEN NOT MATCHED THEN INSERT
     (seq_num, pk_id, col1, col2, ...)
     VALUES (src.seq_num, src.pk_id, src.col1, src.col2, ...)
    ;
    
  • How to create ViewObject to generate the xml file?

    Hello everyone...

    People, I would like to know if it is possible to create a ViewObject to generate an xml file.
    In other words, I have a database table and I need to generate an xml file based on this table.

    Someone has already done it?

    The ADF swing.
    JDeveloper Studio 11.1.1.4.0.

    Hello

    Try this link

    Generate the xml file based on the java oracle table using jdeveloper 10 g

Maybe you are looking for