Possible to save results of xdofx functions to variable?

(10.1.3.3) Each of my CHAPTER4 rows has a SECTION_NUMBER such as 4.3.2. I'd like to format this header based on the depth of the section, or the number of periods + 1 (eg 4.3.2 is level 3). I'm having trouble figuring out how to set a variable and use it in either if statements or a choose. Below I strip out all the numbers using replaces and take the length of the string and add 1. but I cannot use xdofx functions in xdoxslt:
<?for-each:CHAPTER4_ROW?>
<!-- how do you get this value into a variable and use in choose or if ????? -->
<?xdofx:length(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(SECTION_NUMBER,’0’,’’),’1’,’’),’2’,’’),’3’,’’),’4’,’’),’5’,’’),’6’,’’),’7’,’’),’8’,’’),’9’,’’))+1?>
<?choose:?>
<?when:$x=1?>........<?end when?>
EDIT: I found out that you can use xdofx:if, but you cannot break out of the tag to do formatting. It has to be in the following syntax:
<?xdofx:if length(replace(FIELD,'0',''))=1 then 'output' else 'other output' end if?>
Would be nice if you could:
<?xdofx:if x=1 then?> output <? else ?> <? end if ?>
I get weird results when trying this.

Thanks for the reply.
We strictly want to use the CPU Profiling available out of the box JDeveloper. Is there a way to save / export the results into text / html / spreadsheet ?

Similar Messages

  • Is it possible to save Result of the Query?

    Hi All,
    I run a simple query in Project Raptor.
    And I am looking for options to save my query Results into an xls file.
    Is there any options to save the output file?
    Thanks
    Mouly

    this function is bugged
    Re: 919 Export->Insert nothing

  • Save result of ODM functions in Table

    I build a model like clustering via k-means in ODM. I need to save cluster number in table. how I can?
    and can I set this building for running automatically any week?

    If you want to store the results in a table, create a 'Create table' node. Connect the cluster apply node to this 'Create table' node. Make sure to include the PK attribute in the output, in addition to the attributes created by the cluster algorithm. Then everything you need will be in the table.
    If you right click the Apply node there is a Deploy option on the drop down menu. Select this and save to clipboard. Open something like Notepad and paste. You will get some of the code necessary to run the clustering. You will need to do some editing of this code to make it run automatically.
    I have a couple of blog posts on Clustering and a few more to come over the next few weeks. Check them out at
    http://brendantierneydatamining.blogspot.ie/

  • Is it possible to save the data in the trend graphs?

     I am making a HMI and want to user to be able to study earlier graphs. It would be best if this could be saved in a report or something.... I am using labview 8.0 and the DSC module. I understand that it is possible to save data in the citadel database, but I am not very familiar with database handeling and SQL, and this will be a difficult way for the users of my HMI to view data.... I am also interrested in showing alarm history in this report.....
    Thanks in advance for your help!
    -Mari

    Hi friends,
    With out scheduling the infopackage and DTP i want to upload the data into targets.
    Please give me clear solution.
    which function module i need to use for this.
    how to write the sub routine.
    Please could you give me solution clearly. i don't know ABAP very much.
    Please help me.
    Thanks,
    Guna.
    Edited by: gunasekhar raya on Sep 16, 2008 4:03 PM

  • Question : is it possible to save the contents of the screen in a graphic object ?

    Assume i asked the machine to plot something (for example within the Function application).Is it possible to save the contents of the screen in a graphic variable (GROB ?) for later reference ?

    Hi!, EmileG: From connectivity kit, connected to HP PRIME, you can ... Copy Screen opens the Screen Shot dialog box from where you copy or, save an image of  the virtual calculator screen.You can leave this dialog box open as you prepare instructional materials and reports that require screen captures  from the calculator.The Screen Shot  dialog box has the following options and buttons:• Border: A slider bar to give the image a boarder and change the thickness, of the border.• Size: A slider bar that changes the size, of the image.• Capture:  Update  the image, to reflect the current state of the  virtual calculator display.• Copy: save  a copy  of  the  current  image to  the clipboard.• Save: save  a copy  of  the  image to  a file. In  this case, you  can specify a name and location  for the saved  file.• Close: close the Copy  Screen  dialog box.

  • Why do the "SAVE", "SAVE AS" and "UNDO" functions of InDesign CS6 stop working after a short time?

    Why do the "SAVE", "SAVE AS" and "UNDO" functions of InDesign CS6 stop working after a short time?

    Normally they don't. You might have some sort of problem on your system, possibly a conflict with other software, or corrupt ID prefs or application. Trashing the prefs is easy, and good place to start: Replace Your Preferences
    It will help if you tell us the OS version, whther you've installed the 8.0.1 patch, and how you are trying to access the commands, and what happens when you do. Is this isolated to one file, or does it happen with all files?

  • Is possible to save a vector.pdf with smart object?

    Hi PS masters
    I am finishing a poster, fully created in shapes in illustrator. Due to customers request I was forced to do some color corrections so I decided to use my PhotoShop CS6.
    I imported vector files into my photoshop as smart objects, added some adjustments layer, few vector masks and I changed their layer style to get the finest result.
    When I finished my work in PS I tryed to save this as .pdf
    In my .psd there are shape layers, some groups and some adjustments layers with layer masks and changed Layer style to "color", one text layer and 3 smart objects imported from illustrator.
    I want to keep my image scaleable for bigger resolutions.
    ... So I was trying to save this file as Adobe PDF but I found that whole graphic in exported .pdf was converted to raster, besides the border, cut marks and that one text layer.
    I think that this is becuase of smart objects. (saving as .pdf without them works pretty good)
    Now finaly my question.  Is somehow possible to save this document from photoshop as vector.pdf? or is possible to import group of shapes from illustrator to photoshop as shapes in photoshop? no as smart objects.
    I am running out of time so I saved it as high res .Jpeg, but I want to know if this is somehow possible for future use or If I have to rather avoid that solution.
    Thank you very much for your reactions
    // I just thought if I can use InDesign for that. Will be included .pdf file as raster? or it will stay scaleable even with smart objects in it?

    I am sorry but I don't have vector files right now (I'm on another PC), but I can show you "old" version of a poster, where you can see parts of their structure

  • Using the result of a function, inside a subselect

    Hi!
    I´m wondering if it´s possible to use the result of a function inside a subselect. Let me give you an example of what I´m trying to do here:
    select * from t_node where node_pk in (get_node_parents_pk(22345));
    The function get_node_parents_pk stands in for the following SELECT-statment:
    select node_pk from t_node_child where parent_node_pk = 12345
    The statement above would return something like this: 12435,23423,23453,23452
    These values represent the node_pk value for the parent nodes.
    I want the get_node_parents_pk function to return a result set similar to this so that I might call it inside the IN ( ) statement.
    Any clue? =)

    I created a collection type in the database:
    CREATE OR REPLACE TYPE nodes_pk_arr IS TABLE OF INTEGER;
    The function get_node_parents_pk () is made to return the collection type above. However, this does not work. I get the following error message:
    SELECT *
    FROM t_node
    WHERE node_pk IN
    (SELECT * FROM TABLE (get_node_parents_pk (22345)));
    ORA-22905: cannot access rows from a non-nested table item
    However, if I insert a nodes_pk_arr collection directly into the SQL-statement, like I do below, it works:
    SELECT *
    FROM t_node
    WHERE node_pk IN
    (SELECT * FROM TABLE (nodes_pk_arr(24564,23545,34523));
    So, when returning the collection from the function I´m told that the collection is not a nested table, when in fact it is. What gives?
    Also, is there no way to return a result set directly from the get_node_parents_pk() function, making it possible to write the statement like that shown below?
    SELECT *
    FROM t_node
    WHERE node_pk IN (get_node_parents_pk (22345));
    Your reply is much appreciated!
    Kind regards
    Robert

  • Passing results to another function in MDX

    I'm pretty sure I know the answer to this, but it would be cool if it worked, so I figured I would put it out there and see if anyone successfully did this.<BR><BR>Is it possible to pass the result of a function NonEmptyCount() as an index for another function Item()?<BR><BR>Example<BR>CrossJoin({[Time].Levels(0).members},<BR>{[Measures].[Headcount]}).Item(NonEmptyCount(<BR>[Time].Levels(0).members, [Measures].[Headcount]<BR>))

    I found the solution to my problem.
    [1] Create a "After Submit" under Computations.
    [2] Select 'Item Value' under Type in Item Name
    [3] Select "After Submit" under Computation Point
    [3] Enterer Item Name, which value needs to be passed in 'Source'
    thanks

  • Is it possible to save a picture/image file that is within an iOS app?

    Is it possible to save a picture/image file that is within an app?
    The image in question cannot be shrunk, so using the iPhone built-in Screenshot function (by pressing both "Home" & "On/OffSleep/Wake" buttons simultaneously) only produces part of the image.
    Thanks.

    Generally in all Apple iOS apps, you can hold down on the image and the save image dialogue will pop up. Many third party developers adopt this method, but some also have other weird ways of doing it through menus. What appa re you trying to do this with?

  • Set variable to result of instr function

    I am trying to set a variable to the result of the instr function. I am getting the error Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'xdofx' used but not declared.
    My code is as is below <?xdoxslt:set_variable($_XDOCTX,’POS1’, xdofx:Instr (LINE_ITEM_DESCRIPTION,'|',1,1))?>
    I know in the documentation it says "You cannot mix xdofx statements with XSL expressions in the same context" is this such a case? If so how do I go about getting the result of Isntr into a variable?
    Thanks a ton

    Try using the below code
    <?xdoxslt:set_variable($_XDOCTX,’POS1’, xdoxslt:instr(LINE_ITEM_DESCRIPTION,'|',1,1))?>

  • Result for one Function und one titel in one colum

    Hello,
    it is possible to put one result form a function and another colum in only one colum?
    Thank you, very much :-)
    Chris from Germany

    Sure:
    SQL> create or replace
      2  function f1(n number)
      3  return number
      4  is
      5  begin
      6  return n;
      7  end;
      8  /
    Function created.
    SQL> select ename,f1(sal),comm,f1(sal) + nvl(comm,0) from emp
      2  /
    ENAME         F1(SAL)       COMM F1(SAL)+NVL(COMM,0)
    SMITH             800                            800
    ALLEN            1600        300                1900
    WARD             1250        500                1750
    JONES            2975                           2975
    MARTIN           1250       1400                2650
    BLAKE            2850                           2850
    CLARK            2450                           2450
    SCOTT            3000                           3000
    KING             5000                           5000
    TURNER           1500          0                1500
    ADAMS            1100                           1100
    ENAME         F1(SAL)       COMM F1(SAL)+NVL(COMM,0)
    JAMES             950                            950
    FORD             3000                           3000
    MILLER           1300                           1300
    14 rows selected.
    SQL> SY.

  • IF I RUN A EDITING WITH PREMIERE ELEMENTS TEST VERSION, WILL BE POSSIBLE TO SAVE THE WORK WITHOUT THE MARK  AFTER THAT I BUY THE LICENCE? THANKS

    IF I RUN A EDITING WITH PREMIERE ELEMENTS TEST VERSION, WILL BE POSSIBLE TO SAVE THE WORK WITHOUT THE MARK  AFTER THAT I BUY THE LICENCE? THANKS

    NUNU
    Media cache files are not involved in the removal of the Adobe watermark from the project.prel file from a tryout.
    Just a re-enforcement mention...you cannot remove the Adobe watermark from a tryout "saved" exported product; whereas, you can from a saved/closed project file (project.prel).
    By exported product, I mean a burn to disc in the tryout or the Timeline of the tryout exported to a file saved to the computer hard drive.
    In the case of removing the Adobe watermark from the tryout project.prel, classically you delete the rendered files (Timeline Menu/Delete Rendered Files) in the purchased program. In no way is media cache involved in this. Some of us have found that there was an automatic removal of the Adobe watermark resulting from just opening the tryout project.prel file in the purchased program.
    Please review and consider.
    Thank you.
    ATR

  • Error : Transaction not possible to save all objects successfully

    Hi All,
    We are facing the below error after our CRM 7.0 upgrade when we save Service ticket and IR in IC web.
    The flow is unknown, some times when we create a new ticket it comes some times when we edit existing ticket comes.
    Strange thing is we are unable to reproduce the same in our pre prod and also prod environment
    Only our agents are able to reproduce.
    Service Ticket : Error
    ! Transaction not possible to save all objects successfully.
    u221A It was not possible to save all objects successfully
    u221A The predecessor does not exist on the database.
    u221A The predecessor does not exist on the database.
    IR: Error
    Status object not available on Unkonwn object
    [The status dropdown is empty]
    Please help us with any pointers on the same.As we are not able to get to the root cause.
    Thanks
    AMol

    Hello Amol,
    You say that you upgrade your system to CRM7 that means your BADI_SAVE (or ACTIONS etc') are written with Function modules and maybe you add some new coding with BOL/GENIL.
    We had some similar problem  so we rewrite all BADIs ACTIONS PARTNER DETERMINATIONS etc' to work only with BOL/GENIL technology and it solve our problem.
    Hope it helped or at least gave you some direction.
    Good Luck
    Eli

  • Javascript question. Possible to save bookmark with javascript in Safari?

    Is it possible to save a bookmark using javascript in Safari?
    In IE I use:
    window.external.AddFavorite(url, title);
    In Firefox I use:
    window.sidebar.addPanel(title, url,'');
    In Safari I have no clue.
    Any thoughts, is it even possible?

    I'm going to call this bookmark function from inside a Flash application and I don't want the URL to be the exact URL that the Flash application has.
    If you have a solution to the problem I would be very happy if you could post it!

Maybe you are looking for