the deleting of the output XML tag beginning with LIST_

Hello

I have a requirement to generate a report with the XML output. This output will be used for downloading information to another application. I know the names of all the tags and I can't have other tags.
I have a file xml for bi publisher and work very well but the group element added a tag more beginning with LIST_.
for example
< LIST_mygroup_name >
< mygroup_name >
....
< / mygroup_name >
< / LIST_mygroup_name >

I want to remove all the tags that begin with LIST_.
Any suggestion?
Thank you

Kale.

Reports6i, I can click on the properties of the report of the group to remove the label from the list.

Model data it is sufficient to add the property

          

Don't forget to give me points!

IKE Wiggins
http://bipublisher.blogspot.com

Tags: Business Intelligence

Similar Questions

  • Rename the particular XML tag

    Hi the Indesign Experts,

    I am confused many in the sub question. I have an indesign document. In the xml structure, if I select an item and when trying to rename the selected item markupTag.name, is changing all elements with the name of the selected elements.

    input.GIF

    I use the code to execute after selecting an element of xml below.

    App.Selection [0].markupTag.Name = "test";

    But the look of the output like below.

    output.GIF

    But I want onlu to rename the selected xmlelement.

    Any idea to do?

    Thank you and best regards,

    Vel.


    You change the name of the tag applied rather than assigning another tag. Try this:

    var testTag = app.activeDocument.xmlTags.item("test").isValid ? app.activeDocument.xmlTags.item("test") : app.activeDocument.xmlTags.add({name: "test"});
    app.selection[0].markupTag = testTag;
    

    Jeff

  • Concatenate the nested XML tags

    Hello

    I am looking for a solution concatenate duplicate in an xml tags.

    I need only the tags 'tag' 'type = keyword' in a field in a table.

    The sql statement that I use, I get six records and I just need a registration.

    Hope that my written English is not hard to understand what I mean.

    It is a part of the XML data.

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

    < list >

    < article id = "25230245" title = "st" publish = "true" sender =">

    < categories >

    < naam category = "Staking" externalid = "Economy/staking" / >

    < / categories >

    < geoinfo latitude =' 52,3936' longitude' 6,142065 =' zoom = "15" / >

    < tags >

    < tag name = 'Overijssel, Raalte, Raalte' type = 'rental' / >

    < tag name = 'Overijssel, Deventer, Deventer' type = 'rental' / >

    < tag name = 'Overijssel Olst-Wijhe Wijhe' type = 'rental' / >

    < tag name = "CAD" type = "keyword" / >

    < name of tag = "vleeswarensector" type = "keyword" / >

    < name of tag = "seniorenregeling" type = "keyword" / >

    < tag name = "fnv bondgenoten" type = "Keyword" / >

    < name of tag = "werkonderbreking" type = "keyword" / >

    < tag name = 'Zwanenburg' type = "Keyword" / >

    < tag name = "staking" type = "Keyword" / >

    < tag name = "Scott" type = "Keyword" / >

    < name of tag = "La¼pack" type = "keyword" / >

    < tag name = "cnv vakmensen" type = "Keyword" / >

    < / tags >

    < publicatiedatum datum = '1400663902374' datumstr ='2014 - 05-21T 11: 18:00 + 0200 "/ >"

    < wijzigingsdatum datum = '1400663902374' datumstr ='2014 - 05-21T 11: 18:00 + 0200 "/ >"

    < printdatum datumstr = May 22, 2014 "/ >"

    < bestemming >

    < bestemming channel = 'web' site = 'ST' page =' Regio/Deventer /' primary = "false" / >

    < bestemming channel = 'web' site = 'ST' page =' Regio/Olst-Wijhe /' primary = "false" / >

    < bestemming channel = 'web' site = 'ST' page =' Regio/Raalte /' primary = "true" / >

    < / bestemming >

    < bron naam = "Benny Koerhuis" / >

    < figurines / >

    < / product >

    < / list >

    And it's my sql (part of a plsql procedure) statement.

    SELECT decode (upper (t1.publish), 'TRUE', 'Y', 'n')

    , trunc (to_date (substr (replace (t1.pdate, 't',' '), 1, 19), "YYYY-MM-DD HH24:MI:SS")) update

    , to_date (substr (replace (t1.flitstijd, 't',' '), 1, 19), "YYYY-MM-DD HH24:MI:SS") flitstijd

    t1.naam_flitser

    t1.sectie

    t1.titel

    t1.soort

    t2.trefwoorden

    OF flits_berichten_clob t1

    , XMLTABLE ("' / / test/artikel")

    By the WAY of XMLTYPE (t1.xml_file)

    COLUMNS publish VARCHAR2 (10) path '@publish '.

    update the PATH in VARCHAR2 (25) "publicatiedatum/@datumstr".

    , flitstijd PATH VARCHAR2 (25) "wijzigingsdatum/@datumstr".

    , naam_flitser PATH VARCHAR2 (25) "bron/@naam".

    , books VARCHAR2 (255) PATH 'bestemmingen/bestemming[@primary="true"]/@page '.

    , titel VARCHAR2 (10) path 'bestemmingen/bestemming[@primary="true"]/@site '.

    , soort PATH VARCHAR2 (10) 'bestemmingen/bestemming[@primary="true"]/@channel '.

    tags XMLTYPE PATH 'tags') t1

    , XMLTABLE ('/ tags/tag [@type = "keyword"] ")

    PASSAGE t1.tags

    T2 of COLUMNS trefwoorden VARCHAR2 (255) PATH "@name")

    ID WHERE = 15;

    This is the result.

    THERE21/05/201421/05/2014-11:18Benny KoerhuisRegio/Raalte.STWebwerkonderbreking
    THERE21/05/201421/05/2014-11:18Benny KoerhuisRegio/Raalte.STWebZwanenburg
    THERE21/05/201421/05/2014-11:18Benny KoerhuisRegio/Raalte.STWebstaking
    THERE21/05/201421/05/2014-11:18Benny KoerhuisRegio/Raalte.STWebStegeman
    THERE21/05/201421/05/2014-11:18Benny KoerhuisRegio/Raalte.STWebLa¼Pack
    THERE21/05/201421/05/2014-11:18Benny KoerhuisRegio/Raalte.STWebCNV vakmensen

    Is it possible to concatenate the results of the last column?

    It should be "werkonderbreking, Zwanenburg, staking, Stegeman, la¼pack, cnv vakmensen" so, I get a recording instead of six.

    Thanks in advance.

    Is it possible to concatenate the results of the last column?

    Yes, use string-join function:

    ...

    titel PATH of VARCHAR2 (10) 'bestemmingen/bestemming[@primary="true"]/@site '.
    soort PATH of VARCHAR2 (10) 'bestemmingen/bestemming[@primary="true"]/@channel '.
    trefwoorden PATH of VARCHAR2 (4000) 'string-join(tags/tag[@type="keyword"]/@name, ",").

    ) t1

    In this way, that you need more of the second XMLTABLE.

  • Remove the attribute xml Tags help please

    Hello

    Can anyone suggest me how I can attribute del keyterm Tags.

    Remove only the attribute olinkend kt-real-zero

    Screen shot 2012-01-11 at 5.54.18 PM.png

    Thank you

    Best regards, snegig

    1. I saw the warning "Content contains characters that cannot be encoded." when importing xml, but have never tracked down what is happening. Or if I have never seen different content in InDesign than what I expected after seeing this warning. Perhaps, it occurs when the imported xml file does not have the attribute of coding on the initial processing instruction, but InDesign figures on the encoding? I do not know.

    2. If you want to remove any olinked attribute on keyterm items, simply modify the XPath in .evaluateXPathExpression to //keyterm[@olinkend] . If you want to match multiple specific values, just do//keyterm[@olinkend = 'KT01401' or @olinkend = 'KT01402' or @olinkend = 'KT01403'].

    Jeff

  • The analysis of the output XML of DBMS_METADATA

    I was wondering if someone managed to parse the output of DBMS_METADATA. XML in the columns of relational access to higher values of partition etc without the restrictions of data type LONG dictionary?

    For example, I was hoping I could use something like the following to get the metadata of the partition for the SOMEPARTITIONEDTABLE table:
    SELECT EXTRACTVALUE(dict.xmlddl, '/ROWSET/ROW/TABLE_T/PART_OBJ/PART_LIST/PART_LIST_ITEM')
    FROM   ( SELECT dbms_metadata.get_xml('TABLE','SOMEPARTITIONEDTABLE') AS xmlddl FROM dual ) dict;
    It gives me "ORA-00932: inconsistent data types: expected - got-

    It is not quite that simple, of course, because I actually checked out of/SCHEMA_OBJ/SUBNAME and /HIBOUNDVAL for each PART_LIST_ITEM, so I think I first need to break the XML into a PART_LIST_ITEMs XMLTABLE. Unfortunately, XML syntax makes my head ache.

    The idea is that it would be useful in various maintenance tasks of partition such as archiving scripts without having to install a bunch of types and packages.

    You can try this:

    SELECT x.*
    FROM XMLTable(
     '/ROWSET/ROW/TABLE_T/PART_OBJ/PART_LIST/PART_LIST_ITEM'
     passing xmltype( dbms_metadata.get_xml('TABLE','SOMEPARTITIONEDTABLE') )
     columns
      obj_num number path 'OBJ_NUM',
      subname varchar2(30) path 'SCHEMA_OBJ/SUBNAME',
      hiboundval number path 'HIBOUNDVAL'
    ) x
    ;
    
  • IsDefined dislikes the names of variables beginning with a number. Unless they are defined...

    Hello

    I detected a strange (for me) behavior of the IsDefined function. I have something like:

    < cfif IsDefined ("url.vose") > < cfset = "value" unevariable > < / cfif >

    < cfif IsDefined ("url.3d") > < cfset = "value" unevariable > < / cfif >

    * If url.3d is set, all right. All work as expected.

    * If url.3d is not defined, CF throws an error "Parameter 1 of function IsDefined, which is now url.3d, must be a syntactically valid variable name".

    * If I use structKeyExists (url, "3d") instead of IsDefined("url,3d"), works as expected.

    I have tried different combinations of variable names and extended (EP, url.5d, or form.3d) and the problem seems to be the number at the beginning of the name of the variable.

    This is the expected behavior? I found it very strange that it works if the variable exists and only generates an error if not. Can it be considered a bug and should be reported?

    TIA,

    It doesn't matter if the language is CF or JavaScript or PHP-HTML - variable names are considered invalid if they do not begin with a letter or underscore.  You must friezer prefix a variable name with a number.

    Also, I have heard many developers complain IsDefined().  Use rather StructKeyExists().

     blah blah blah 
    
     blah blah blah 
    

    V/r,

    ^_^

  • Ask the glossary of words beginning with a specific letter

    I have a page which is a glossary of terms. This is a table of 2 field.  Word and definition.  Is there a way to pull all the words beginning with a specific letter?  How complicated this request would be?

    Select * from mytable where the word like 'a % '.

  • Export pdf file as xml in vb with the appropriate xml tag name

    Hi all

    I have a following code in vb which is used to convert pdf to xml format.

    Dim AcroXApp As Acrobat.AcroApp
    Dim AcroXAVDoc As Acrobat.AcroAVDoc
    Dim AcroXPDDoc As Acrobat.AcroPDDoc
    Dim Filename As String

    Filename = "D:test.pdf".
    AcroXApp = CreateObject ("AcroExch.App")
    AcroXApp.Show)
    AcroXAVDoc = CreateObject ("AcroExch.AVDoc")
    AcroXAVDoc.Open (Filename, "Acrobat")
    AcroXPDDoc = AcroXAVDoc.GetPDDoc
    Dim jsObj As Object
    jsObj = AcroXPDDoc.GetJSObject
    jsObj.SaveAs ("\Test.xml", "com.adobe.acrobat.xml - 1-00")
    AcroXAVDoc.Close (False)
    AcroXApp.Hide)

    AcroXApp.Exit)

    The foregoing is the pdf to xml conversion. But what I want is PDF to I want to get the good tag named xml (as in adobe acrobat pro Tools-> form-> shape options more-> export to a file for-> xml). I designed my pdf in adobe livecycle designer 7.1. Thanks in advance.

    Concerning

    -Ganesh.

    This code turns into a completely different XML schema, I don't think that it is designed for the export of the form at all. There is JavaScript methods to export shape data, I think. However, I've never read the LiveCycle JavaScript API, so I don't know what is there (be SURE not not to use the JavaScript API in Acrobat!)

  • Store the output XML editor in the database blob column

    Hello

    We have a requirement to store the pdf files generated by several applications simultaneous xml editor in a database blob column, so that they can be recovered later, whenever required by the user. As far as we know, publisher concurrent request XML output files are stored on the node of simultaneous treatment and the location of the file does not exist in the FND_CONCURRENT_REQUESTS table. But these files to purge from time to time. We are therefore looking for a solution to store these files in the database to the display if necessary.

    If someone knows a solution or can point me to the right direction, it would be much appreciated.

    Thank you very much
    Mary

    Hi Mary,

    You must load the PDF files in the database. Write a regular competitor program which monitors fnd_concurrent_requests and load a custom table or fnd_lobs with any editor of BI exit function application concurrent reading files. BI Publisher output files according to naming convention, so easy to find. http://garethroberts.blogspot.com/2008/07/where-do-i-get-XML-file-or-request.html

    Kind regards
    Gareth

  • How to make the output of Sql Plus with an error Code

    Dear members,

    How can I define sql more exit with an error code.

    We have a simultaneous host program. The executable is a shell script for this program. This sql script Shell script request which in turn gives call to a custom database package that I built.

    The flow rate is:


    -> SQL-> CUSTOM PACKAGE SCRIPT SHELL SCRIPT

    Custom package has two PARAMETERS of the error indicator and the error message. If something fails in the package these two PARAMETERS is returned with a value.

    So my sql script code looks like this:

    WHENEVER SQLERROR EXIT 251
    WHEN the OSERROR EXIT 251
    Set serveroutput size 1000000
    set linesize 32767
    set verify off
    set the position
    Set feedback off

    DECLARE
    x_error_message VARCHAR2 (1000);
    x_sql_message VARCHAR2 (1000);
    x_exception EXCEPTION;
    e_value NUMBER;

    BEGIN
    dbms_output.put_line ('Inside sql file');


    XXpackage.xxproc (x_error_message, x_sql_message);


    IF (x_error_message IS NOT NULL) AND (x_sql_message IS NOT NULL) THEN
    RAISE x_exception;
    END IF;


    EXCEPTION
    WHEN X_EXCEPTION THEN
    e_value: = 1;
    DBMS_OUTPUT. Put_line (' Exit Code: ' | e_value);
    DBMS_OUTPUT. Put_line ('X_EXCEPTION: EXCEPTION IN SCRIPT xpoext04a.sql :'||) SQLERRM);
    DBMS_OUTPUT. Put_line ('x_error_message is: ' | x_error_message);
    DBMS_OUTPUT. Put_line ('x_sql_message is: ' | x_sql_message);
    DBMS_OUTPUT. PUT_LINE (' ERROR IS: ' |) SQLERRM);
    WHILE OTHERS THEN
    e_value: = 252;
    DBMS_OUTPUT. Put_line (' Exit Code: ' | e_value);
    DBMS_OUTPUT. Put_line (' OTHER: EXCEPTION IN SCRIPT xpoext04a.sql :'||) SQLERRM);
    DBMS_OUTPUT. Put_line ('x_error_message is: ' | x_error_message);
    DBMS_OUTPUT. Put_line ('x_sql_message is: ' | x_sql_message);
    DBMS_OUTPUT. PUT_LINE (' ERROR IS: ' |) SQLERRM);


    END;
    */*
    output
    */*


    As you can see from above, if the two PARAMETERS have value, then it goes to an exception.

    My problem is that if it goes with the exception of X_EXCEPTION, the sql is not come away with a mistake. I mean sql is not treat this case like a sqlerror.


    How can do us more sql dating a sqlerror so that the host program must fail.


    Thank you
    Sandeep

    Published by: user340 on July 28, 2009 12:51

    Published by: user340 on July 28, 2009 12:57

    the plu sql is not come away with a mistake. I mean sql is not treat this case like a sqlerror.

    This is because there is no error. You handled the exception.

    You can try adding a STIMULUS; at the end of your exception section. This re-triggers the exception so sql liked to see it.

  • Using the stand-alone converter 5 with entry as local windows 7 in vmware fusion 4 output, the output is a folder with many files. How can I get this folder into a single file with the extension windows7.vmwarevm?

    I use standalone converter where I am converting my local windows 7 in vmware fusion 4 at the exit. When I made the migration wizard previously, I had an output of a windows7.vmwarevm file. However, when I made the converter, I had a folder called windows7. In this case, I had several files.

    Is there a way for me to convert all these files into one file, that is to say: windows7.vmwarevm? do I need to use the converter or other vmware tools?

    Welcome to the community,

    Please take a look at Re: how to convert a package/package of my folder on drive hard/vmware fusion? to see if that helps. This is a pretty old post, but I think that it is still valid.

    André

  • Value of the loop variable for begins with the last entry of the previous run

    I have a problem with a loop for... I am a beginner with Labview and perhaps do not follow the order of events (since it runs not on a line-by-line as typical of programming languages), but I think that my problem is trivial.

    Say I'm running a loop for 16 iterations and I want to build a table which, for example, consists of four 0s, 1 4s, four 2s and 3 four s.   I initialize the array outside and using shift registers to be added to the matrix in the loop for.

    However, the first time I run the program I get funky results.  In subsequent runs, the first value in my table is a 3, and the rest of the rest of the table is moved down by 1, so I did that three 3s at the end (for example).

    Can someone help me understand how to solve this problem?

    Thank you

    George


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


    Hello

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

    Kind regards

    Mounia

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

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

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

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

    Concerning

    Ian

  • Extract the value between the xml tags in the XML inside the BLOB field

    Hello

    I have a table that contains a BLOB column, this XML file to store column that received from an external source. Now for one of my needs. I need to read that value is the specific XML tag and create the entry in the database.

    Column name DataType
    IDNumber
    RecordBLOB OBJECT

    This is the XML code that is stored in the file inside the BLOB field format. XML below, I need go get AMC1234 there is after < itemName > text < / itemName > I thought to use XMLTYPE, but unfortunately my DBA team does not XML database, I now use UTL_RAW. CAST_TO_VARCHAR2 and recovery entire string, but I am not able to read actual result it takes. Can someone help me remove AMC1234.

    <? XML version = "1.0"? >

    <! DOCTYPE importFile SYSTEM "xyz.dtd" >

    -< importFile >

    -< importResult >

    < mode status = "DΘFINIR" > general failure < / status >

    < statusCode > 1 < / statusCode >

    invalid < errorMsg > list and holiday component < / errorMsg >

    -< returnInfo >

    < itemName > PRQ < / itemName >

    < Valeurelement > CBA < / Valeurelement >

    < / returnInfo >

    -< returnInfo >

    < itemName > LMP < / itemName >

    < Valeurelement > CBA < / Valeurelement >

    < / returnInfo >

    -< returnInfo >

    < itemName > KEY < / itemName >

    < Valeurelement > 9999 < / Valeurelement >

    < / returnInfo >

    -< returnInfo >

    < itemName > text < / itemName >

    < Valeurelement > AMC1234, FIXED_ALL, RED < / Valeurelement >

    < / returnInfo >

    < / importResult >

    < / importFile >


    Thank you

    Without

    Without - try something like...

    with t as (select"

    -

    -

    General failure

    1

    component and invalid vacation list

    -

    PRQ

    ABC

    -

    LMP

    ABC

    -

    KEY

    9999

    -

    Text

    AMC1234, FIXED_ALL, RED

    "the double pass."

    )

    Select Replace (regexp_substr (col,'([^<>']) itemName))

    , replace (regexp_substr (col,'([^<>""]) Valeurelement))

    t

    connection of level <=> ');

  • Output XML code directly will open in the browser

    Hello

    I use OAS 10g R2. We are generates all the reports with the PDF output directly in the browser. For some of them, we implemented exit Excel, but it does not work very well. After that, we deployed out Excel through Rep2Excel but has too many problems.
    Finally, we opted to generate reports with the output XML, using DesFormat = XML and DesType = CACHE. We want this release to be opened directly in Microsoft Excel, but browsers (Firefox or IE) that open directly so that users must save the output in an XML file and then open it with Excel.

    We know some so that the output can be directed to Excel without this extra step?

    Thank you!

    Hello

    You can test to use the mimetype parameter:

    http://www.Oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/Cmdline/common/cla_mimetype.htm

    Concerning

Maybe you are looking for