How variable with concatenated handling?

Hi, I need help!

I have a small problem, when I concatenate variables. I can't remove the comma after the last loaded variable.

XML

< listPeople >

< people >

< name > DIVINO CARVALHO DE OLIVEIRA < / name >

< qualification > RG. 111.333 SSP/MT < / qualifying >

< / people >

< people >

< name > ARISTIDES PERALTA MARTINS < / name >

SSP/222,555 MS, < qualification >< / qualifying >

< / people >

< / listPeople >


And function


<? If: xdoxslt:get_variable($_XDOCTX,_'PEOPLE')! = ' ' ? > <? xdoxslt:set_variable ($_XDOCTX, 'PEOPLE', concat (xdoxslt:get_variable($_XDOCTX,_'PEOPLE'), concat (name, ',')))? >

<? end if? >

Thank you!

,

It works, but not sure how to do this with your code.

Tags: Business Intelligence

Similar Questions

  • How can I report a number of variable with a precision of 127 type?

    I try to declare a variable with precision - like for example V_NUM NUMBER (1,127).

    According to oracle, it should be possible-

    http://docs.Oracle.com/CD/E11882_01/server.112/e41084/sql_elements001.htm#SQLRF30020

    2

    NUMBER[ (p [, s]) ]

    Number having precision p and scale s . Precision p may vary from 1 to 38. Wide s can vary from-84 to 127. Precision and scale are in decimal digits. A NUMBER value requires 1 to 22 bytes.

    but after the execution of the present

    declare

    Number V_NUM (1 127);

    Start

    V_NUM: = 1.2333333333333333333333234343435;

    DBMS_OUTPUT. PUT_LINE (V_NUM);

    end;

    /

    I got error (I know that p must be greater, then s - but I can't figured an example for this case s = 127)

    Error starting line: 1 at the controls.

    declare

    Number V_NUM (1 127);

    Start

    V_NUM: = 1.2333333333333333333333234343435;

    DBMS_OUTPUT. PUT_LINE (V_NUM);

    end;

    Error report-

    ORA-06502: PL/SQL: digital error or value: number too high accuracy

    ORA-06512: at line 4 level

    06502 00000 - "PL/SQL: digital error or the value of %s.

    * Cause: A digital arithmetic error, String, conversion or coercion

    has occurred. For example, this error occurs if an attempt is made to

    assign the NULL value to a variable declared NOT NULL, or if a

    attempt to assign an integer greater than 99 to a variable

    NUMBER (2) declared.

    * Action: Change the data, how it is handled, or how it is so declared

    that values do not violate the constraints.

    Is it possible to reach my goal?

    Ok. I found this ;)

    Thank you

  • How to create a file name variable with the County and the date?

    Objective: Create a file name variable with the County and the date

    Error: get a lot of error. Do you know how to change my code?

    Question: how to create a file name variable with the County and the date?

    Mini code:

    std::string * rawfilepath;
    std::string * rawfilename;

    rawfilepath = "./shared/documents/";
    RawFileName = rawfilepath + 'rawlog -' + 0 + '-.txt ';
    QFile file (rawfilename);
    If (file.exists ()) {}
    rawfilenamecount ++;
    RawFileName = "./shared/documents/rawlog-" + rawfilenamecount + "-.txt ';
    }

    Thank you for your attention,

    Thank tzander reminding me the idea. Method of cascades is not good for me because all of the kernel code is written by Native. If I change the channel to QString, I need to change a lot of codes.

    Solution is below.

    While (access (rawfilename, F_OK)! = - 1) {}
    rawfilenamecount ++;
    sprintf (format, RawFileName, rawfilenamecount);
    fprintf (stderr, "file exists");
    }

    Rawlog = fopen (rawfilename, "w"); Save the file in a specific path.
    fprintf (rawlog, "System Time (ms)" "");

  • How to replace the variable with the help OF the operator?

    Hello

    I'm creating a form where the user selects the check box which products he wants to see. After the choice, I should show all sales of this product, but the selection does not recognize the variable after the IN operator, for example:

    SELECT the product, price, quantity
    FROM the sale
    Product WHERE IN (vcProducts);

    Can someone help me?

    Cree

    I guess that vcProduct is a varchar2 variable where you have a chain of your prodids, as ' 4711,4712 concatinated, 4713'. May be you have each place value '. Is not the question, which is not part of the sql syntax set. You either have a list of enumeration or a subselect.

    Where do you need it? In the block or Pl/Sql where clause.
    In the latter case, you can configure the list in a variable (with enclosing "") and set the block where property.

    In the first of may by INSTR is useful, INSTR (vcProduct, vcDelim | table.prod_id | vcDelim) > 0. Make sure you have your list attached and separated by the vcDelim. If you prodct table with the number of lines (million), it can be slow because no index will be used.

    Dynamic sql or.
    Or write a subquery und temp-table.

  • Variable with a value. «PURGE error: bad Argument Type.»

    
    

    Hi, my 50G calculator accuses a value for the variable 'X' but I can't find it in any directory, and when I try to delete I get the message "' PURGE error: bad Argument Type." " I also have the theta variable with the same problem. How can I remove the value of these variables? TKS

    In addition to Make suggestions, two other possibilities come to mind: 'X' can be a directory object (which would cause the error to the wrong Type of Argument because non-empty directory objects cannot be purged by PURGE, but must be purged by PGDIR), or it could be a local variable (which can only be served by putting an end to the environment that created which is usually a program).  So if Make suggestions don't work, try foster 'X' PGDIR and if that does not work, try KILL (which ends all the current environments).

    If those WHO do not work, please do 'X' TYPE HOME and tell us what object type 'X'.

    DISCLAIMER: I do not work for HP; I'm a happy user of HP Calculator.

  • SQLState HY000 that no request has been performed with this handle

    Hello everyone. I tried to get a working between 11.2 Oracle & PostgreSQL DBLINK. We had a plethora of errors... However, rather than try to explain I will simply display all errors, track & all my settings. All so first of all, here is a quick paste of the error I get.
    I had to cut part of the path for the length. But it repeats a bit
    Thanks in advance for any help.

    This is the error we get Oracle Developer program

    SQL > /.
    Select * from ods_md__product@denodo_dblink
    *
    ERROR on line 1:
    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
    No query has been executed with this handle {HY000, NativeErr = 1} no request has
    been executed with this handle {HY000, NativeErr = 1}
    ORA-02063: preceding 2 lines of DENODO_DBLINK

    And this is a rough idea of which comes from the trace.

    Entry hgopoer to 16/12 / 07/2012: 12:35
    hgopoer, line 231: had native error 1 and sqlstate HY000; message follows...
    No query has been executed with this handle {HY000, NativeErr = 1} no query has been executed with this handle {HY000, NativeErr = 1}
    Out of hgopoer, rc = 0 to 16/12 / 07/2012: 12:35
    hgopars, line 526: calling SQLNumResultCols obtained sqlstate HY000
    Out of hgopars, rc = 28500 to 16/12 / 07/2012: 12:35 with the ptr error FILE: hgopars.c LINE: 556 FUNCTION: hgopars() ID: preprocess the number of columns
    hostmstr: 0: HOA after hoxpars
    hostmstr: 0: CPP after SQL grouping



    I use Oracle for heterogeneous environments 11.2 on RHEL 5.4
    Connection to Denodo on Windows that use PostgreSQL drivers
    unixODBC 2.2.12
    psqlODBC drivers 08.04.0200


    ODBC.ini


    [VDP_acme_DSN]
    Description = connection VDP
    Driver = postgreSQLDriver
    Trace = no
    Trace file = /tmp/trace.log
    Debug = no
    DebugFile = /tmp/debug.log
    Database = aaa_ncnu
    ServerName = *. *. *. *
    User name = admin
    Password = admin
    Port = 9996
    Protocol = 7.4
    ReadOnly = No
    RowVersioning = No
    ShowSystemTables = No
    ShowOidColumn = No
    FakeOidIndex = No
    LFConversion = Yes
    UpdatableCursors = Yes
    BoolsAsChar = Yes
    UniqueIndex = Yes
    ServerType = Postgres
    ConnSettings =
    UseServerSidePrepare = 0
    ByteaAsLongVarBinary = 1
    Optimizer = 0
    Ksqo = 0

    [ODBC]
    TraceFile=/tmp/sql.log
    Trace = 1

    odbcinst.ini
    [postgreSQLDriver]
    Description = driver PostgreSQL 08.04.0200
    Driver = /usr/local/lib/psqlodbcw.so
    UsageCount = 1


    initVDP_acme_DSN.ora
    HS_FDS_CONNECT_INFO = VDP_acme_DSN
    HS_FDS_TRACE_LEVEL = DEBUG
    #HS_FDS_TRACE_LEVEL = 255
    HS_FDS_SHAREABLE_NAME = /usr/local/lib/libodbc.so
    HS_LANGUAGE = american_america.we8mswin1252

    #
    # ODBC specific environment variables
    #
    Set ODBCINI=/usr/local/etc/odbc.ini


    tnsnames.ora
    ETLD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ETLD)
    )
    )

    VDP_acme_DSN =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = Localhost)(PORT = 1527))
    (CONNECT_DATA =
    (SERVICE_NAME = VDP_acme_DSN)
    )
    (HS = OK)
    )

    listener.ora * bold * "BOLD"



    LISTENER_TG =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = PNPKEY))
    (ADDRESS = (PROTOCOL = tcp (PORT = 1527))(HOST=localhost))
    )
    SID_LIST_LISTENER_TG =

    (SID_LIST =
    (SID_DESC =
    (SID_NAME = VDP_acme_DSN)
    (ORACLE_HOME = / app/oracle/product/11.2/tghome_1)

    (ENV="LD_LIBRARY_PATH=/usr/local/lib:/app/oracle/product/11.2/tghome_1/lib')
    (Program = dg4odbc))
    )


    I've posted a copy of my oracle on pastebin trace cause of length

    http://pastebin.com/2qbgJL03

    Even with my ODBC trace

    http://pastebin.com/2FU9nRCS

    The odbc trace that shows:
    [ODBC] [6347] [SQLPrepare.c] [192]
    Entry:
    Statement = 0xde51420
    SQL = [SELECT A1. "" prd_cd ", A1. "" prd_dsc ", A1. "" ld_dt ", A1. "" updt_dt ", A1. "" prd_ln_dsc ", A1. "" prd_ln_cd ", A1. "" ln_bus_cd ", A1. "" ln_bus_dsc ", A1. ["co_num...] [length = 201]
    [ODBC] [6347] [SQLPrepare.c] [367]
    Output: [SQL_SUCCESS]
    [ODBC] [6347] [SQLNumResultCols.c] [149]
    Entry:
    Statement = 0xde51420
    Number of columns = 0xde16fa8
    [ODBC] [6347] [SQLNumResultCols.c] [234]
    Output: [SQL_ERROR]
    Count = 0xde16fa8-> 0
    DIAG [HY000] no query has been executed with this handle

    =>, it seems that the Postgres ODBC driver you are using has a few problems with the SQLNumResultCols function. Your current version of the ODBC driver is psqlodbcw.so, DriverVer:08.04.0200, and there are new drivers available. Can you please get the latest ODBC driver and check again?

  • How integrated with database with Actionscript 3.0?

    Hello... Everyone...!

    Please send me the Actionscript 3.0 (i) how integrated with the server code? (ii) how to get the value of database? and how to send the value of database?

    A little more information for you.

    The URLLoader is correct, but you will need a URLRequest, as well as URLVariables... These can all be found in package flash.net

    How to implement would be to take the url or script server ex: http://hitServer.php'

    and create your URLLoader

    URLLoader = new URLLoader

    apply events to listen to and see if it's a failure requestn

    URLLoader.addEventListner (Event.COMPLETE, onComplete)

    URLLoader.addEventListener (IOError.ERROR, onError)

    create a new URLRequest to target your server

    var urlRequest = new URLRequest()

    target your url

    urlRequest.url = 'http://hitServer.php

    var variablestogetorsend:URLVariables = new URLVariables()

    Suppose you need to pass a name

    URLVariables.name = 'bob' this variable must match what your server script is looking for.

    Make sure that if it's a post or get you specify

    URLVariables.method = URLRequstType.POST

    then, set the URLRequest for these variables data

    urlRequest.data = variablestogetorsend

    complete transmission by forcing the URLLoader to load.

    URLLoader.load (urlRequest)

  • Mistake to link the variable with the clause "like %"?

    Hello everyone;

    I would like to know how to make a like clause to bind variables, with this code, I get ' ORA-00933: SQL not correctly completed command ' error
    :
    v_query:= 'UPDATE ' || collection(i) ||' SET REF_PLAN=:quatre_champ WHERE FAM_SIM like ''%'':prem_champ''%'' AND PRISE_V1P like ''%'':deux_champ''%'' AND BROCHE_V1P like ''%:trois_champ%''';
                                  EXECUTE IMMEDIATE v_query USING quatre_champ,prem_champ,deux_champ,trois_champ;
    Maybe my "'" are in a bad position?

    Thanks for your help, regards.

    Try this:

    v_query:= 'UPDATE ' || collection(i) ||' SET REF_PLAN=:quatre_champ
    WHERE FAM_SIM like ''%''||:prem_champ||''%''
    AND PRISE_V1P like ''%''||:deux_champ||''%''
    AND BROCHE_V1P like ''%''||:trois_champ||''%''';
    
  • How chat with customer support?

    How chat with customer support?

    If you use the free Adobe Acrobat Reader software, there is no chat support.

    If you use another product, follow the steps here (Customer Contact) and if the chat support is available for this product, click on the big blue "still need help? Contact us' button and you will see a chat option.

  • I want to use the chat to get a serial number for installation of Adobe Acrobat Pro DC. How chat with someone at adobe?

    I want to use the chat to get a serial number for installation of Adobe Acrobat Pro DC. How chat with someone at adobe?

    Hi robertr41760081,

    Please follow this link Contact Customer Care, sign in using your adobe ID & click on the "still need help? Contact us"button to initiate a chat with our customer support team.

    However, you can also find the serial key using this link https://helpx.adobe.com/x-productkb/global/find-your-serial-number.html

    Kind regards

    Nicos

  • Value of Variable with OracleDiagent throwing error in white

    Hi all

    In my process I use 3 variables as input #GL_Product_code, #GL_Period_no, #GL_Year, on this basis, I need to get all the details, if I gave the white input from of the two other entries value must extract the value below in the code where condition
    .. .or product_code = nvl('#GL_Product_code',product_code) and period_no = nvl('#GL_Period_no',period_no) and year = nvl('#GL_Year',year)

    but when I use local agent my process of execution with errors, when I execution of his mistake to launch as variable with OracleDiagent has no value

    Error details

    oracle.odi.core.exception.OdiRuntimeException: java.lang.Exception: ODI-17506: Variable has no value: GL_VALIDATE.GL_PERIOD_NO

    Thanks for your suggestion...

    Published by: 981371 on February 11, 2013 09:53

    Published by: 981371 on February 12, 2013 02:28

    Published by: 981371 on February 12, 2013 22:10

    Give a default value for this variable as 'IS NULL' or 'IS NOT NULL' somethhing to be replaced if you don't pass any value then runt.

    Chantal
    http://dwteam.in

  • Models menu DVD how come with first elements 12 edition box?

    Models menu DVD/Bluray how come with first elements 12 edition box?  The last time I bought elements 9 download version and it doesn't have a lot of models.  If I update, I want to ensure that I have several available DVD/bluray menu templates.

    Thank you

    Andrew

    Andrew

    The same amount of models of DVD that come with downloading purchased online.

    It is no longer a content disk included in the box in a box. Who went out of existence with Premiere elements 11. Now all get the download content within the program.

    Please read part 3 content of my blog on first things First Look 12.

    First Elements ATR troubleshooting: first items 12 first look details

    In addition, the situation with the download of content for all.

    http://www.atr935.blogspot.com/2013/05/pe11-no-content-disc-content-downloads.html

    The situation prevailing in Premiere Elements 9.0/9.0.1 with replacement of menu sets that do not appear in the DVD-VIDEO over to DVD disc does not exist in other versions.

    On a positive note, the menus photoshop.com more disk that are more accessible to users of Premiere Elements 9.0/9.0.1 are now available first items 11 and 12 as part of disc menus provided with the program.

    If you need more information than the foregoing, as all disc menus, please let me know, and I compile one for you.

    RTA

  • variable with sql reuse various clauses

    Hello

    Is it possible to reuse the same variable with sql different queries in the packages...

    Example:

    I have a Word to say variable

    name of the variable 1): filename

    (2) in variable query: select 'emp.txt' of the double

    so using the name of this variable in the data store, I'm passing filename dynamically, but I need to change the file name to dept.txt emp.txt missing emp.txt food.

    A solution on my side uses a table dump with the file name. more without the use of db tables

    Please share views

    See you soon,.
    Surya

    You will then need the help of beanshell java technology. Variable2 take the second query in cooling mode. Now, create a procedure. At the 1st step of technology will be java beanshell with below codes.

    <>
    String xtr = "#variable2";
    @>

    Now in ko-> step use variable1 in assign mode

    Variable1 =<@=xtr@>

    It will certainly work.

    Thank you.

  • adding transitions with/without handles-just using media

    I know not how to use the handles and everything like that.

    I was wondering, is there a way where Premiere Pro CS 6 don't use handles for the transitions?

    In other words, I have a clip and I use all the images of it and I put another clip next to him and there no handles either. I want to put a crossfade between them. I know that without handles, it will not work.

    I had read somewhere that first may only use the media at the end and at the beginning of the 2 clips to make the transition.

    Is this true?

    On an older system of edtitng, I used to work, it is how it was. There is no need for handles.

    Just curious.

    Thanks in advance

    In order to clarify what Bingo said.

    Overlap the clips on 2 video layers... and apply opacity FXto each one.

    It is also clear to see what handles mean in "the old-fashioned way" what we called A / B or checkerboard edition.

  • How to make the handles visible direct selection on the pasteboard?

    When I go to for transformation/resize images within frames using direct Selection, I don't see the handles of the image because they are white against a white cardboard.  I use InDesign CS5 (ver 7.0.4) on a Mac. I've been using InDesign for a few years and never noticed that it was a problem; all of a sudden, the handles seem invisble. I don't remember what the color scheme was before. (Maybe I'll lose my mind). The colors did not alter an update? There is an option in the preferences to choose the color of the pasteboard, but this does not seem to have any effect. In the meantime, I can't find the handles to resize/convert images. I can enter a percentage to scale, but it is sometimes useful. How to make the handles visible direct selection on the pasteboard?

    If you're talking about the color of a path and its handles, which is dependent on the color of the layer selection. Go to the layers panel. Double-click the currently selected schema and change the selection to something darker color.

Maybe you are looking for

  • On Satellite A505-S6973 keyboard problems

    Goodday once again everyone, Can someone tell me if the built-in on my Satellite A505-S6973 keyboard has a backlight.I watch a lot of these new laptops and similar to mine, under the keyboard it is white and I don't know if that's how it's supposed t

  • Satellite Pro 6000: can't find the right WLAN driver

    HelloI have re-installed Windows Xp on my laptop Satellite Pro 6000. Everything works except for the wireless connectivity.When we look in the Device Manager, I see that the WLAN driver has not (or wrong) was installed.Then looked at the Toshiba site

  • can I upgrade power 220w Pavilion slimline

    I can replace the power supply 220W in a Pavilion Slimline 400-034 with one that has the most power.

  • How to support multiple users at the same time?

    Hi all I have a Labview program that controls a parser via GPIB connector. When the user uses the software, user B must wait is made. But in fact, the parser is not very busy, when the user uses the software. I want A, B, C and D of the user may use

  • Does not not a controller to xbox 360 on windows 7

    I as had previously been suggested here uninstalled and reinstalled the drivers twice. It is one of my three xbox 360 wired controllers always saves not. It does not appear in "Microsoft 360 accessories status" or "Game controllers" but it * IS * app