Provide XML data for reports

For a text of sql using DBMS_SQL data, I am able to get a clob like this (my first attempt using xml)
<Table>
 <ColDesc>
  <ColDef><ColName>Person_Id</ColName></ColDef>
  <ColDef><ColName>Last_Name</ColName></ColDef>
  <ColDef><ColName>Group_Name</ColName></ColDef>
  <ColDef><ColName>Detail_1</ColName></ColDef>
  <ColDef><ColName>Detail_2</ColName></ColDef>
-- 5 to 20 columns
 </ColDesc>
 <TabRow><TabCol>1</TabCol><TabCol>WHITE</TabCol><TabCol>G1</TabCol><TabCol>10</TabCol><TabCol>X</TabCol></TabRow>
 <TabRow><TabCol>1</TabCol><TabCol>WHITE</TabCol><TabCol>G1</TabCol><TabCol>20</TabCol><TabCol>Y</TabCol></TabRow>
 <TabRow><TabCol>1</TabCol><TabCol>WHITE</TabCol><TabCol>G2</TabCol><TabCol>30</TabCol><TabCol>Y</TabCol></TabRow>
 <TabRow><TabCol>2</TabCol><TabCol>BLACK</TabCol><TabCol>G1</TabCol><TabCol>40</TabCol><TabCol>Y</TabCol></TabRow>
 <TabRow><TabCol>2</TabCol><TabCol>BLACK</TabCol><TabCol>G2</TabCol><TabCol>50</TabCol><TabCol>Y</TabCol></TabRow>
 <TabRow><TabCol>2</TabCol><TabCol>BLACK</TabCol><TabCol>G2</TabCol><TabCol>60</TabCol><TabCol>X</TabCol></TabRow>
 <TabRow><TabCol>3</TabCol><TabCol>BROWN</TabCol><TabCol>G3</TabCol><TabCol>15</TabCol><TabCol>X</TabCol></TabRow>
 <TabRow><TabCol>3</TabCol><TabCol>BROWN</TabCol><TabCol>G4</TabCol><TabCol>25</TabCol><TabCol>Y</TabCol></TabRow>
 <TabRow><TabCol>3</TabCol><TabCol>BROWN</TabCol><TabCol>G4</TabCol><TabCol>35</TabCol><TabCol>Y</TabCol></TabRow>
 <TabRow><TabCol>3</TabCol><TabCol>BROWN</TabCol><TabCol>G4</TabCol><TabCol>45</TabCol><TabCol>Y</TabCol></TabRow>
-- 1 to 150 rows
</Table>
the required result should be something like this
<Report>
 <Section>
  <SecText>1 WHITE</SecText>
  <SecText>G1</SecText>
  <Table>
   <ColDesc>  
    <ColDef><ColName>Detail_1</ColName></ColDef><ColDef><ColName>Detail_2</ColName></ColDef>
   </ColDesc>
   <TabRow><TabCol>10</TabCol><TabCol>X</TabCol></TabRow>
   <TabRow><TabCol>20</TabCol><TabCol>Y</TabCol></TabRow>
  </Table>
 </Section>
 <Section>
  <SecText>G2</SecText>
  <Table>
   <ColDesc>  
    <ColDef><ColName>Detail_1</ColName></ColDef><ColDef><ColName>Detail_2</ColName></ColDef>
   </ColDesc>
   <TabRow><TabCol>30</TabCol><TabCol>Y</TabCol></TabRow>
  </Table>
 </Section>
 <Section>
  <SecText>2 BLACK</SecText>
  <SecText>G1</SecText>
  <Table>
   <ColDesc>  
    <ColDef><ColName>Detail_1</ColName></ColDef><ColDef><ColName>Detail_2</ColName></ColDef>
   </ColDesc>
   <TabRow><TabCol>40</TabCol><TabCol>Y</TabCol></TabRow>
  </Table>
 </Section>
 <Section>
  <SecText>G2</SecText>
  <Table>
   <ColDesc>  
    <ColDef><ColName>Detail_1</ColName></ColDef><ColDef><ColName>Detail_2</ColName></ColDef>
   </ColDesc>
   <TabRow><TabCol>50</TabCol><TabCol>Y</TabCol></TabRow>
   <TabRow><TabCol>60</TabCol><TabCol>X</TabCol></TabRow>
  </Table>
 </Section>
 <Section>
  <SecText>3 BROWN</SecText>
  <SecText>G3</SecText>
  <Table>
   <ColDesc>  
    <ColDef><ColName>Detail_1</ColName></ColDef><ColDef><ColName>Detail_2</ColName></ColDef>
   </ColDesc>
   <TabRow><TabCol>15</TabCol><TabCol>X</TabCol></TabRow>
  </Table>
 </Section>
 <Section>
  <SecText>G4</SecText>
  <Table>
   <ColDesc>  
    <ColDef><ColName>Detail_1</ColName></ColDef><ColDef><ColName>Detail_2</ColName></ColDef>
   </ColDesc>
   <TabRow><TabCol>25</TabCol><TabCol>Y</TabCol></TabRow>
   <TabRow><TabCol>35</TabCol><TabCol>Y</TabCol></TabRow>
   <TabRow><TabCol>45</TabCol><TabCol>Y</TabCol></TabRow>
  </Table>
 </Section>
</Report>
Version:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
What would be your suggestions (for a beginner absolute xml) on how to approach the problem:
-convert the clob initial xmltype and manipulate this xmltype
(much to learn (do no harm): don't look too deep into xpath again.) Any advice will be highly appreciated)
-build the power requested by the appellant several times the function already available (product < Table >... < /table > clob)
(I don't like the idea of basically repeat the same query (where person_id =: id and GroupName =: g) in the loop)
-make another way - using sql and pl/sql, only that I'm not very familiar with java or other external references

Concerning

Etbin

version data extracted from the second example of XML, bold added

Edited by: Etbin on 12.6.2009 08:52

In other words, what is the environment xml translation of "try to do first, next sql pl/sql... »

Same thing: try to do it in pl/sql to sql first, then...

For a text of sql using DBMS_SQL data, I am able to get a clob as this

Why you don't generate the XML in the format in the first place?

Tags: Database

Similar Questions

  • How can I generate or display the XML data for a purchase order?

    I know that my subject can be confusing.

    Is there a way to display the generated XML code to the data that is passed to the RTF template when generating a purchase order? I would like to see one of my own POs data.

    Possible?

    Thank you

    Manny Otero

    Never mind. I was able to do by following the steps listed here:

    Using "Exit IN. for Communication" at the exit just XML?

    Manny

  • Need help on Date for report BEEP settings

    Hello

    I need to add a parameter date in my BEEP report. I used a date parameter on a BEEP report that has one for each grouping, but my RTF report BEEP pattern that has been converted to Actuate do not have a grouping for each, and I was getting an error when I validate the RTF model. Can someone please?

    Thank you

    see the example of model I sent let me know.

  • Send XML data for the processing of credit cards

    I'm implementing the presentation of an XML document in my Web site for the processing of credit cards using the API from my dealer.

    This is the format that I use for my application. For some reason, I get an error message saying "invalid request Format. XML request is not correct or the application is incomplete. »

    I know that the XML itself is correct, as I submit directly through the URL string in the browser and it works OK.

    Here's what I do:

    < cfsavecontent variable = 'strXML' >

    <!-NOTE: test data below - not my actual data-->
    < txn >
    < > 123456 ssl_merchant_ID < / ssl_merchant_ID >
    < > 123456 ssl_user_id < / ssl_user_id >
    < ssl_pin > V6NJ3A < / ssl_pin >
    < ssl_transaction_type > ccsale < / ssl_transaction_type >
    < ssl_card_number > 1111111111111111 < / ssl_card_number >
    < ssl_exp_date > 1210 < / ssl_exp_date >
    < ssl_amount > 2.34 < / ssl_amount >
    < ssl_salestax > 0.00 < / ssl_salestax >
    < ssl_cvv2cvc2_indicator > 1 < / ssl_cvv2cvc2_indicator >
    < ssl_cvv2cvc2 > 321 < / ssl_cvv2cvc2 >
    < 1234 > ssl_invoice_number < / ssl_invoice_number >
    < ssl_customer_code > 1111 < / ssl_customer_code >
    client < ssl_first_name > < / ssl_first_name >
    name of < ssl_last_name > < / ssl_last_name >
    < ssl_avs_address > 1234 main st. < / ssl_avs_address >
    the apt b < ssl_address2 > < / ssl_address2 >
    < ssl_city > any city < / ssl_city >
    < ssl_state > ST < / ssl_state >
    < ssl_avs_zip > 55555 < / ssl_avs_zip >
    < ssl_phone > 555-555-5555 < / ssl_phone >
    < ssl_email > [email protected] < / ssl_email >
    < / txn >

    < / cfsavecontent >

    < cfhttp url = "https://www.myvirtualmerchant.com/VirtualMerchant/processxml.do?xmldata=" method = "post" >
    < cfhttpparam type = "XML" value = "trim (strXML)" >
    < / cfhttp >

    < cfoutput > #cfhttp. FileContent # < / cfoutput >



    Can someone tell me what I am doing wrong?

    (The developer's guide is available here):

    https://www.myvirtualmerchant.com/VirtualMerchant/download/developerGuide.PDF)

    Thank you!

    Seek to deepen your original message.

    You're saying this...
    "I know that the XML itself is correct, I can submit directly through
    the URL string in the browser and it works well. »

    Who said to me that you are using URL get parameters not post form
    parameters. Also you do not have the name of the url parameter in the url
    string, unless you put the value one. If you use the
    Tag, it must contain the name. Finally you seem
    Miss the sharps.

    Give this or something like this a try.

    <>
    URL = "https://www.myvirtualmerchant.com/VirtualMerchant/processxml.do".
    method = "get" >

  • evaluation of XML data for comparison

    Anyone know if it is possible to assess an xml node to see if it retains a specific value, and if so, how?

    I'm trying to do something like that...

    Set myChild = myRoot.evaluateXPathExpression("//collections/page/pnum")

    If myChild (1) = 1 THEN

    [do something]

    On the other

    [do something]

    End if

    I get an error "Object does not support this property or method" on the first line of the if statement.

    If I placeXML in a text frame, I can get the value of myChild (1), so I know the term XPath is correct and there is something out there, I just can't understand how to use it.

    This particular node must contain the value of 1.

    I use VB and CS5.5, but responds to javascript / examples are fine.

    Thank you

    I had figured it out.  If anyone cares to know, it goes like this...

    If .silence myChild (1) = 1 THEN

  • Tag format XML (data)

    Hello

    y at - it a utility or an editor, that can format XML data automatically.

    in fact, I understand the hierarchy of xml data, for this I need manually align the xml tag.

    See the following link, it can help you.

    http://geek.sylvainw.com/2010/03/28/using-Notepad-to-quickly-format-XML/

  • R12 payment process Request Status Report add additional columns to the XML data.

    In 11i, we had modified the preliminary report of payment to include additional columns (distributions of invoice). R12, this report is obsolete and Oracle introduced a new report 'Payment process Request Status Report'. This query uses BI Publisher to generate the release of the final report. I can't edit the template for the output XML to the report has not
    contains data for distribution invoice account. We need to know how we can modify the XML data to include additional columns.

    For the disbursement of funds (payment instructions file) process, Oracle provides extensibility IBY_FD_EXTRACT_EXT_PUB package to build the custom XML element structure that can be added to the extracted XML payment generated by the Oracle payments. Do we have something similar to this report? Are there other options available?

    Thank you

    Hello

    The same "IBY_FD_EXTRACT_EXT_PUB" package also works for the payment request process status report. Please add the logic to get the distribution data in this package, and you'll see the new XML tags in this report also.

    I hope this helps.
    Serge

  • Report XML data

    Hi all

    Is possible to create a report output XML?

    I have a function that returns the XML code and need to create a report about him, I wrote a function that shreds XML and creates a collection that I use to create an interactive report, but I can't do the header of the report in this way.

    There are also other cases where the report has several sections and I need to post this, as several reports in APEX or a single report with several sections.

    Meet someone something like that before?

    Hello

    Here is an example of out-of-the-box... Note that you must omit the Clause WITH-provide the XML code as
    a literal - but the last part would be to start with a model...

    with xml as (
      select
    xmltype('
     Alerts
    
    2010-04-20/11:10:20
    2010-04-27/11:10:20
    
    
    1
    o1g
    2010-04-27/08:00:25
    OPEN
    DEVDB
    
    
    
    1fkh93md0802n
    select /*+ RULE */ * from customers where cust_id+0 between 100734 and 100736
    
    2010-04-27/09:43:38
    2008213504
     
     
    RBO: Rule hint in statement 
    
    
    
    d69gjv9g8bxk9
    select upper(substr(CUST_MARITAL_STATUS,1,3)), CUST_GENDER, count(*) from customers
    group by upper(substr(CUST_MARITAL_STATUS,1 || ,3)), CUST_GENDER 
    
    2010-04-27/09:05:26
    1577413243
     ,6
     ,6
     No specific reason
    
    
    
    ') doc from dual
    )
    select
      h.parm_startdate,
      h.parm_enddate,
      h.inst_name,
      r.row_sqlid,
      r.row_plan_hash
    from
      xml,
      xmltable(
        'for $i in /XML return $i'
        passing xml.doc
        columns
         parm_startdate varchar2(15) path '/XML/PARAMETERS/START_DATE/text()',
         parm_enddate varchar2(15) path '/XML/PARAMETERS/START_DATE/text()',
         inst_name varchar2(10) path '/XML/INSTANCE/NAME/text()'
       ) h,
      xmltable(
        'for $i in //ROW return $i'
        passing xml.doc
        columns
          row_sqlid varchar2(30) path '/ROW/SQL_ID/text()',
          row_plan_hash varchar2(30) path '/ROW/PLAN_HASH/text()'
       ) r
    /
    

    This help...?

    Concerning

    Carsten-

    Deutschsprachige APEX-community: tips, tricks, best practices
    http://tinyurl.com/apexcommunity

    SQL and PL/SQL: Tipps, tricks & recommended
    http://SQL-PLSQL-de.blogspot.com

    Twitter: @cczarski

  • Set point problem selected in the drop-down list box that is the XML data provider

    HI - new to Flex, experienced Java dev., hoping someone can help me see the light of what should be easy but...

    I have a Flex 3 MXML application form that contains a ComboBox as follows:
    < mx:ComboBox id = "physRegion" editable = dataProvider = "{regionRequest.lastResult.region 'false'}" / > "

    The combo box is filled by the provider of data like:
    MX:HTTPService id = "regionRequest" url = "flexDAOServlet" resultFormat = "e4x" method = "POST" >
    < / mx:HTTPService >

    and the underlying XML code looks like this:
    <>region
    Northland < label > < / label >
    < value > 1 < / value >
    < / region >
    <>region
    Auckland < label > < / label >
    < value > 2 < / value >
    < / region >
    ...

    Drop-down list box loads the XML code very well. the user can select an item and the appropriate value is submitted to the server without problem. My problem is when I want to "recharge" the form with previous values.
    I can reload the text without problem fields.

    But I can't work in my ActionScript function, how to set the combo box so that it displays "Auckland" for example, the element with the value = 2. I'll be back this server id, even if I could get the XML code or label if that would help me solve this problem.

    I tried physRegion.selectedItem = "Auckland" - nope. "
    I tried physRegion.selectedItem = 2 - nope.
    I tried
    var XML = myXML:XML ("< region > < label > Auckland < /label > < value_2 > < value > < / region >");
    physRegion.selectedItem = myXML;
    and - nope.

    I know that I'm a new style user here error (and thank you for reading this far! your patience is appreciated) but I can't for the life of me see what it is. Can anyone help?

    Many thanks in advance for clues. Apart from that, I'm loving Flex.
    Kind regards
    Adrian

    Two things to note. The only problem with the function that has provided ChiefRocka00 is that it is based on the identifier of the data, which means your always limited to have that be the identifier of your value. Personally, I'll be back queries a lot of times where the labelFIeld and dataField aren't labels / data pairs a suggestion would be to add a third parameter and have it checked for this identifier instead of the data. The other thing to note is that it is more common to use selectedIndex instead of selectedItem. If you do not want to do something more like physRegion.selectedIndex = selectCboIndexByData ("physRegion, ' Auckland", label) by using the update function of

    public void selectCboIndexByData(theCbo,_theDataValue,_identifier:String):Number {}
    for (var i: Number = 0; i< thecbo.dataprovider.length;="">
    If (theCbo.DataProvider.getItemAt (i) [ID] == theDataValue) {}
    Return i;
    }
    }
    return 0;
    }

  • Getting the error "the device reported unexpected or invalid data for a command. (oxC0AA02FF) when you try to create the system repair disc

    original title: error 0xC0AA02FF

    I try to use a "USB" "cruzer" to create a disc repair system, but when I click on this drive to create it I get the following error message:

    "The device reported unexpected or invalid data for a command.  (oxC0AA02FF)

    Hello

    What method did you follow to create the system repair disc?

    I suggest you to create the system with different USB repair disc and check if it helps.

    Means all try the methods and check them off below if it helps.

    Method 1:

    Try to put the computer in a clean boot state, and then check if it helps.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    Method 2:

    I also suggest you to perform check disk (chkdsk) on the computer and see if it helps.

    http://Windows.Microsoft.com/en-us/Windows7/check-a-drive-for-errors

    Note: You may lose a small amount of data while performing the check disk.

    I also inform you that the data on the USB key will be lost. You should take a backup.

    You can also check with the reference article below:

    http://Windows.Microsoft.com/en-us/Windows7/create-a-system-repair-disc

  • Table design for the newspaper error due to a xml data type

    Hello

    I am trying to create a table of error log, but I get the below error

    ORA-20069: unsupported column or the types found:

    Table on which I am trying to create a column with the xml data type.

    Is there a way to create the error table for tables with the XML data type.

    Thank you

    PAL

    http://docs.Oracle.com/CD/E11882_01/server.112/e41084/statements_9014.htm#SQLRF55101

    Concerning

    Etbin

    http://docs.Oracle.com/CD/E11882_01/AppDev.112/e40758/d_errlog.htm#ARPLS680

    Look at the skip_unsupported setting

  • Create schemas for data warehouse for Reporting with Oracle XE

    It is possible to import home charger with the Oracle XE database and dw?

    I get this error ORA-00439: feature not enabled not: progress of replication in the log of the CIM.

    I saw that the database, we do not have have the feature "advanced replication."

    SQL> select * from v $ option where parameter = 'Advanced replication';
    
    
    PARAMETER
    -------------------------------------------------- --------------
    VALUE
    -------------------------------------------------- --------------
    advanced replication
    FALSE
    
    
    

    Journal of the CIM:

    Mon Feb 23 14:16 BRT 2015 1424711760686 atg.cim.database.dbsetup.CimDBJobManager module of high level of information for Reporting data warehouse Datasource list page: domain controllers. DW, ARF. DW.base, ARF. DW. InternalUsers, Store.Storefront

    Info my Feb 23 14:16:05 BRT 2015 1424711765012 atg.cim.database.dbsetup.CimDBJobManager 0 0 imports has not been executed.

    Info my Feb 23 14:16:05 BRT 2015 1424711765192 atg.cim.database.dbsetup.CimDBJobManager list of module level for Datasource Reporting charger: DafEar.Admin, DCS. DW, DCS. PublishingAgent, ARF.base, Store.EStore, Store.EStore.International

    Info my Feb 23 14:16:05 BRT 2015 1424711765733 atg.cim.database.dbsetup.CimDBJobManager 1 1 imports has not been executed.

    Info my Feb 23 14:16:05 BRT 2015 1424711765953 atg.cim.database.dbsetup.CimDBJobManager list of top level for Datasource Publishing module: DCS - UI. Versioned, BIZUI, PubPortlet, DafEar.admin, DCS - UI. SiteAdmin.Versioned, SiteAdmin.Versioned, DCS. Versioned, DCS - UI, Store.EStore.Versioned, Store.Storefront, DAF. Endeca.Index.Versioned, DCS. Endeca.Index.Versioned, ARF.base, DCS. Endeca.Index.SKUIndexing, Store.EStore.International.Versioned, Store.Mobile, Store.Mobile.Versioned, Store.Endeca.International, Store.KnowledgeBase.International, Portal.paf, Store.Storefront

    Info my Feb 23 14:16:11 BRT 2015 1424711771561 atg.cim.database.dbsetup.CimDBJobManager 65 65 imports has not been executed.

    Info my Feb 23 14:16:11 BRT 2015 1424711771722 atg.cim.database.dbsetup.CimDBJobManager list of top level for Datasource Production Core module: Store.EStore.International, DafEar.Admin, DPS, DSS, DCS. PublishingAgent, DCS. AbandonedOrderServices, DAF. Endeca.Index, DCS. Endeca.Index, Store.Endeca.Index, DAF. Endeca.Assembler, ARF.base, PublishingAgent, DCS. Endeca.Index.SKUIndexing,Store.Storefront,Store.EStore.International,Store.Recommendations,Store.Mobile,Store.Endeca.International,Store.Fluoroscope,Store.KnowledgeBase.International,Store.Mobile.Recommendations,Store.Mobile.International,Store.EStore,Store.Recommendations.International

    Info my Feb 23 14:16:12 1424711772473 2015 BRT atg.cim.database.dbsetup.CimDBJobManager 30 30 imports has not been executed.

    Info my Feb 23 14:16:19 BRT 2015 1424711779573 atg.cim.database.dbsetup.CimDBJobManager creating schema to the Reporting data warehouse data source

    Info my Feb 23 14:16:19 BRT 2015 1424711779653 atg.cim.database.dbsetup.CimDBJobManager list of top level for Datasource Reporting data warehouse module: domain controllers. DW, ARF. DW.base, ARF. DW. InternalUsers, Store.Storefront

    Info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager DatabaseTask Create for Module ARF. DW.base, sql/db_components/oracle/arf_ddl.sql

    Info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager DatabaseTask Create for Module ARF. DW.base, sql/db_components/oracle/arf_view_ddl.sql

    Info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager DatabaseTask Create for Module ARF. DW.base, sql/db_components/oracle/arf_init.sql

    Info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager Create DatabaseTask Module domain controller. DW, sql/db_components/oracle/arf_dcs_ddl.sql

    Info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager Create DatabaseTask Module domain controller. DW, sql/db_components/oracle/arf_dcs_view_ddl.sql * info my Feb 23 14:16:19 BRT 2015 1424711779993 atg.cim.database.dbsetup.CimDBJobManager Create DatabaseTask Module domain controller. DW, sql/db_components/oracle/arf_dcs_init.sql

    Info my Feb 23 14:16:21 atg.cim.database.dbsetup.CimDBJobManager BRT 2015 1424711781085 found 2 of the 6 unrun previously of tasks for Datasource Reporting data warehouse

    Info my Feb 23 14:16:21 BRT 2015 1424711781085 atg.cim.database.dbsetup.CimDBJobManager 1 ARF. DW.base: sql/db_components/oracle/arf_view_ddl.sql

    Info my Feb 23 14:16:21 atg.cim.database.dbsetup.CimDBJobManager 1424711781085 2015 BRT 2 domain controllers. DW: sql/db_components/oracle/arf_dcs_view_ddl.sql

    Info my Feb 23 14:16:21 BRT 2015 1424711781085/atg/dynamo/dbsetup/job/DatabaseJobManager starting work of setting up data 1424711781085.

    Error my Feb 23 14:16:21 BRT 2015 1424711781516 /atg/dynamo/dbsetup/database/DatabaseOperationManager---java.sql.SQLException: ORA-00439: feature not enabled not: Advanced replication

    is there a solution?

    Hello

    We have not tested and certified with Oracle XE internally

    You must use an Oracle Enterprise Edition for Advanced Replication

    What version of Oracle trade you install, I can't say extract of newspaper, you've posted

    ++++

    Thank you

    Gareth

    Please indicate any update as "Good response" or "Useful answer" If this update help and answers your question, so that others can identify the correct/good update between the many updates.

  • Mocha for Final Cut xml data

    Hey,.

    Why can't I export Mocha for Final Cut xml data? I don't have such an option by pressing the button data export. Is it because I have the version group Mocha?

    Yes.  The on-board version only works with After Effects.

  • Report of the Group of dates for end of month

    Hi guys

    I need to get 6 months of data grouped by months end dates...

    I need to automate this query so that it looks always to date for the last 6 months

    How do I get there?

    The reason for writing the automated query, it's that this sql script is assigned to the business objects reporting.

    I use the pl/sql

    Here's the DOF

    create the table #Something
    (
    base_date datetime, int connections
    )

    Insert #Something
    Select ' 01 jul 2013', 21 Union all the
    Select ' 02 jul 2013', all 22 union
    Select ' 03 jul 2013', 210 Union all the

    ....

    ...

    Select July 31, 2013,"Union 498
    ' Select ' 01 August 2013 ', 44 Union all the
    ' Select ' 05 August 2013 ', 66 Union all the
    ...

    ....

    Select ' 03 dec 2013", 456 union all
    .

    .

    'Select December 31, 2013,"788

    ..............................................................................

    Desired output

    Connection of base Date

    31 jul 500 (not exact, just randomly)

    August 31 600

    30 sep 356

    31 Oct 676

    30 Nov 544

    31 Dec 456

    ..............................................................................

    Hope this helps

    Hello

    In Oracle, you can do this:

    SELECT LAST_DAY (TRUNC (base_date)) AS last_day_of_month

    SUM (connections) AS total_connections

    OF something

    WHERE base_date > = TRUNC (ADD_MONTHS (SYSDATE,-6), 'MONTH')

    AND base_date<  trunc="" (           ="" sysdate,     ="">

    GROUP OF LAST_DAY (TRUNC (base_date))

    ORDER BY last_day_of_month

    ;

    If you would care to post some CREATE TABLE and INSERT statements so you want the results of work from these data of the sample, then I could test this.

    Using Oracle?  #Something (with a sign # at the beginning) is not valid a table name, and datetime is not a valid data type in Oracle.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: https://forums.oracle.com/message/9362002

    The query above works if base_date is a DATE or TIMESTAMP.

    Since it is now January 2014, what are "the last 6 months?  The above query assumes that they are the last 6 months, that is, July to December 2013.

    If you mean the current (incomplete) and 5 months before it (i.e. August 2013 to January 2014), then add 1 month to the two deadlines in the WHERE clause:

    WHERE base_date > = TRUNC (ADD_MONTHS (SYSDATE,-5), 'MONTH')

    AND base_date<  trunc="" (add_months="" (sysdate, ="" 1) ="">

  • JavaScript for XML data to fill checkboxes in .pdf?  Adobe Pro 9

    I'm working on a system where these forms data as XML and fills the .pdf at the end of the registration of the end user to sign and confirm online forms.  The end user is using a web-based form system and not directly by filling the .pdf.  The question that I am running is the XML data to be a 'TRUE' or 'FALSE' value for an XML field.  I am filling a box "YES" and a check box "NO" a field that has the value "TRUE" or "FALSE".

    For example, if enrollment.answervalue is TRUE place a check in the box YES and leaving the NON-empty box.

    If enrollment.answervalue is FALSE check in the NO box and leave empty the YES box.

    If there is no data XML at all for enrollment.answervalue leaves both YES and NO vacuum.

    I have filled out the form via "Add or edit fields" and gave the YES, the name enrollment.answervalue (from the XML) box, I gave the case No. enrollment.answervalueno of name but there is not a field from the XML.

    I am trying to add some javascript in the page properties tab at the opening of the Page to run a Javascript script for my example above.  What is the right way to make this work?  I can't use Live Cycle, because the online registration system is not compatible with it.

    I am very new to javascript and would be grateful if someone could point me in the right direction.  I think it's a very simple script but for some reason, I can't work.

    Thank you.

    You want to give each check box, the same name but a different export value. To select the YES check box, set the value of the field to the export value that you assigned him. Same for the box. To select none, set the value of the field to the string "Off".

    A JavaScript action shouldn't enter into it. The values of the fields will set when the data file is imported into the form. Exactly how y yo what do I do?

Maybe you are looking for