Create XML using Data Templates

Is anyone familiar will a tool, other than oracle that will create XML from data template definitions.
I trying to understand if the data template definitions are an Oracle specific tool that only Oracle can use to generate XML files.
If this is specific to Oracle, is there an easier way to use the data templates to generate XML without registering them in the concurrent manager, XMLP Admin, and then executing the concurrent process?
I'm looking for a shortcut to testing these files without having to register everything.

Why not using XML Publisher Standalone aka Enterprise 5.6.2 ?
There you can generate the XML based on data templates without registering anything. The installation is quite easy.
Juergen

Similar Messages

  • How to generate xml using "Data Template"

    Hi,
    Can any one please tell me the steps to create xml using "Data Template".
    As per the user guide the execution method for "data Template" is "Java Concurrent Program" and the Executable mentiones is "XDODTEXE".
    But there is no information about the "execution file name" and "execution path name" which is mandatory.
    Thanks and Regards,
    Sandhya

    Hi Sandhya,
    To put a Data Template into use, you don't need to define any new executables. XDODTEXE executable is already registered in the system, as it ships with the application. The Data Template is not an executable as such, but a collection of instructions for what queries to perform and what should the resulting XML look like. XDODTEXE knows how to interpret those instructions, and produce the XML output.
    (And if you add a layout template, handle that too.)
    You do need to do the following:
    1) Create a new Data Definition (XML Publisher Administrator > Data Definitions)
    2) Upload your Data Template (remember the Code for the next step)
    3) Create a Concurrent Program that is linked to the Data Definition (Short Name = Code) (System Administrator > Program > Define)
    4) Add your Concurrent Program to a Request Group (System Administrator > Security > Responsibility > Request)
    I recommend you take a look at the XML Publisher Administration and Developer's Guide, you will find more information there.
    (http://download-west.oracle.com/docs/cd/B40089_02/current/acrobat/120xdoig.pdf)
    Best Regards & Happy New Year 2008,
    Matilda Smeds

  • Create XML using data from Oracle

    Other than using OracleXMLQuery, how do I create an XML file from the data from a table in Oracle?
    Rgds,
    Seetesh

    Vetsrini:
    Thanks for your response. I no longer can receive email at [email protected], because I am at a different company now. So please post directly to this forum so I can receive my messages.
    I would imagine that "look ahead" is a feature needed by many applications, since the heading of a document may depend on the data within. In my case, we have a Pack Slip that we want the bold heading title to change if the word "FAX" is inside the body of the document. Instead of saying "Pack Slip", it would say "Fax Pack Slip".
    Any hints would be greatly appreciated.
    Regards,
    Rich Locus

  • XML Publisher --Data Template-Help

    Hi
    we are using XML Publisher attached to R12 , we are using data template ( .XML file) in data definition .
    we have a requirement for master details report. for that we have parent query and child query .the data coming to parent query should be the parameter to child query
    Exp-- Parent Query-- select empno from emp
    Child Query --select  * from dept where empno=:p_empno (p_empno =empno from Parent query ) 
    For this requirement we are creating a data template (.XML file) . we are successfully to write for the parent query, but we fails when come to child query. Please help us how it can be wrote in data template . You can send any example related to this issue.

    This forum is noway related to XML Publisher. I had redirected you to the actual BI Publisher already once. You should post it there.

  • How to get UTF-8 encoding when create XML using DBMS_XMLGEN and UTL_FILE ?

    How to get UTF-8 encoding when create XML using DBMS_XMLGEN and UTL_FILE ?
    Hi,
    I do generate XML-Files by using DBMS_XMLGEN with output by UTL_FILE
    but it seems, the xml-Datafile I get on end is not really UTF-8 encoding
    ( f.ex. cannot verifying it correct in xmlspy )
    my dbms is
    NLS_CHARACTERSET          = WE8MSWIN1252
    NLS_NCHAR_CHARACTERSET     = AL16UTF16
    NLS_RDBMS_VERSION     = 10.2.0.1.0
    I do generate it in this matter :
    declare
    xmldoc CLOB;
    ctx number ;
    utl_file.file_type;
    begin
    -- generate fom xml-view :
    ctx := DBMS_XMLGEN.newContext('select xml from xml_View');
    DBMS_XMLGEN.setRowSetTag(ctx, null);
    DBMS_XMLGEN.setRowTag(ctx, null );
    DBMS_XMLGEN.SETCONVERTSPECIALCHARS(ctx,TRUE);
    -- create xml-file:
    xmldoc := DBMS_XMLGEN.getXML(ctx);
    -- put data to host-file:
    vblob_len := DBMS_LOB.getlength(xmldoc);
    DBMS_LOB.READ (xmldoc, vblob_len, 1, vBuffer);
    bHandle := utl_file.fopen(vPATH,vFileName,'W',32767);
    UTL_FILE.put_line(bHandle, vbuffer, FALSE);
    UTL_FILE.fclose(bHandle);
    end ;
    maybe while work UTL_FILE there is a change the encoding ?
    How can this solved ?
    Thank you
    Norbert
    Edited by: astramare on Feb 11, 2009 12:39 PM with database charsets

    Marco,
    I tryed to work with dbms_xslprocessor.clob2file,
    that works good,
    but what is in this matter with encoding UTF-8 ?
    in my understandig, the xmltyp created should be UTF8 (16),
    but when open the xml-file in xmlSpy as UTF-8,
    it is not well ( german caracter like Ä, Ö .. ):
    my dbms is
    NLS_CHARACTERSET = WE8MSWIN1252
    NLS_NCHAR_CHARACTERSET = AL16UTF16
    NLS_RDBMS_VERSION = 10.2.0.1.0
    -- test:
    create table nh_test ( s0 number, s1 varchar2(20) ) ;
    insert into nh_test (select 1,'hallo' from dual );
    insert into nh_test (select 2,'straße' from dual );
    insert into nh_test (select 3,'mäckie' from dual );
    insert into nh_test (select 4,'euro_€' from dual );
    commit;
    select * from nh_test ;
    S0     S1
    1     hallo
    1     hallo
    2     straße
    3     mäckie
    4     euro_€
    declare
    rc sys_refcursor;
    begin
    open rc FOR SELECT * FROM ( SELECT s0,s1 from nh_test );
    dbms_xslprocessor.clob2file( xmltype( rc ).getclobval( ) , 'XML_EXPORT_DIR','my_xml_file.xml');
    end;
    ( its the same when using output with DBMS_XMLDOM.WRITETOFILE )
    open in xmlSpy is:
    <?xml version="1.0"?>
    <ROWSET>
    <ROW>
    <S0>1</S0>
    <S1>hallo</S1>
    </ROW>
    <ROW>
    <S0>2</S0>
    <S1>straޥ</S1>
    </ROW>
    <ROW>
    <S0>3</S0>
    <S1>m㢫ie</S1>
    </ROW>
    <ROW>
    <S0>4</S0>
    <S1>euro_€</S1>
    </ROW>
    </ROWSET>
    regards
    Norbert

  • Bursting entire report as a single file by using Data Template

    Hi,
    I have created a report by using data template, which consists of 3 queries.
    Is it possible to burst the entire report in one single file? without splitting based on any criteria?
    Something like I want to use a constant value key so that report will split into one file ONLY.
    Please advice.
    Regards
    Muarli.

    You are right in saying that I dont want to use the burst option.. but the problem with FTP delivery, is that I can't pass the date parameter in the file name. Only fixed single file name is provided there..
    Work around for this is to use bursting option to pass corresponding parameter value in output file.
    I'm facing the problem that by using data template source, I can't burst in enterprise edition based on SQL statement.
    Getting the below error:
    oracle.apps.xdo.servlet.scheduler.ProcessingException: java.lang.NullPointerException
         at oracle.apps.xdo.servlet.scheduler.XDOJob.runBurstingReport(XDOJob.java:2116)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:358)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Caused by: java.lang.NullPointerException
         at oracle.apps.xdo.servlet.scheduler.XDOJob.runBurstingReport(XDOJob.java:2018)
         ... 3 more
    Bursting Definitions I used are as below.
         Bursting Node          /SCHEME_SETT_SUMMARY/LIST_G_VALUE_DATE/G_VALUE_DATE/ssc_code
         Delivery Node           /SCHEME_SETT_SUMMARY/LIST_G_VALUE_DATE/G_VALUE_DATE/ssc_code
    But the same report is running and I can schedule by using FTP delivery without bursting option successfully.
    Please assist in resolving this issue.
    Regards
    Murali.

  • Getting error while creating subsite using custom template in sharepoint2013

    Hi,
    I am getting the following error while creating subsite using custom template in sharpoint2013. even publish features are enabled.
    Please suggest me on this.
    Thanks in advance.

    You need to enable the PerformancePoint Service Site Collection Features(PPSMonDatasourceCtype)
    on the target site collection. go to site action > site settings> site collections features > and enable it and now try again.
    Similar case: http://imughal.wordpress.com/2012/09/20/dependency-feature-ppsmondatasourcectype-id-05891451-f0c4-4d4e-81b1-0dabd840bad4-for-feature-bicenterdataconnections-id-3d8210e9-1e89-4f12-98ef-643995339ed4-is-not-activated-at-this-scop/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • HTML tags not displayed when using Data Template

    Hi All...
    I'm developing a BI Publisher report in which one of the columns is a clob data type. I'm using an xsl stylesheet to format the data present in the clob column.
    I've developed the report using data template as the data set. The problem is the clob column which has the HTML tags where not displayed properly...for example
    the tag starting with
    <
    is replaced with
    & lt;
    I did a couple of searches in this forum and in tim's blog but couldn't find a proper solution...
    http://blogs.oracle.com/xmlpublisher/2007/01/formatting_html_with_templates.html
    API and HTML Formated Content
    Re: Problem with text data elements containing escaped HTML codes
    HTML Output from CDATA
    Re: HTML formatted output
    Re: Special characters in CLOB are making report fail
    Re: Formatting of HTML tag problem
    I'm using BI Publisher standalone:Release 10.1.3.2. In one of the threads..
    Re: Special characters in CLOB are making report fail
    I came to know that data template cannot generate proper HTML tags for release 10.1.3.2. Is there any work around way to get the proper HTML tags when data template is used as a data set?
    Thanks in Advance...
    Edited by: user10280715 on Dec 9, 2008 3:13 PM

    Issue could be with the data that is selected in the other environment. It generally happens that the ALV will not give the same results as in the DEV in the other systems.
    Possible errors could be the control break statements in the loop...endloop block. validate the correctness of the control break stmts if any.

  • Use the XML with data template

    Hi,
    I want to use double sql query with data template.
    How can I do ??
    Thanks...

    it's okey, I had use a rtf file insead and search/replace my keywords using the String.replaceAll(String, String) function...

  • Create asset using scat template

    Hai gurus,
    my finance user create LVA asset using scat template and the procument make the PO. When the user want to make good receipt it give an error. when i check using as03 the asset already have capitalized date on previous year. How this came? or this is a bug? how can the asset thatn just created and make the po not yet good receipt but have the capitalized date?
    Anyone have same experience?
    Regards,
    muzaidi

    Hi muzaidi,
    It sounds like the capitalization date is getting entered through the SCAT.  Try to identify if the capitalization date is a field being entered when running the SCAT.  Look for field name ANLA-AKTIV.
    In the meantime, use Tcode AS02 to try to remove the existing capitalization date.  If the item is not modifiable, use Tcode SPRO -> Financial Accounting -> Asset Accounting -> Master Data -> Screen Layout -> Define Screen Layout for Asset Master Data.  For the applicable screen layout rule make the capitalization date modifiable on both the main and sub asset number levels.
    Thanks,
    Chad

  • XML/RTF Data Template Question : Linking

    Ok, I have my data template here however when I try to print it, BIP makes no attempt to link the queries. I am using the Bind Method here with an XML Data Template.
    Data template is:
    <dataTemplate name="Orders_Dataset" description="List of Orders with Details" dataSourceRef="COE" defaultPackage="results_report">
    <parameters>
    <parameter name="TERM" dataType="character"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="People_Query">
    <![CDATA[SELECT DISTINCT PERSON Personp, RECTYPE RECTYPEP, SEC SECP, TERM TERMP, (SELECT TERMNAME FROM TERM b WHERE b.BANNER_CODE = TERM ) termnamep, PERSON || ' ' || SEC PERSEC FROM COE_DATA]]>
    </sqlStatement>
    <sqlStatement name="General_Questions_Query">
    <![CDATA[select DISTINCT d.PERSON PERSON, d.SEC SEC, q.Q_Number Q_Number, q.Q_ID Q_ID, TRIM(q.TEXT) text, TRIM(q.A1) A1, TRIM(q.A2) A2, TRIM(q.A3) A3, TRIM(q.A4) A4, TRIM(q.A5) A5, TRIM(A6) A6 from  COE_DATA d, coe_questions q WHERE q.Q_Number = d.Q_ID and Q_Number < 6 and d.Person = :Personp order by Q_Number]]>
    </sqlStatement>
    <sqlStatement name="Department_Questions_Query">
    <![CDATA[select DISTINCT d.PERSON PERSON, d.SEC SEC, q.Q_Number Q_Number, q.Q_ID Q_ID, TRIM(q.TEXT) text, TRIM(q.A1) A1, TRIM(q.A2) A2, TRIM(q.A3) A3, TRIM(q.A4) A4, TRIM(q.A5) A5, TRIM(A6) A6 from  COE_DATA d, coe_questions q WHERE q.Q_Number = d.Q_ID and d.Person = :Personp order by Q_Number]]>
    </sqlStatement>
    <sqlStatement name="Results_Query">
    <![CDATA[SELECT DISTINCT a.person person, a.rectype rectype, a.sec sec, a.term term, a.Q_ID q_id,
    NVL((SELECT b.PERCENTVALUE FROM coe_data b where a.person = b.person and a.rectype = b.RECTYPE and a.sec = b.sec and a.term = b.term and a.Q_ID = b.Q_ID and b.AD_ID = 1 ), '0 |  0.00%') A1,
    NVL((SELECT c.PERCENTVALUE FROM coe_data c where a.person = c.person and a.rectype = c.RECTYPE and a.sec = c.sec and a.term = c.term and a.Q_ID = c.Q_ID and c.AD_ID = 2 ), '0 |  0.00%') A2,
    NVL((SELECT d.PERCENTVALUE FROM coe_data d where a.person = d.person and a.rectype = d.RECTYPE and a.sec = d.sec and a.term = d.term and a.Q_ID = d.Q_ID and d.AD_ID = 3 ), '0 |  0.00%') A3,
    NVL((SELECT f.PERCENTVALUE FROM coe_data f where a.person = f.person and a.rectype = f.RECTYPE and a.sec = f.sec and a.term = f.term and a.Q_ID = f.Q_ID and f.AD_ID = 4 ), '0 |  0.00%') A4,
    NVL((SELECT g.PERCENTVALUE FROM coe_data g where a.person = g.person and a.rectype = g.RECTYPE and a.sec = g.sec and a.term = g.term and a.Q_ID = g.Q_ID and g.AD_ID = 5 ), '0 |  0.00%') A5,
    NVL((SELECT h.PERCENTVALUE FROM coe_data h where a.person = h.person and a.rectype = h.RECTYPE and a.sec = h.sec and a.term = h.term and a.Q_ID = h.Q_ID and h.AD_ID = 6 ), '0 |  0.00%') A6, 1 o_id
      FROM coe_data a where term = :termp and a.Q_ID = :Q_Number and a.sec = 'COE' and a.person = 'COE'
    UNION
    SELECT DISTINCT a.person person, a.rectype rectype, a.sec sec, a.term term, a.Q_ID q_id,
    NVL((SELECT b.PERCENTVALUE FROM coe_data b where a.person = b.person and a.rectype = b.RECTYPE and a.sec = b.sec and a.term = b.term and a.Q_ID = b.Q_ID and b.AD_ID = 1 ), '0 |  0.00%') A1,
    NVL((SELECT c.PERCENTVALUE FROM coe_data c where a.person = c.person and a.rectype = c.RECTYPE and a.sec = c.sec and a.term = c.term and a.Q_ID = c.Q_ID and c.AD_ID = 2 ), '0 |  0.00%') A2,
    NVL((SELECT d.PERCENTVALUE FROM coe_data d where a.person = d.person and a.rectype = d.RECTYPE and a.sec = d.sec and a.term = d.term and a.Q_ID = d.Q_ID and d.AD_ID = 3 ), '0 |  0.00%') A3,
    NVL((SELECT f.PERCENTVALUE FROM coe_data f where a.person = f.person and a.rectype = f.RECTYPE and a.sec = f.sec and a.term = f.term and a.Q_ID = f.Q_ID and f.AD_ID = 4 ), '0 |  0.00%') A4,
    NVL((SELECT g.PERCENTVALUE FROM coe_data g where a.person = g.person and a.rectype = g.RECTYPE and a.sec = g.sec and a.term = g.term and a.Q_ID = g.Q_ID and g.AD_ID = 5 ), '0 |  0.00%') A5,
    NVL((SELECT h.PERCENTVALUE FROM coe_data h where a.person = h.person and a.rectype = h.RECTYPE and a.sec = h.sec and a.term = h.term and a.Q_ID = h.Q_ID and h.AD_ID = 6 ), '0 |  0.00%') A6, 2 o_id
      FROM coe_data a where term = :termp and a.Q_ID = :Q_Number and a.sec = :secp and a.person = :secp
    UNION
    SELECT DISTINCT a.person person, a.rectype rectype, a.sec sec, a.term term, a.Q_ID q_id,
    NVL((SELECT b.PERCENTVALUE FROM coe_data b where a.person = b.person and a.rectype = b.RECTYPE and a.sec = b.sec and a.term = b.term and a.Q_ID = b.Q_ID and b.AD_ID = 1 ), '0 |  0.00%') A1,
    NVL((SELECT c.PERCENTVALUE FROM coe_data c where a.person = c.person and a.rectype = c.RECTYPE and a.sec = c.sec and a.term = c.term and a.Q_ID = c.Q_ID and c.AD_ID = 2 ), '0 |  0.00%') A2,
    NVL((SELECT d.PERCENTVALUE FROM coe_data d where a.person = d.person and a.rectype = d.RECTYPE and a.sec = d.sec and a.term = d.term and a.Q_ID = d.Q_ID and d.AD_ID = 3 ), '0 |  0.00%') A3,
    NVL((SELECT f.PERCENTVALUE FROM coe_data f where a.person = f.person and a.rectype = f.RECTYPE and a.sec = f.sec and a.term = f.term and a.Q_ID = f.Q_ID and f.AD_ID = 4 ), '0 |  0.00%') A4,
    NVL((SELECT g.PERCENTVALUE FROM coe_data g where a.person = g.person and a.rectype = g.RECTYPE and a.sec = g.sec and a.term = g.term and a.Q_ID = g.Q_ID and g.AD_ID = 5 ), '0 |  0.00%') A5,
    NVL((SELECT h.PERCENTVALUE FROM coe_data h where a.person = h.person and a.rectype = h.RECTYPE and a.sec = h.sec and a.term = h.term and a.Q_ID = h.Q_ID and h.AD_ID = 6 ), '0 |  0.00%') A6, 3 o_id
      FROM coe_data a where term = :TERMP and a.Q_ID = :Q_NUMBER and a.sec = :SECP and a.person = :PERSONP order by o_id, rectype]]>
    </sqlStatement>
    </dataQuery>
    <!--dataTrigger name="beforeReport" source="results_report.beforeReportTrigger"/-->
    <dataStructure>
    <group name="G_People" source="People_Query">
    <element name="Person" value="personp"/>
    <element name="Section" value="secp"/>
    <element name="Course_Number" value="RECTYPEP"/>
    <element name="Term" value="TERMP"/>
    <element name="PERSEC" value="PERSEC"/>
    <group name="G_GENERAL_QUESTIONS" source="Department_Questions_Query">
    <element name="GQuestion_Text" value="text"/>
    <element name="GQuestion_Number" value="Q_Number"/>
    <element name="GQ1" value="A1"/>
    <element name="GQ2" value="A2"/>
    <element name="GQ3" value="A3"/>
    <element name="GQ4" value="A4"/>
    <element name="GQ5" value="A5"/>
    <element name="GQ6" value="A6"/>
    <group name="G_GENERAL_ANSWERS" source="Results_Query">
    <element name="GAPerson" value="person"/>
    <element name="GArec" value="rectype"/>
    <element name="GAsec" value="sec"/>
    <element name="GARQ_ID" value="Q_ID"/>
    <element name="GA1" value="A1"/>
    <element name="GA2" value="A2"/>
    <element name="GA3" value="A3"/>
    <element name="GA4" value="A4"/>
    <element name="GA5" value="A5"/>
    <element name="GA6" value="A6"/>
    </group>
    </group>
    <group name="G_DEPARTMENT_QUESTIONS" source="Department_Questions_Query">
    <element name="DQuestion_Text" value="text"/>
    <element name="DQuestion_Number" value="Q_Number"/>
    <element name="DQ1" value="A1"/>
    <element name="DQ2" value="A2"/>
    <element name="DQ3" value="A3"/>
    <element name="DQ4" value="A4"/>
    <element name="DQ5" value="A5"/>
    <element name="DQ6" value="A6"/>
    <group name="G_DEPARTMENT_ANSWERS" source="Results_Query">
    <element name="DAPerson" value="person"/>
    <element name="DArec" value="rectype"/>
    <element name="DAsec" value="sec"/>
    <element name="DARQ_ID" value="Q_ID"/>
    <element name="DA1" value="A1"/>
    <element name="DA2" value="A2"/>
    <element name="DA3" value="A3"/>
    <element name="DA4" value="A4"/>
    <element name="DA5" value="A5"/>
    <element name="DA6" value="A6"/>
    </group>
    </group>
    </group>
    </dataStructure>
    </dataTemplate>
    I am trying to establish all my linking in this data template. However I noticed a discrepancy between the expected output and what I received. For some reason at the 3rd level of the dataStructure (the answer level), it restarts at Q_ID = 1 instead of whatever the Q_Number is from the level above. In my case all of the answers are in the same table regardless of category. Can someone offer up any help with fixing my template?
    I did notice something odd, for G_DEPARTMENT_ANSWERS it is working correct but does not work for G_GENERAL_ANSWERS.

    Warren,
    You need to select data source type as DataTemplate and then cut and paste your DataTemplate in the text editor window.
    Make sure you define the dataSourceRef in dataTemplate Header. The dataSourceRef is the DataSource (JDBC Connection) you define through Administartion.
    <dataTemplate name="Employee" description="Template description" dataSourceRef="demo">
    -Ashish

  • Creating XML using JSP

    Hi I want to create a xml using JSP For eg I want to create a report
              and I want to take all the data required for the report from the user
              and want to put all the information in a session and whenever a user
              wants to see the html output I should be able to parse the xml file
              and show it to user.
              I know it is doable but I am confused about storing the data in
              session and concerting that data into XML file any help would be
              great.
              Thanks,
              Preeti
              

    Sounds like you might want to look at XML data binding. Something like JAXB
              or Castor can create an object that can be turned into XML by merely calling
              a single method and probably streamed to Xalan or whatever to create HTML.
              However, don't quote me on this - I am having enough troubles with trying to
              get the compiled Objects to be as I wish. Basically, they both take your
              DTD with an extra file that defines the types to be used in the classes -
              i.e. instead of string int might be used - and which tags to turn into
              classes and general information such as this about the output of your
              classes. You then simply call Unmarshal (for both castor and JAXB) and it
              loads the file from the selected input stream into the created object, you
              edit the object, what ever - store it on the server... and call Marshal to
              get back the xml... as this is all using streams it could be passed to Xalan
              for processing i think...
              Hope I've helped, and answered your question a little!
              "Preeti Sikri" <[email protected]> wrote in message
              news:[email protected]...
              > Hi I want to create a xml using JSP For eg I want to create a report
              > and I want to take all the data required for the report from the user
              > and want to put all the information in a session and whenever a user
              > wants to see the html output I should be able to parse the xml file
              > and show it to user.
              >
              > I know it is doable but I am confused about storing the data in
              > session and concerting that data into XML file any help would be
              > great.
              >
              > Thanks,
              > Preeti
              

  • Dynamically creating XML using Sap-xMII Colum and Row Action Block

    Hi,
    I am trying to create a xMII-format XML using IlluminatorDocument Action Block.
    My problem statement is during run time I am required to create columns on the fly.which I have done using xMII Colum Action block.but now I am required to assing values to these dynamically created columns.I have tried using Data Item and Row action block but am not sucessful in doing so.Can anyone help in creating this xml Dynamically.
    The steps that I have followed is
    defined
    tagquery action block and defined tagquery
    blank Illuminator Document Action block
    put a repeater on result of tag query
    set a counter
    updated the counter
    used column action block and mapped the column name i.e IlluminatorColumn_0.Name------"test"&Local.count
    my column output looks like
    Rowsets DateCreated="2007-03-27T12:59:39" EndDate="2007-03-27T11:42:40" StartDate="2007-03-27T11:42:40" Version="11.5.0">
         <Rowset>
              <Columns>
                   <Column Description="" MaxRange="100" MinRange="0" Name="test1" SQLDataType="1" SourceColumn="test1"/>
                   <Column Description="" MaxRange="100" MinRange="0" Name="test2" SQLDataType="1" SourceColumn="test2"/>
                   <Column Description="" MaxRange="100" MinRange="0" Name="test3" SQLDataType="1" SourceColumn="test3"/>
                   <Column Description="" MaxRange="100" MinRange="0" Name="test4" SQLDataType="1" SourceColumn="test4"/>
                   <Column Description="" MaxRange="100" MinRange="0" Name="test5" SQLDataType="1" SourceColumn="test5"/>
              </Columns>
    </Rowset>
    </Rowsets>
    after this action block i want to assign values to each column i.e
         <Row/>
              <Row/>
              <Row/>
              <Row/>
              <Row/>
    i.e erach row tags should be filled with columntag and value
    but i am not able to achieve the same
    Can anyone help me doing this

    After adding IllumColum Action block I have created 5 columns dynamically
    but now I am unable to add row.
    currently for everycolumn created it is giving one row  without any column node
    the configurations that I have done in Data Item Action Block is
    In My Link Editor
    IlluminatorColumn_0.Name----
    >IlluminatorDataItem_0.Name
    hardcoded the value i.e 20----
    >IlluminatorDataItem_0.Value
    IlluminatorDocument_0.Output----
    >IlluminatorDataItem_0.IlluminatorDocument
    current resultset I am getting is
    <?xml version="1.0" encoding="UTF-8"?>
    <Rowsets DateCreated="2007-03-27T12:59:39" EndDate="2007-03-27T11:42:40" StartDate="2007-03-27T11:42:40" Version="11.5.0">
         <Rowset>
              <Columns>
                   <Column Description="" MaxRange="100" MinRange="0" Name="test1" SQLDataType="1" SourceColumn="test1"/>
                   <Column Description="" MaxRange="100" MinRange="0" Name="test2" SQLDataType="1" SourceColumn="test2"/>
                   <Column Description="" MaxRange="100" MinRange="0" Name="test3" SQLDataType="1" SourceColumn="test3"/>
                   <Column Description="" MaxRange="100" MinRange="0" Name="test4" SQLDataType="1" SourceColumn="test4"/>
                   <Column Description="" MaxRange="100" MinRange="0" Name="test5" SQLDataType="1" SourceColumn="test5"/>
              </Columns>
              <Row/>
              <Row/>
              <Row/>
              <Row/>
              <Row/>
         </Rowset>
    </Rowsets>

  • Creating XML using XPath

    Hello,
    I want to creat XML document using Dom and XPath, as per my knowledge goes I can't create it using XPath {I may b wrong, if I am then pls tell me know :-) }.
    If there doesn't exists any thing like this I am thinkin of wrapping a class {say its XPathProcesserDom} which takes the XPath querry and internaly creates XML Document and returns on request. Is this a good idea :-)
    waiting for comments :-)....
    thanks and regards,
    MaheshPujari

    Hi Piyush
    I don't see how you can create a XML document via xpath!?!? xpath it's only used to reference data in an XML document...
    Chris

  • Timezone problem in XML from data template

    The xml returned from one of my data templates seems to be randomly applying timezones of +00:00 or +01:00 to the dates.
    This is causing a problem in the PDF output from the report where the timezone is processed and some of the dates are showing as the day before that held in the database. The sql in the data template is just returning the raw column, no extra processing there. What's going on, is this a known bug?
    Appreciate any help you can provide.
    Cheers,
    Dave
    XML extract:
    - <G_TRX>
    <EXPENSE_TEMPLATE>N/AMiscellaneous Expenses</EXPENSE_TEMPLATE>
    <TEMPLATE_DATE_CREATED>2007-09-13T11:51:46.000+01:00</TEMPLATE_DATE_CREATED>
    <TEMPLATE_DATE_INACTIVATED>2008-06-05T00:00:00.000+01:00</TEMPLATE_DATE_INACTIVATED>
    <EXPENSE_ITEM>Evening Dress Hire</EXPENSE_ITEM>
    <ITEM_DATE_CREATED>2007-09-13T12:24:54.000+01:00</ITEM_DATE_CREATED>
    <ITEM_DATE_INACTIVATED />
    <TAX_CATEGORY>PAY</TAX_CATEGORY>
    <ASSIGNMENT_DATE>2007-09-28T00:00:00.000+01:00</ASSIGNMENT_DATE>
    <TAXCAT_DATE_INACTIVATED>2007-11-07T00:00:00.000+00:00</TAXCAT_DATE_INACTIVATED>
    </G_TRX>
    - <G_TRX>
    <EXPENSE_TEMPLATE>N/AMiscellaneous Expenses</EXPENSE_TEMPLATE>
    <TEMPLATE_DATE_CREATED>2007-09-13T11:51:46.000+01:00</TEMPLATE_DATE_CREATED>
    <TEMPLATE_DATE_INACTIVATED>2008-06-05T00:00:00.000+01:00</TEMPLATE_DATE_INACTIVATED>
    <EXPENSE_ITEM>Evening Dress Hire</EXPENSE_ITEM>
    <ITEM_DATE_CREATED>2007-09-13T12:24:54.000+01:00</ITEM_DATE_CREATED>
    <ITEM_DATE_INACTIVATED />
    <TAX_CATEGORY>P11D</TAX_CATEGORY>
    <ASSIGNMENT_DATE>2007-11-08T00:00:00.000+00:00</ASSIGNMENT_DATE>
    <TAXCAT_DATE_INACTIVATED>4712-12-31T00:00:00.000+00:00</TAXCAT_DATE_INACTIVATED>
    </G_TRX>
    - <G_TRX>
    <EXPENSE_TEMPLATE>N/AMiscellaneous Expenses</EXPENSE_TEMPLATE>
    <TEMPLATE_DATE_CREATED>2007-09-13T11:51:46.000+01:00</TEMPLATE_DATE_CREATED>
    <TEMPLATE_DATE_INACTIVATED>2008-06-05T00:00:00.000+01:00</TEMPLATE_DATE_INACTIVATED>
    <EXPENSE_ITEM>Evening Dress Purchase</EXPENSE_ITEM>
    <ITEM_DATE_CREATED>2007-09-13T12:24:54.000+01:00</ITEM_DATE_CREATED>
    <ITEM_DATE_INACTIVATED />
    <TAX_CATEGORY>PAY</TAX_CATEGORY>
    <ASSIGNMENT_DATE>2007-01-01T00:00:00.000+00:00</ASSIGNMENT_DATE>
    <TAXCAT_DATE_INACTIVATED>4712-12-31T00:00:00.000+00:00</TAXCAT_DATE_INACTIVATED>
    </G_TRX>
    SQL from data template:
    - <sqlStatement name="Q_TRX">
    - <![CDATA[
    select aer.REPORT_TYPE "EXPENSE_TEMPLATE"
    ,aer.CREATION_DATE "TEMPLATE_DATE_CREATED"
    ,aer.INACTIVE_DATE "TEMPLATE_DATE_INACTIVATED" 
    ,aerp.PROMPT "EXPENSE_ITEM"
    ,aerp.CREATION_DATE "ITEM_DATE_CREATED"
    ,aerp.END_DATE "ITEM_DATE_INACTIVATED"
    ,xaetl.TAX_CATEGORY "TAX_CATEGORY"
    ,xaetl.EFFECTIVE_START_DATE "ASSIGNMENT_DATE"
    ,xaetl.EFFECTIVE_END_DATE "TAXCAT_DATE_INACTIVATED"
    from ap_expense_reports aer
    ,ap_expense_report_params aerp
    ,xx_ap_expense_tax_lines_f xaetl
    where aer.EXPENSE_REPORT_ID = aerp.EXPENSE_REPORT_ID
    and aerp.PARAMETER_ID = xaetl.expense_report_parameter_id
    AND &p_exp_item_lines_where
    AND &p_tax_category_where
    AND &p_exp_template_where
    ORDER BY aer.REPORT_TYPE
    ,aerp.PROMPT
    ,xaetl.EFFECTIVE_START_DATE
      ]]>
    </sqlStatement>

    Tim
    Is is a sample record from the sql query. Sorry it's not the same as the XML above but the data has changed on the instance so some of the fields weren't populated on those records.
    EXPENSE_TEMPLATE,TEMPLATE_DATE_CREATED,TEMPLATE_DATE_INACTIVATED,EXPENSE_ITEM,ITEM_DATE_CREATED,ITEM_DATE_INACTIVATED,TAX_CATEGORY,ASSIGNMENT_DATE,TAXCAT_DATE_INACTIVATED
    "Long Term Detached Duty",12/09/2007 14:45:57,null,"LTDD:Air Travel
    Domestic",13/09/2007 11:45:08,null,"PSA",01/01/2007,31/12/4712
    First row is column names for ease of understanding :-)
    Appreciate any info you can provide on this.
    Cheers,
    Dave

Maybe you are looking for

  • How do you determine a column's data type?

    Let's say I have a DB Table out there and I have NO WAY of knowing that column 1 is a CHAR, column 2 is a SMALLINT or whatever. I can write sql to select * from table and see everything, but how do I know what each column's data type is?

  • Using tomcat 5 along with apache 2.2

    hi i am facing a strange problem i am trying to build a web application using servlets with tomcat 5 and apache 2.2 and i am using oracle 10g as the data base now when try to access the database from my pc it works fine but when i try to access it fr

  • How to make the SLA time stop when the status of SR is set to Customer Action?

    Dear All, When a Service Request is created, the agent take over this SR and then set the status to Customer Action. I know the CRM 7.03 has the ability to exclude the Cumtomer Action time out form the Response time of SLA. However, I don`t know how

  • Firefox problems with Netflix

    Netflix rebuffers so much it's hard to watch a movie...Comcast says Firefox is the problem & I should change to another browser. Comments about this? Anyone with same problem? Thanks...

  • Needs adobe flash player

    My Lumia 920 cannot play streaming broadcast. It says install adobe flash player. But there is no compatible flash player. Can somebody help me in this concern? Thanks Solved! Go to Solution.