How to retrieve and use an XSL file from CLOB field

I am using Java to query my data and return XML formatted data. I am able to format this data using an XSLStylesheet file. But I want to instead use an XSL Stylesheet stored in a clob field.
I have an XSL file stored in a clob field. How can I retrieve and use it to initialize an XMLDocument and then create an XSLStylesheet.
Thanks for your help,
Les Smith

I think this question has been raised before. Try searching this forum.

Similar Messages

  • How to transfer and use the project files from Premiere Pro cs6 MAC OS to Premiere Pro CS6 Windows

    Is there any plugin or tool that can help me to transfer my project files along data edited on adobe premiere cs6 MAC OS to the adobe premiere pro cs 6 on windows PC

    When transferring a project from one computer to another,to stop errors such as these, its essential to ensure that the project is copied with all the files and folders in exactly the same locations. Also before opening the project on the new computer, you need to set up a new project and set all the preferences to be exactly the same as on the first computer. Then when you open the project, premiere will find all the files in all the right places. Even then you may need to re-link some files. Just follow the prompts when Premiere asks "Where is file...."
    We use USB hard drives to store students projects on and they are used on many different computers without problems, as the preferences are all set to be the same.

  • How to view and use an xsl page in apache tomcat

    how to view and use an xsl page in apache tomcat do i need to configure
    certain files if yes what are they?
    thanks

    actually how do i embed xsl code into jsp and display it at localhost
    do i need to do any configuration before i can view the page

  • How to compile and run a .java file from another java program

    hello,
    can any one tell me how to compile and run a *.java* file from another java program which is not in same directory?

    Well a smarter way of implementing this is by using a solution provided by Java Itself.
    If you are using J2SE 6.0+ there is an in built solution provided along with JDK itself and inorder to go ahead with solution the below are set of API which you;d be using it for compiling Java Programs (Files)
    http://java.sun.com/javase/6/docs/api/javax/tools/package-summary.html
    How do i do that ??
    Check out the below articles which would help you of how to do that
    http://www.ibm.com/developerworks/java/library/j-jcomp/index.html
    http://www.javabeat.net/javabeat/java6/articles/java_6_0_compiler_api_1.php
    http://books.google.com/books?id=WVbpv8SQpkEC&pg=PA155&lpg=PA155&dq=%22javax+tools%22+compiling+java+file&source=web&ots=XOt0siYe-f&sig=HH27ovuwvJgklIf8omTykUmy-eM
    Now once we are done with compilation.In order to run a Specific class all you ought to do is create an object and its specific methods of a specified class included in the CLASSPATH which you can manage it easily by usage little bit reflections.
    Hope that might help :)
    REGARDS,
    RaHuL

  • How to create and use library JAR files with command-line tools?

    Development Tools -> General Questions:
    I am trying to figure out how to put utility classes into JAR files and then compile and run applications against those JAR files using the command-line javac, jar, and java tools. I am using jdk1.7.0_17 on Debian GNU/Linux 6.0.7.
    I have posted a simple example with one utility class, one console application class, and a Makefile:
    http://holgerdanske.com/users/dpchrist/java/examples/jar-20130520-2134.tar.gz
    Here is a console session:
    2013-05-20 21:39:01 dpchrist@desktop ~/sandbox/java/jar
    $ cat src/com/example/util/Hello.java
    package com.example.util;
    public class Hello {
        public static void hello(String arg) {
         System.out.println("hello, " + arg);
    2013-05-20 21:39:12 dpchrist@desktop ~/sandbox/java/jar
    $ cat src/com/example/hello/HelloConsole.java
    package com.example.hello;
    import static com.example.util.Hello.hello;
    public class HelloConsole {
        public static void main(String [] args) {
         hello("world!");
    2013-05-20 21:39:21 dpchrist@desktop ~/sandbox/java/jar
    $ make
    rm -f hello
    find . -name '*.class' -delete
    javac src/com/example/util/Hello.java
    javac -cp src src/com/example/hello/HelloConsole.java
    echo "java -cp src com.example.hello.HelloConsole" > hello
    chmod +x hello
    2013-05-20 21:39:28 dpchrist@desktop ~/sandbox/java/jar
    $ ./hello
    hello, world!I believe I am looking for:
    1. Command-line invocation of "jar" to put the utility class bytecode file (Hello.class) into a JAR?
    2. Command-line invocation of "javac" to compile the application (HelloConsole.java) against the JAR file?
    3. Command-line invocation of "java" to run the application (HelloConsole.class) against the JAR file?
    I already know how t compile the utility class file.
    Any suggestions?
    TIA,
    David

    I finally figured it out:
    1. All name spaces must match -- identifiers, packages, file system, JAR contents, etc..
    2. Tools must be invoked from specific working directories with specific option arguments, all according to the project name space.
    My key discovery was that if the code says
    import com.example.util.Hello;then the JAR must contain
    com/example/util/Hello.classand I must invoke the compiler and interpreter with an -classpath argument that is the full path to the JAR file
    -classpath ext/com/example/util.jarThe code is here:
    http://holgerdanske.com/users/dpchrist/java/examples/jar-20130525-1301.tar.gz
    Here is a console session that demonstrates building and running the code two ways:
    1. Compiling the utility class into bytecode, compiling the application class against the utility bytecode, and running the application bytecode against the utility bytecode.
    2. Putting the (previously compiled) utility bytecode into a JAR and running the application bytecode against the JAR. (Note that recompiling the application against the JAR was unnecessary.)
    (If you don't know Make, understand that the working directory is reset to the initial working directory prior to each and every command issued by Make):
    2013-05-25 14:02:47 dpchrist@desktop ~/sandbox/java/jar
    $ cat apps/com/example/hello/Console.java
    package com.example.hello;
    import com.example.util.Hello;
    public class Console {
        public static void main(String [] args) {
         Hello.hello("world!");
    2013-05-25 14:02:55 dpchrist@desktop ~/sandbox/java/jar
    $ cat libs/com/example/util/Hello.java
    package com.example.util;
    public class Hello {
        public static void hello(String arg) {
         System.out.println("hello, " + arg);
    2013-05-25 14:03:03 dpchrist@desktop ~/sandbox/java/jar
    $ make
    rm -rf bin ext obj
    mkdir obj
    cd libs; javac -d ../obj com/example/util/Hello.java
    mkdir bin
    cd apps; javac -d ../bin -cp ../obj com/example/hello/Console.java
    cd bin; java -cp .:../obj com.example.hello.Console
    hello, world!
    mkdir -p ext/com/example
    cd obj; jar cvf ../ext/com/example/util.jar com/example/util/Hello.class
    added manifest
    adding: com/example/util/Hello.class(in = 566) (out= 357)(deflated 36%)
    cd bin; java -cp .:../ext/com/example/util.jar com.example.hello.Console
    hello, world!
    2013-05-25 14:03:11 dpchrist@desktop ~/sandbox/java/jar
    $ tree -I CVS .
    |-- Makefile
    |-- apps
    |   `-- com
    |       `-- example
    |           `-- hello
    |               `-- Console.java
    |-- bin
    |   `-- com
    |       `-- example
    |           `-- hello
    |               `-- Console.class
    |-- ext
    |   `-- com
    |       `-- example
    |           `-- util.jar
    |-- libs
    |   `-- com
    |       `-- example
    |           `-- util
    |               `-- Hello.java
    `-- obj
        `-- com
            `-- example
                `-- util
                    `-- Hello.class
    19 directories, 6 filesHTH,
    David

  • How to create and modify an XML file from an Oracle Form

    I would like to build an Oracle Form to maintain a small XML file in the file system (i.e. Not in Oracle database but in the operating system).
    I would like the Form to display existing values from the XML file and the user can update and save content back to the XML file.
    Can any one tell me how this can be done? Thanks.

    Does Forms 9i provide any XML Parser Functions?
    Can I insert the XML file into a table column by inserting XML using the XSU Front End rather than using TEXT_IO to maintain the XML file directly?
    Can I use XSU PL/SQL API in Forms to retrieve and modify XML values?
    Any help is appreciated.

  • X2: How to stop and play a MP3 file from any place...

    Hi,
    I have some 1 hour talk shows on MP3 on my X2. I play one show. After 10 minutes I want to pause it there and take a call, or go to the menu and add a reminder, and come back to the mp3 and play from the point I stopped (10 minutes). How to do that? 
    When I pause and come back and press play, it starts from the begininging????
    Thanks
    Roahan

    Well a smarter way of implementing this is by using a solution provided by Java Itself.
    If you are using J2SE 6.0+ there is an in built solution provided along with JDK itself and inorder to go ahead with solution the below are set of API which you;d be using it for compiling Java Programs (Files)
    http://java.sun.com/javase/6/docs/api/javax/tools/package-summary.html
    How do i do that ??
    Check out the below articles which would help you of how to do that
    http://www.ibm.com/developerworks/java/library/j-jcomp/index.html
    http://www.javabeat.net/javabeat/java6/articles/java_6_0_compiler_api_1.php
    http://books.google.com/books?id=WVbpv8SQpkEC&pg=PA155&lpg=PA155&dq=%22javax+tools%22+compiling+java+file&source=web&ots=XOt0siYe-f&sig=HH27ovuwvJgklIf8omTykUmy-eM
    Now once we are done with compilation.In order to run a Specific class all you ought to do is create an object and its specific methods of a specified class included in the CLASSPATH which you can manage it easily by usage little bit reflections.
    Hope that might help :)
    REGARDS,
    RaHuL

  • How to import and use a *.key file

    Hi I've been looking for the forum a solution for this but I haven't found,
    I need to sign a file, with a private key, but the private key is a file AAA01_0408021316S.key,
    how can I load this file in order to use it to sing a document
    hope someone can help me

    http://demo.quietlyscheming.com/source/SuperImage.zip
    this is the source code, but where do i need to put it?

  • How to copy and use the RAID files for ATI SB600 for a new build

    WinXP Home
    MSI K9A Platinum
    AMD Athlon X2-3600+
    2 x Seagate 250GB SATA2 3GB/s HHD
    2 x HIS X1950Pro in Crossfire
    2 x OCZ2A8002GK Crossfire certified modules
    Enermax Galaxy 850
    Hello, I plan on setting this new build up with SATA RAID 0. I tried to follow the ReadMe file in the RAID drivers download but think I am not fully understanding. The ReadMe says to copy all files to the media...it said floppy but I am going to use a flash drive. I did so but there were two folders, X64 and  X86. Do I open those two folders and copy all the contents or do I just copy the two folders directly to the drive?
    Thank you

    Quote from: lewislink on 05-July-07, 02:13:43
    Open the sub-folders and copy their contents, or copy the sub-folders, themselves?
    What about BIOS update? Will it be necessary to use a floppy or can a flash drive function?
    "What about BIOS update? Will it be necessary to use a floppy or can a flash drive function?"
    don't update the BIOS when everythink is working...
    "Open the sub-folders and copy their contents, or copy the sub-folders, themselves?"
    copy them as is.. directly with sub-folders included.

  • How to retrieve and use BP's tax information in PLD

    Hi all,
    Iam trying to retrieve BP's tax information into A/R invoice print layout designer.
    But BP's tax information is stored as a variable in BP master data form, more over in A/RInvoice to tax detail of BP is shown in form with different Form id from that of A/RInvoice. Please help me out to solve this problem.
    Regards,
    Mini.

    Hi Mini,
    You can also try to list more tables if the required table is not in the list. When you open the PLD hold down your Alt key while clicking the drop down arrow in the table drop down list. This will show all tables. You must do this before you do anything else so if you have the window open, close it and open the PLD again.
    Hope it helps,
    Adele

  • How to see and use MS Word files

    What is the best App to download, edit, and store MS Word, Excel, and Powerpoint Files on the iPad2?

    'Best' will be down to personal preference. But some of the top sellers are, firstly from Apple :
    Numbers (support Excel) - http://itunes.apple.com/us/app/numbers/id361304891?mt=8
    Pages (supports Word docs)  - http://itunes.apple.com/us/app/pages/id361309726?mt=8
    Keynote (Powerpoint) - http://itunes.apple.com/us/app/keynote/id361285480?mt=8
    Third-party apps which support all three document types :
    Documents To Go - http://itunes.apple.com/us/app/documents-to-go-office-suite/id317117961?mt=8
         'premium' version (edit Powerpoint, not just view) -
         http://itunes.apple.com/us/app/documents-to-go-premium-office/id317107309?mt=8
    QuickOffice HD - http://itunes.apple.com/us/app/quickoffice-pro-hd/id376212724?mt=8

  • How to fetch and display arbitrary log files from a managed host?

    We are creating a small management portal for a custom application and need a way to display, in a browser, the contents of an arbitrary log file located on an EM managed host. The effect we are looking for is similar to what you get when you show the contents of a database alert log using EM.
    I want to extend the EM agent to get the log and display the contents, but see two problems: (1) it seems like we would have to schedule the fetch of the log contents to happen on a regular basis and would not be able to do it on demand and (2) storing the results in the EM repository seems like it could consume a pile of storage, even if it only stores the logs for 24 hours.
    I am pretty sure we can bypass the repository somehow because I think the "show database alert log" EM process does so. Of course, I can't really be sure how this code is getting the alert log, but it seems reasonable to assume it is using the management agent.
    Is there some API for the EM Agent that I am missing?
    Any ideas would be appreciated.

    From within OEM it doesnt look possible. User defined metrics (UDM) can only return number or a string. The alertlog fetch is done via alertlogViewer.pl while being passed a couple of parameters.
    OEM does have a preliminary/rough api available at http://www.oracle.com/technology/products/oem/emx/index.html but I havent seen anyone make use of it yet.
    If you use just a web connection then you will probably run into security issues as a web server can usually only view/access stuff under their htmldoc dir.
    Seems like some non-OEM very custom code is what you seek..

  • How to get node value of XML file from XMLTYPE field of databases

    Hi,
    I want to select node value of XML from XMLTYPE field of oracle db into java code.
    Feel free to answer me if you have any idea about it.
    Thanks

    For XMLType refer
    http://www.oracle.com/oramag/oracle/01-nov/o61xml.html
    http://www.lc.leidenuniv.nl/awcourse/oracle/appdev.920/a96620/xdb04cre.htm

  • How can a jar file is download and used on client automatically from server

    i am using JAI.jar(sun jar file),tiffimage.jar(my jar file) and some fonts(Hindi) on the client side in my project.can we download and use the above files from the server on the client side automatically without the client installation.
    please reply me as soon as possible

    you can use Java Web Start to load all the jar files. JDK 1.4.1 is come with Java web Start.

  • How to retrieve data using logical database and custom select options

    Hi all,
    I have a selection screen which is displayed by logical database PSJ and I have two select options of my own. I need to retrieve data based on both selection screen of logical database and my own select options. How can I do it?
    Thanks in advance.

    Hai Gupta
    Check the following Document & Links
    1. A logical database is in fact
    a program only.
    2. This LDB provides two main things :
    a) a pre-defined selection screen
    which handles all user inputs and validations
    b) pre defined set of data
    based upon the user selection.
    3. So we dont have to worry about from
    which tables to fetch data.
    4. Moreover, this LDB Program,
    handles all user-authorisations
    and is efficient in all respects.
    5. tcode is SLDB
    good info about Logical Database. you can check the link.
    http://www.geekinterview.com/question_details/1506
    http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm
    Re: How to Create and Use ldb in reports?
    Re: Logical databases
    http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm
    Functions for displaying and changing logical databases:
    Call Transaction SE36 or
    Choose ABAP Workbench -> Development -> Programming environ. -> Logical databases
    Interaction between database program and report:
    During program processing, subroutines are performed in the database program and events are executed in the report.
    To read data from a database tables we use logical database.
    A logical database provides read-only access to a group of related tables to an ABAP/4 program.
    advantages:-
    The programmer need not worry about the primary key for each table.Because Logical database knows how the different tables relate to each other,and can issue the SELECT command with proper where clause to retrieve the data.
    i)An easy-to-use standard user interface.
    ii)check functions which check that user input is complete,correct,and plausible.
    iii)meaningful data selection.
    iv)central authorization checks for database accesses.
    v)good read access performance while retaining the hierarchical data view determined by the application logic.
    disadvantages:-
    i)If you donot specify a logical database in the program attributes,the GET events never occur.
    ii)There is no ENDGET command,so the code block associated with an event ends with the next event
    statement (such as another GET or an END-OF-SELECTION).
    1. transaction code SLDB.
    2.enter name z<ldb-name>
    3.create
    4.short text
    5.create
    6. name of root node (here Ekko)
    7. enter short text (f6)
    8.node type -> data base table.
    9.create
    10 change logical DB
    riht click on ekko and insert node
    here node name ekpo
    11.create
    12. click on selections
    13. press no Should the changed structure of Z<ldb name> be saved first.
    14.select tables which you want to join.
    15.transfer
    16 now you have to o to coding part.
    17. save
    activate.
    19.click to src code
    double click on first include and activate
    Regards
    Sreeni

Maybe you are looking for

  • How to print the values in smartforms

    Hello Abapgurus, This is my problem which i explained below. IF the text has 11 rows and you can only print 8 rows in the current page, THEN go to next page print all 11 rows at the fresh page. How can i achieve this.I need to achieve it in smartform

  • Upload Excel file to itab with more than 255 chars

    I want to upload an excel file to internal table with more than 255 characters in one of the field. However it restricts the upload to only 255 characters. Currently I am using the code   CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'   EXPORTING i_field_se

  • ALV Report to display the status of the requests raised through ESS

    Hi All, We have to develop a ALV report to display the status of the requests raised through ESS for Leave, Travel & Event Management, Travel and Appraisal workflows. ESS Travel, ESS TEM, ESS Apraisal workflows are associted with SAP Business Objects

  • How to install and configure Oracle Trafic Director and OAM webgate ( Doc ID 1906445.1 )

    Anybody knew, why i can  not access this document? I am in the middle of project implementation, and Oracle support direct me to this document, but for some reason, can not find it.

  • Can't use Analyzer 7.0, toolbar has no response.

    As the title, I have tried many solutions, including install patchs of office, windows and Gui, but issue still happen. My system configure: SAP PC VERSION INFORMATION: saplogon.exe MAIN MODULE INFORMATION:    saplogon.exe    SAP Logon for Windows