Adding namespace in the tag for each group

I want to use the substring method in tag for each group.
Like this: <? for-each - group: current - group (); xdofx:substr(xmlTag,3)? >, but it does not work. How to make it work?
Thank you.

Just use the native method of substring XSL - http://www.zvon.org/xxl/XSLTreference/Output/function_substring.html

BEEP is sensitive when you mix native and OPE methods

Tim

Tags: Business Intelligence

Similar Questions

  • How to get all the records for each group - double

    Hi all

    I have developed customized reports, I have a three for each group, the first group is for PO number and the second is for line number Po and the third is for activity ID.


    Today the third group is based on the activity ID.

    Some time the activity id is unique and other data are different. If at this time its settlement only one record.

    For example

    Date of activity Id

    1 25 - Jan

    1 26 - Jan



    Its single record display.

    Can someone tell me how to avoid this separate for each group.

    Thanks and greetings
    Srikkanth.M

    As another user said, delete syntax regroup.
    Why do you bring here?

  • Error using nested for each group - in Oracle XSLT

    Hello everyone. Thank you for taking the time to post this thread.
    I created a XSLT transformation that runs on oxygen, but does not work in Oracle.

    Given this XML-

    < country >
    < info enum = "CTRY" name = 'United States' States-total = "50" / >
    < enum = 'ST' index info = '0' sname = "New York" population = "8 244 910" / >
    < enum = 'ST' index info = '0' sname = "Chicago" population = "2 707 120" / >
    < info enum = "CTRY" name = 'Germany' States-total = "16" / >
    < enum = 'ST' index info = '1' sname = population "Berlin" = "3 469 910" / >
    < enum = 'ST' index info = '1' sname = population "Brandenburg" = "2 500 000" / >
    < / country >

    Work of XSLT in the oxygen-

    < xsl: template match = "/" >
    < country >
    [< xsl: for each group-select = "" countries / * ' group-starting-with="info[@enum='CTRY"] ">"
    < CountryInfo >
    < xsl: Call-template name = "ctry" / >
    < / CountryInfo >
    < / xsl: for each group->
    < / country >
    < / xsl: template >

    < xsl: template name = "ctry" >
    < name > country: < xsl: value-of select="@name"/ > < / name >
    districts of <>< xsl: value-of select="@total-states"/ > < / districts >
    < xsl: for each group-select = "current - group ()" group-by="@index" >
    < xsl: Call-template name = "States" / >
    < / xsl: for each group->
    < / xsl: template >

    < xsl: template name = "States" >
    < name of xsl: variable = "index" select="@index"/ >
    States <>
    < xsl: for each select = "current - group ()" >
    < name >
    < xsl: value-of select="@sname"/ >
    < / name >
    < / xsl: foreach >
    < / states >
    < / xsl: template >

    I get the desired oxygen - result

    < country >
    < CountryInfo >
    < name > country: United States of America < / name >
    < > 50 districts < / districts >
    States <>
    < name > New York < / name >
    < name > Chicago < / name >
    < / states >
    < / CountryInfo >
    < CountryInfo >
    < name > country: Germany < / name >
    < > 16 districts < / districts >
    States <>
    < name > Berlin < / name >
    Brandenburg < name > < / name >
    < / states >
    < / CountryInfo >
    < / country >

    In a transformation of Oracle, I get an error "cannot perform XPath expression. I have narrowed down the cause of the error. The error is caused by
    the nested for each group - using 'current - group ().'

    < xsl: for each group-select = "current - group ()" group-by="@index" >
    < xsl: Call-template name = "States" / >
    < / xsl: for each group->

    Oracle does not throw an error if I use ' Country/info' instead of 'current - group ()', but this does not produce the desired result
    because he needs to be grouped by "@index."

    Does anyone know why my XSLT does not work in a transformation from Oracle?

    oracleistheway wrote:
    Does anyone know why my XSLT does not work in a transformation from Oracle?

    What do you mean by "transform Oracle?

    If you are referring to the integrated database XSLT processor available through XMLTransform or DBMS_XSLProcessor API, it does not support XSLT 2.0, 1.0 only.

    If you use the XDK Java (oracle.xml.parser.v2) Please give the exact version.

  • Table row with loop for each group to set the variable.

    HI: There is probably a simple answer for this, but I don't the have not found...

    I have a single row table to move through a group to set a variable containing a sum running. I'm not display the amount in the table but when I saw the report, I see that the table is expanding (add lines) for each loop.

    The only line table has 3 columns.

    1st column
    <? for-each: AC_GROUP? >

    2nd column
    <? xdoxslt:set_variable ($_XDOCTX, 'xAmtVar', xdoxslt:get_variable($_XDOCTX,'xAmtVar') + CURRENT_AMOUNT)? >

    3rd column
    <? end foreach? >

    Can I use <? for each group? > or something else. My requirement is to set the value of the variable with the total running, but because the loop is adding lines for each value he travels (though not displayed), it's also affecting other areas of the presentation of the page.

    Hope it makes sense. Thanks in advance.

    You can do it many ways.

    No need to loop
    You can create a variable and specify the amount of the sum directly to that.

    
    

    or

    loop through, then add as you do.

    
    

    give any space or enter characters in a word between them, just put it in a single form field will be

    But as I said, I'd definitely go with the first option.

  • I do my job to the computer on a MAC computer. I want to create a document using Pages and then convert the document to PDF and send a group email. I want to send the PDF using the pdf for each receiver icon must click the icon to open t

    I do my job to the computer on a MAC book PRO. I want to create a document using Pages and then convert the document to PDF and send a group email. I want to send the PDF using the pdf for each receiver icon must click the icon to open the document. My problem is the document does not show the icon, but rather the document is already open. I spoke with 2 Apple. 'Experts' care and can help me. Can someone tell me what to do?

    It's a question of how the recipients e-mail programs deal with attachments. Many e-mail programs will open all the files they can handle, including files jpg and PDF, by default, and if the recipient has not changed that there is nothing you can do about it. The only solution is to the compress first, then it will be delivered as an attachment, allowing the recipient to decompress and open it.

  • Added option inlines for each group

    Hello

    < A1 >

    < B1 >

    ABC < C1 > < / C1 >

    def < C2 > < / C2 >

    < C3 > 123 < / C3 >

    < / B1 >

    < B1 >

    ABC < C1 > < / C1 >

    def < C2 > < / C2 >

    < C3 > 456 < / C3 >

    < / B1 >

    < / A1 >

    From the example I show o/p as above: 123 456 and here I have to add a condition to check also the empty spaces. So I tried two solutions below.

    = PlanA:

    <? for-each@inlines:C3? > <? ? >

    <? xdoxslt:IfElse ((position () = last (), ",",")? >

    <? end foreach? >

    (1) with above approach I'm not able to check the empty spaces!  output can be shown as: 123 456

    OR

    = Plan B:

    <? for-each-group: B1; / C3 >

    <? C3? >

    <? If @:(C3='') rank? > <? xdoxslt:IfElse ((position () = last (), ",",")? >

    <? end if? >

    <? end for each group -? >

    With above approach am able to check the empty spaces, but the output is coming up as below.

    123

    ,

    456

    (2) then how can I show this in a single line. ?

    Thank you

    Rajesh

    Can be?

  • How to assign the ID of group for each group in the SQL query.

    Hi all

    I want to assign the ID of group for each group (group ID of series). I tried with the row_number function but did not work for my requiredment. Here is my sample data and my requirement.

    Col1
    A
    A
    A
    A
    A
    B
    C
    D
    D
    D
    D
    E
    E
    E
    F
    G
    G
    G

    I want to get number of each column with ID group assign to it value. Here is my example output

    Col1 County Group ID
    A 5 1
    A 5 1
    A 5 1
    A 5 1
    A 5 1
    B 1 2
    C 1 3
    D 4 4
    D 4 4
    D 4 4
    D 4 4
    E 3 5
    E 3 5
    E 3 5
    F 1 6
    G 3 7
    G 3 7
    G 3 7

    Select col1, count (1) NTC (col1 partition).

    ROW_NUMBER() over (partition by col1 by col1 order) tbl_test grp_id.

    Please help me solve this problem.

    SELECT

    COL1,

    COUNT (*) ON MYCOUNT (COL1 PARTITION).

    DENSE_RANK () OVER (ORDER BY COL1) GROUPID

    Of

    T1;

  • Export the configuration information for each group

    How to export the configuration information for each group? (I want to see the information that this group has read or write access to the cube XXXXX)

    By LCM, I was able to export information on groups and users. But no information about its commissioning. can any body tell me how can I get the configuration of shared services information

    We have a utility to do this, or can we get this information using LCM?

    Any information about him will be useful

    Thank you

    The commissioning is under Application groups > Foundation > Shared Services > native Directory > assigned roles > then choose the product / app

    There is a utility command line available if you want to automate the process of execution of export - Oracle Hyperion Enterprise Performance Management System Lifecycle Management Guide, you create the definition of migration file but which can be done by running an export.

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • using for each group to combine the 2 data lines

    My xml file has the following in it:

    -< AC_DEDUCTIONS >
    voluntary deductions < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 3475 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 498500 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 5750 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 26.22 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 26.22 < / YTD_AMOUNT >
    < REPORTING_NAME > Opt life Emp < / REPORTING_NAME >
    < ATTRIBUTE_NAME / >
    < RATE_MUL / >
    < DISPLAY_NAME > Opt life Emp < / DISPLAY_NAME >
    < / AC_DEDUCTIONS >
    -< AC_DEDUCTIONS >
    voluntary deductions < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 1181 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 3511 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 5750 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 0 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 474.95 < / YTD_AMOUNT >
    < REPORTING_NAME > Opt life Emp < / REPORTING_NAME >
    < ATTRIBUTE_NAME / >
    < RATE_MUL / >
    < DISPLAY_NAME > Opt life Emp < / DISPLAY_NAME >
    < / AC_DEDUCTIONS >

    Rather than having my exit needle 2 rows of data:

    current name amount CDA amount

    Opt life Emp 26.22 26.22
    Opt life Emp 0 474.95


    I'd like to see 1 row with the total amount:

    Opt life Emp 26.22 501.17


    How can I use for each group - in my rtf to achieve? Any help is greatly appreciated.

    Thank you.

    Susie

    I know what model you have copied :), I was there, when they created that

    It's yours:

    1 text form field-<><=19]?>
    2 text form field-
    3 text form field-
    4 text form field-
    5 text form field-

    change to:

    Text Form Field 1 -  
    Text Form Field 2 - 
    Text Form Field 3 - 
    Text Form Field 4 -  
    Text Form Field 5 - 
    
  • For each / group of... problem... Update

    Hey Rainer, Pradeep... in addition to our previous thread of for - each group by number... I have another request...

    Here is update XML

    < root >
    < target-cult index = "3" >
    < fm-objective index removable = "1" = "true" >
    value of < 01 > fm-obj-name < / fm-obj-name >
    < fm-obj-prop-key > aa < / fm-obj-prop-key >
    < value-obj-prop-fm > 44 < / fm-obj-prop-value >
    BB < fm-obj-prop-key > < / fm-obj-prop-key >
    < value-obj-prop-fm > 2 < / fm-obj-prop-value >
    weight < fm-obj-prop-key > < / fm-obj-prop-key >
    < value-obj-prop-fm > 20.0 < / fm-obj-prop-value >
    < / fm-goal >
    < fm-objective index '2' = removable = "true" >
    value of < 02 > fm-obj-name < / fm-obj-name >
    WW < fm-obj-prop-key > < / fm-obj-prop-key >
    < value-obj-prop-fm > 11 < / fm-obj-prop-value >
    RR < fm-obj-prop-key > < / fm-obj-prop-key >
    < value-obj-prop-fm > 24 < / fm-obj-prop-value >
    weight < fm-obj-prop-key > < / fm-obj-prop-key >
    < value-obj-prop-fm > 23.0 < / fm-obj-prop-value >
    < / fm-goal >
    < / goal-cult >
    < target-cult index = "9" >
    < fm-objective index = "1" >
    value of < 22 > fm-obj-name < / fm-obj-name >
    TT < fm-obj-prop-key > < / fm-obj-prop-key >
    < value-obj-prop-fm > 111 < / fm-obj-prop-value >
    qw < fm-obj-prop-key > < / fm-obj-prop-key >
    < fm-obj-prop-value > 24q < / fm-obj-prop-value >
    weight < fm-obj-prop-key > < / fm-obj-prop-key >
    < value-obj-prop-fm > 25.0 < / fm-obj-prop-value >
    < / fm-goal >
    < fm-objective index = "2" >
    value of < 22 > fm-obj-name < / fm-obj-name >
    wwew < fm-obj-prop-key > < / fm-obj-prop-key >
    < value-obj-prop-fm > 1122 < / fm-obj-prop-value >
    rrre < fm-obj-prop-key > < / fm-obj-prop-key >
    < value-obj-prop-fm > 2443 < / fm-obj-prop-value >
    weight < fm-obj-prop-key > < / fm-obj-prop-key >
    < value-obj-prop-fm > 123,0 < / fm-obj-prop-value >
    < / fm-goal >
    < fm-objective index = "3" >
    value of < 23 > fm-obj-name < / fm-obj-name >
    wwqq < fm-obj-prop-key > < / fm-obj-prop-key >
    < value-obj-prop-fm > 121 < / fm-obj-prop-value >
    tyrr < fm-obj-prop-key > < / fm-obj-prop-key >
    < value-obj-prop-fm > 2334 < / fm-obj-prop-value >
    weight < fm-obj-prop-key > < / fm-obj-prop-key >
    < value-obj-prop-fm > 623.0 < / fm-obj-prop-value >
    < / fm-goal >
    < / goal-cult >
    < / root >

    How do I recover weight < fm-obj-prop-key > value < fm-obj-prop > - immediate < / fm-obj-prop-key >.
    I mean, the result should be like this...

    01-20, 0 value
    02-23, 0 value

    22-25, 0 value
    22-123, 0 value
    value 23-623, 0

    I added foreach for < name-obj-fm >... we discussed earlier... now to it add to WEIGHT...

    Kind regards
    Amit desrousseaux
    Persistent systems Lts.

    Well the test becomes hard with each correct answer... :)


    Table

    -- -----< position()="last()" should="" be="" in="" sqr="">

    Edited by: PradeepS on November 11, 2008 16:28

  • Where can I find support for html 5 tags for each version of Firefox?

    Where can I find support for html 5 tags for each version of Firefox?

    Thanks for the help.

    See:

  • Set the ID to each group of result

    Hi all

    I have this problem to assign the serial ID to each group result for my SQL. Say if I want to date 11 data group and my result returned 5 groups to date. Is there a way I can create a SQL statement that can assign IDS for each group of date without using "GROUP BY"? Using example count() on total perhaps?

    Use the analytical DENSE_RANK function

    with c as
    (
    select sysdate DT,1 ID,'VAL1'  VAL FROM DUAL UNION ALL
    select sysdate DT,2 ID,'VAL2'  VAL FROM DUAL UNION ALL
    select sysdate DT,3 ID,'VAL3'  VAL FROM DUAL UNION ALL
    select sysdate-2 DT,4 ID,'VAL4'  VAL FROM DUAL UNION ALL
    select sysdate-2 DT,5 ID,'VAL5'  VAL FROM DUAL UNION ALL
    select sysdate-4 DT,6 ID,'VAL7'  VAL FROM DUAL UNION ALL
    select sysdate-4 DT,7 ID,'VAL6'  VAL FROM DUAL UNION ALL
    select sysdate-4 DT,8 ID,'VAL8'  VAL FROM DUAL UNION ALL
    select sysdate-5 DT,9 ID,'VAL9'  VAL FROM DUAL )
    SELECT DENSE_RANK() OVER (ORDER BY TRUNC(DT) DESC ) RN, DT,ID,VAL
    FROM C
    /
    
            RN DT                ID VAL
    ---------- --------- ---------- ----
             1 13-AUG-10          1 VAL1
             1 13-AUG-10          2 VAL2
             1 13-AUG-10          3 VAL3
             2 11-AUG-10          4 VAL4
             2 11-AUG-10          5 VAL5
             3 09-AUG-10          6 VAL7
             3 09-AUG-10          7 VAL6
             3 09-AUG-10          8 VAL8
             4 08-AUG-10          9 VAL9
    
    9 rows selected.
    
  • How to give rownum for each group in forms6i

    Hai All

    I have to use the line for each individual group number if it is possible in oracle forms6i

    I used this feature and get an error, the function is

    ROW_NUMBER() over (partition by bar code, order by code bardate bar)


    and if it is possible to use decode function in oracle forms6i

    Thanks for giving good solutions

    Thanks and greetings

    Srikkanth.M

    Same question but different title :)

    Yes, you can use function in 6i to decode

    Bangoura
    [My Oracle Blog | http://baigsorcl.blogspot.com/]

  • How to give rownumber for each group

    Hai All

    I use the function group to separate and in this group, I need to give rownumber to each departure of members of Group 1 and when a group is on the needs in number to start new 1


    For example

    There are 3 Department and it is separated by the function of group by Department and here I need to give the line number. And the line number must be separated for each group

    Thanks and greetings

    Srikkanth.M

    How about using...

    ROW_NUMBER() OVER (partition by GROUP order by X)
    

    If this is not the case, how about post you some sample data and the output you want from these data.

    In addition, your version of Oracle

    select * from v$version;
    
  • To view lines for each group

    Hi all

    I have a static label on every row, and I use for each group of extraction of values for each row.
    Sometimes, while I have no value in XML for a specific line. When this happens the line of this static label will not appear in the preview.
    Is it possible to display this line of static label even its value were not observed in the XML file.

    Thanks in advance.

    I received several emails, don't know, the one who first ;)

    Just replied with model with fix: name of the Group coded hard and zero values, even if this isn't on the xml data

Maybe you are looking for