Can I create a XSL function and use it in the Word Template

I have a complicated logic (complicated if i have to repeat it 400 to 500 times) for determining if I should show a null expression. If the value is null or equal to 0 show N/A else show the value.
If I have to repeat this over and over again and it turns out to need an update this would be a nightmare. But I don't have time to waste on a wild goose chase either. If I have to do something a couple thousand times i better get started basically.
Can I create a function in the word template then call it throughout the word template for each field I have to check?
Have a link to a tutorial that is doing this?

If you really want to have a function, you have choice of using subtemplates (either RTF or XSL)
You can check for steps here
http://www.oracle.com/technetwork/middleware/bi-publisher/overview/bip-subtemplate-1-132933.pdf
But if you have functions or use the code directly you anyway need to modify your 400-500 fields.
i.e. either
<?xdoxslt:ifelse(COLUMN='','NA',COLUMN)?>
or <?call:template_name?>

Similar Messages

  • We have a IPad setup with my ID, now we have I phones what if I use the same IDs? Or can I create a new one and use both on the iPad?

    We have a I pad setup with my Apple ID, we have just got I phones today, can I create a different ID for my my wives phone and can she then sign into the IPad?

    Stuartied wrote:
    How do I sign out of the I Pad for for my wife to sign in?
    Mac App Store: Sign in and out
    http://support.apple.com/kb/PH11499?viewlocale=en_US
     Cheers, Tom

  • HT204365 I would like to use dictionary on PDF like the books? Because it can't be highlited like books and then definition of the words.. Thx

    I would like to use dictionary on PDF like the books? Because it can't be highlited like books and then definition of the words.. Thx

    this is a user helping user forum so we can't really do much about what you would like contact apple here
    http://www.apple.com/feedback/iphone.html

  • How can I create a client console and work together with the Cache Server?

    How can I edit the following Cache-Server.cmd file to create a client console and work together with the Cache Server?
    The following is the cache server file: contacts-cache-server.cmd
    @echo off
    setlocal
    if (%COHERENCE_HOME%)==() (
    set COHERENCE_HOME=c:\coherence
    set CONFIG=C:\home\oracle\coherence\Contacts
    set COH_OPTS=%COH_OPTS% -server -cp %COHERENCE_HOME%\lib\coherence.jar;C:\home\oracle\
    coherence\Contacts;C:\home\oracle\coherence\Contacts\classes;
    set COH_OPTS=%COH_OPTS% -Dtangosol.coherence.cacheconfig=%CONFIG%\contacts-cache-config.xml
    java %COH_OPTS% -Xms1g -Xmx1g -Xloggc: com.tangosol.net.DefaultCacheServer %2 %3 %4 %5 %6 %7
    :exitEdited by: junez on 23-Oct-2009 09:20

    Hi
    To run the console, change DefaultCacheServer to CacheFactory
    Paul

  • Can I create a Flash button and use it to navigate to the next slide of a PowerPoint Presentation?

    Hello all,
    I've been having a bit of a hard time understanding how to get a button which I have created in Flash to navigate to the next slide of the PowerPoint presentation which it has been added into. I'm fairly new to Flash, so I believe that this is slightly out of my natural skill range, so hopefully someone will be able to help.
    I understand that I somehow need to make use of fscommand in ActionScript, but I'm not sure how I can get Flash and PowerPoint to communicate between themselves. If anyone could write a walkthrough on how to do this, I would be bery grateful.
    I'm using Flash MX 2004 7.0 and Powerpoint 2003.
    Thanks

    Hi. Why not to make the whole presentation in FLASH? What you have to do is to import all the slides inside FLASH. Then place one by one in the stills and then create the code to make the stills advance and show the slides by means of the button. The code for the button goes as follows:
    on (release) {
        nextFrame();
    to introduce this code make sure you press the button and no the frame.
    Then in order to make the presentation open and cover the screen, no matter how big it is, you need to enter the following code in the first frame:
    stop();
    fscommand ("showmenu",false);
    fscommand ("fullscreen", true);
    You will need also a button to quit the aplication. This is the code:
    on (release) {
         stop();
    fscommand ("quit");
    Now write all of this in your application and let me know your experience. MamenFLASH$

  • How can I create a new entry without using LOV for foreign keys.

    Referring to TUHRA sample application based on HR database schema. JDeveloper 10.1.3.0.4
    How can I create a new employee without using LOV for the foreign key "job_id".
    On the first page I would like to choose the job_title from adf read-only table.
    After clicking on the "create new employee button" a creation form appears in which the job_id field is set with previous selection.
    Regards M.Winkler
    Edited by: user3541283 on 06.10.2008 03:44
    Edited by: user3541283 on 06.10.2008 03:50

    Hi,
    usually the foreign key is only set if the VO you select is dependent from a master. If e.g. you have DepartmentsVO1 that has an EmployeeVO3 as its nested VO, then creating a new instance of employees automatically add the foreign key. If you add EmployeesVO1, which is not dependent to DepartmensVO1, then the foreign key is not set. So if this is the case in THURA (keep in mind that this is not an Oracle demo but a sample used in a book about ADF) then all you need is to take the independent VO when building the new employee form.
    Frank

  • How can I create an csv/excel file using pl/sql and then sending that file

    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.

    968776 wrote:
    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
    Whay do you want database (pl/sql) code to do these things?
    Anyhow, you may be interested in :
    {message:id=9360007}
    {message:id=9984244}

  • HELP !!!I want to give my old apple to my girlfriend, SO SHE CAN PLUG IN HER NEW IPHONE, CREATE AN APPLE ID AND USE MY OLD LAPTOP TO DOWNLOAD itunes music, but im having trouble deautherizing it, and making her the OWNER, IF you get my drift, how to i mak

    Hi
    I have a new powerbook and want to give my girlfriend my old G4 power book, she has a new iphone 5s, and wants to create a new itunes/apple id. When i try to de authorize the G4 and sign in with her new apple ID it says bad password, how can i release the G4 from my cluster of authorized apples and make her the owner so she can download music and more importantly sync her music with her phone, she only has 3 songs on her iphone, and loaded all her CD's into the g4 but cant sync, im no dummy and this shouldnt be hard, but its driving me crazy!!!!!!
    thx u so much for your time heeeellppppp.

    Perhaps, as we have the same music tastes, for now i should just authorize her phone to my power book just to sync music, not pics, contacts etc? I'd hate to overright her contacts etc lol????
    HELP !!!I want to give my old apple to my girlfriend, SO SHE CAN PLUG IN HER NEW IPHONE, CREATE AN APPLE ID AND USE MY OLD LAPTOP TO DOWNLOAD itunes music, but im having trouble deautherizing it, and making her the OWNER, IF you get my drift, how to i mak 

  • Can I disable the wireless functionality and use Ethernet only?

    Can you completely disable the wireless functionality and use the Airport Extreme Base Station as a wired internet router with integrated print server?

    Yes. I do that. I don't use a print server but I was using that port for an HD. My AExpress connected to it is wired also.

  • Can we create multiple session in BDC using Call session?

    Hi Experts,
    Can we create  multiple sessions in BDC using Call Session?
    Scenario:
    Program has to upload 1 million records,so can we programmatically create multiple sessions such that after every 50thousand records we create a different session.
    For moment due to large number of records BDC DYNPRO and BDC Field are unable to hold the large number of records,due to which we get a Out of memory error.
    Thanks in advance.
    Shilpa

    Hi
    If ITAB is your table with the data to be transfered:
    Open the first session:
    CALL FUNCTION 'BDC_OPEN_GROUP'.........
    IF SY-SUBRC = 0.
      FL_OPEN = 'X'.
    ENDIF.
    LOOP AT ITAB.
    IF FL_OPEN = SPACE.
    Create new session
    CALL FUNCTION 'BDC_OPEN_GROUP'.........
    IF SY-SUBRC = 0.
       FL_OPEN = 'X'.
    ENDIF.
    ENDIF.
    Here elaborate your data and fill BDCDATA
    Insert the transaction:
    CALL FUNCTION 'BDC_INSERT'
    IF SY-SUBRC = 0.
      COUNT = COUNT + 1.
      IF COUNT = COUNT_MAX.
        COUNT = 0.
    Close the session
        IF FL_OPEN = 'X'.
          CALL BDC_CLOSE_GROUP
          IF SY-SUBRC = 0.
            FL_OPEN = SPACE.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDLOOP.
    Max

  • Can I create a new account and keep all of my purchases and downloads?

    Can I create a new account and keep all of my old content? Recently got divorced and share the itunes account with my ex. I want a new account but do not want to lose all of my old content. Is this possible?

    Kmiller, 
    Get a copy of the entire iTunes library and copy it to the computer that you will be using from now on.
    iTunes Plus songs will still be playable, as will any "normal" MP3s that were purchased from Amazon or ripped from CD. 
    Any "protected" content from the iTunes Store, such as movies, shows, or pre-2009 songs, will not be playable.  If you need to replace any such items with playable copies, a cost will be incurred.  Make sure to account for this in the property settlement.

  • How to create a stored procedure and use it in Crystal reports

    Hi All,
    Can anyone explain me how to create a stored procedure and use that stored procedure in Crystal reports. As I have few doubts in this process, It would be great if you can explain me with a small stored proc example.
    Thanks in advance.

    If you are using MSSQL SERVER then try creating a stored procedure like this
    create proc Name
    select * from Table
    by executing this in sql query analyzer will create a stored procedure that returns all the data from Table
    here is the syntax to create SP
    Syntax
    CREATE PROC [ EDURE ] procedure_name [ ; number ]
        [ { @parameter data_type }
            [ VARYING ] [ = default ] [ OUTPUT ]
        ] [ ,...n ]
    [ WITH
        { RECOMPILE | ENCRYPTION | RECOMPILE , ENCRYPTION } ]
    [ FOR REPLICATION ]
    AS sql_statement [ ...n ]
    Now Create new report and create new connection to your database and select stored procedure and add it to the report that shows all the columns and you can place the required fields in the report and refresh the report.
    Regards,
    Raghavendra
    Edited by: Raghavendra Gadhamsetty on Jun 11, 2009 1:45 AM

  • Can you create a new folder and put several documents in it in Adobe?

    Can you create a new folder and put several documents in it in Adobe?

    Thank you for your help. Now I just want to expand on this a bit. To use the Applescript you have supplied me, how do I tell it to name the folder other than by date, and where to put it?
    Let me say, preferably, is it possible to make an action like this right-clickable? Instead of having to pick a script. Anything that slows this process down means I might as well do it all by hand. What I'd really love to do is this:
    Select a number of items. Right click to an action saying "create a new folder and put this items in it. Name the folder with the first item's name". Very simple and quick.
    Could this be accomplished? Through Automator? or something that can appear in the contextual menu? Folder actions?
    I'm just getting started with using these tools.

  • Why can't I send i-message and use facetime with my iphone 4s(BTW, there is nothing wrong with my apple account))

    Why can't I send i-message and use facetime with my iphone 4s(BTW, there is nothing wrong with my apple account))
    It functioned well originally, but a month ago I could not use facetime and send i-message anymore. I think there is nothing wrong with my apple ID because I can still download apps in apple store.

    Try turning both iMessages and Facetime off in SETTINGS then re-enable iMessages and then Facetime. See if that helps.

  • Can I create bookmarks on PDF document using stadard acrobat writer? or only using professional acrobat writer?

    can I create bookmarks on PDF document using stadard acrobat writer? or only using professional acrobat writer?

    Hi hagitl14083762,
    Bookmarking in available in both Acrobat Pro and Standard. You'll find instructions here: Adobe Acrobat X Standard * Create a bookmark (while written for Acrobat X, these instructions apply to Acrobat XI as well).
    Please let us know if you have additional questions.
    Best,
    Sara

Maybe you are looking for