XSLT - looking for evaluate() to build dynamic XPATHs

Hi,
I am using the oracle api to process an XSLT and was trying to get the xalan:evaluate() function working.
Having problems as the first param is an ExpressionContext which I am not sure what to set it to.
Anyone have any experience with this or any of the XPath.evaluate calls from the oracle libraries?
Cheers

Set the XPath expression as a String.
http://xml.apache.org/xalan-j/extensionslib.html#evaluate

Similar Messages

  • Looking for a definition of Oracle XPath extensions

    Hej,
    I'm looking for a definition of all Oracle XPath extensions. Especially I'm thinking of the additional XPath functions available in the BPEL server engine. In a tutorial I found that the extensions should be documented at http://schemas.oracle.com/xpath/extension but this URL is not working.
    Sebastian

    See item #2 in http://download-uk.oracle.com/docs/cd/B19306_01/network.102/b14266/policies.htm#sthref951

  • Looking for book about building secured webpages

    Hi, I'm looking for a good book about building secured webpages, the use of SSL etc.
    Can't find much about this subject. Anyone?!
    Greetings BG

    It depends on what you wish to do and which language you wish to use (php, asp, .net, jave, etc), also which server you will be using.
    If you are new to the subject a good starting point would be a book on your preferred langages security, (e.g. PHP security, .net security), a simple search at any of the on-line book stores will deliver a long list (the newer ones are normally better as they cover the newer versions of the language).
    As for building an e-commerce system (or similar), the above books and a good book in programming generally is also helpful, (ensure it covers processing on-line payments).
    If you wish to build a 'ssl vpn', then I have found, "SSL VPN: Understanding, Evaluating and Planning Secure, Web-Based Remote Access" by  Joseph Steinberg a good start.
    HTH
    PZ

  • Looking for App builder

    HI...I am new to community.  I am looking for someone to build an app for my sales team.  I have about 300 people who are in and out of retail stores and I would like to develop a standard retail audit form that they could fill out on the go.  Please let me know cost, timing, and other considerations.  I work for a large firm so someone who is familar with typical IT organization.  thanks  Ted

    Hi and welcome to the forums!
    A couple of places for you to visit:    Blackberry 101    Tips & Tricks
    Have you tried:   BB Applications          or       BB Development
    Happy to have you here!
    IrwinII
    Please remember to "Accept as Solution" the post which solved your thread. If I or someone else have helped you, please tell us you "Like" what we had to say at the bottom right of the post.

  • What would it take for someone to build an app for my business?

    I am looking for someone to build an app for my business....

    You can hire people to build your app for you, but it will cost you. Now how deep you will dig into your pockets will depend on the complexity of your app. Try a company called azurasoft but be cautious dont get suckered into anything

  • Looking for Policy Server Developers

    Hello,
    I have a company located in NY, Paris and Israel and we are thinking about integrating a LiveCycle Policy Server solution for document control.
    I am looking for developers to build and customize this solution.
    Can anybody help find the right team for this kind of project?
    Are there any people interested in developing our program?
    Thanks. Please contact me at [email protected]
    Daniel

    Hello tedro2,
    By submitting your application to this contest, you agree that the intellectual property of your creation goes public, under Apache 2.0 license. After the contest is over, we will publish your application source code, as we are interested to allow the open-source community to learn from these experiences.
    Under your approval, we can also publish your application in the XTWIP showcase (by carefully mentioning that you are the creator).
    The scope is not to repackage your application into a new product, but mainly to offer other developers the possibility to see more collaborative applications in action, as our belief is that web should be far more collaborative than it is today.
    Thank you for your question,
    Cristian Andreica
    co-founder XTWIP

  • Looking for minecraft players for ps4

    Hello, my name is Jose and I'm looking for more players to play minecraft with. I like to play mostly survivor in any mode but I love to play in groups. Please be over 16 as I want to have only mature gamers. Please add me SIN-ANTRAXX
    Oh and please message me saying that you want to play mc after you sent a request. Thank you and see you guys in game.

    Hi, im building a world in creative eventually for survival.....................
    The World Is Called Jaymaker (only just started last day or two 11.10.14)
    im looking for a Common build team, skilled builders, ambitious builders with alot of free time
    So  far in JayMaker (Land Of The Free).....
    High Welcome Spawn
    Spawn House
    Mountain Castle
    and
    The ***** Man Monument
    Add Me (Agginator) with a msg stating (team builder) and we will put you test on building skills before officially being part of the team. ideas can be put together in the server, mic is not an absolute as long as you can communicate somehow with the team , allthoght a mic will aid in you being a more trusted player amongsts the commuinity.
    MUST speak English
    18 Plus Only , maybe mature 16 yrs

  • Looking for Minecraft Players on PS4

    Add me . 21 m. USA
    Okami-sennin

    Hi, im building a world in creative eventually for survival.....................
    The World Is Called Jaymaker (only just started last day or two 11.10.14)
    im looking for a Common build team, skilled builders, ambitious builders with alot of free time
    So  far in JayMaker (Land Of The Free).....
    High Welcome Spawn
    Spawn House
    Mountain Castle
    and
    The ***** Man Monument
    Add Me (Agginator) with a msg stating (team builder) and we will put you test on building skills before officially being part of the team. ideas can be put together in the server, mic is not an absolute as long as you can communicate somehow with the team , allthoght a mic will aid in you being a more trusted player amongsts the commuinity.
    MUST speak English
    18 Plus Only , maybe mature 16 yrs

  • How to evaluate dynamic XPath expression in BPEL?

    I have an xml file where I keep many settings for my BPEL process. At runtime, I read the file and I want to select values from it based on values in the process payload.
    For example, imagine that the process payload is an order:
    <order>
    <header>
    <id/>
    <customer_id/>
    <team_id/>
    </header>
    <items>
    <item>
    <id/>
    <sku/>
    <price/>
    <quantity/>
    </item>
    </items>
    </order>
    Now, in my xml settings file, I have a section where I keep a mapping of "team_id" and "assignment_group", so that for each team id, I can select the appropriate group to whom a task should be assigned. The relevant section of the settings file will look something like this:
    <assignment_groups>
    <group team_id='0923230'>invoice_approvers</group>
    <group team_id='3094303'>order_approvers</group>
    <group team_id='3434355'>shipping_approvers</group>
    </assignment_groups>
    So, imagine I get an order input to my process where the team_id is '3094303'. Now I have to lookup the correct assignment group in my settings file.
    So, I construct the dynamic XPath expression
    /settings/assignment_groups/group[@team_id=3094303]
    I know that this would evaluate to "order_approvers". However, even though I have the XPath expression in a BPEL variable, and I have my settings file as a BPEL variable also, I don't know how to execute the XPath expression against the settings BPEL variable to retrieve the correct value.
    Any ideas appreciated.
    Thanks,
    Jack

    James:
    Thank you for the response. Incidentally, this is the very same document and section that I have been looking at for guidance. Specifically, the section titled "Dynamically indexing by Constructing an XPath at Run Time" on page 12-13.
    I tried to do something similar to the example at the top of page 13:
    <variable name="iterator" type="xsd:integer"/>
    <assign>
    <copy>
    <from expression="concat('/invoice/line-item[',bpws:getVariableData('iterator'), ']/line-total')"/>
    <to variable="xpath"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('input', 'payload',bpws:getVariableData('xpath')) + ..."/>
    </copy>
    </assign>
    I am able to achieve the first copy operation to get my dynamic XPath into a BPEL variable and that's fairly straightforward. But I am unable to get the second copy to work. Specifically, I am not sure what to put in the second argument of the bpws:getVariableData function. I have tried many different combinations, but when I try to compile my program, I get the following compilation error:
    Error:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "C:\code\TrainingWS\SampleGetSettings\bpel\SampleGetSettings.bpel", XML parsing failed because "org.collaxa.thirdparty.jaxen.expr.DefaultFunctionCallExpr".
    [Potential fix]: n/a.
    Thanks,
    Jack

  • Looking for some help with building insert statements...

    Hi, I am using some sql to build some insert statements for me to update a set of tables in our qa environments. The scripts that I have created were working great until someone added a column to some of the tables in the qa env which in turn makes my scripts break because I was simply building the statment to do someting like this...
    insert into dest_table (select * from source_table@dblink);
    But now when the coumns in the tables do not match it breaks...
    This is the dynamic create script I use, can anyone help or suggest a better way to be able to build update statements update to qa tables when the columns are mismatched?
    spool insert.sql
    select
    'insert into ' || table_name || ' (select * from ' || table_name || '@prod );' || chr(10) || ' commit;'
    from user_tables
    where table_name in
    (select * from refresh_tablesl)
    any help is greatly appreciated,
    Thanks.

    See my reply to your duplicate post
    looking for help building dynamic insert statements...

  • Building dynamic dialogs for Acrobat.

    I am attempting to figure out how to build dynamic dialogs within Acrobat using Javascript.
    I am attempting to write a generalized PDF page splitter.  The user selects a PDF document, and then the script analyzes the open document and determines that there are N pages in the document.  I am going to run through the document and make each page its own PDF.  Each page will be considered a certain kind of page, for example, Cover, Article, Ad, etc.  and the type of page it is will affect the naming convention I use when making the new, one-page file.  For example, let's say that pages 36, 37 and 38 are page, ad and article, respectively.  Then the names I will be using for each output file will be as follows:
    P12345Pg_036.pdf
    P12345Ad_037.pdf
    P12345Ar_038.pdf
    But there is no way for my code to actually look at a given page and decide that it is page, article, ad, or one of four cover types, etc.  So I want to build a dialog that looks something like this (assume a O is meant to be a radio button):
    Page          Pagetype
    1                  O Page      O Inner cover Front         O  Outer cover Front     O Ad           O   Article
    2             
    O Page 
    O Inner cover Front    
    O  Outer cover Front
    O Ad      
    O   Article
    3             
    O Page 
    O Inner cover Front    
    O  Outer cover Front
    O Ad      
    O   Article
    4             
    O Page 
    O Inner cover Front    
    O  Outer cover Front
    O Ad      
    O   Article
    N             
    O Page 
    O Inner cover Front    
    O  Outer cover Front
    O Ad      
    O   Article
    This means a dynamic dialog.
    I have looked at the Acrobat API and determined that defining a dialog looks something like this:
    var DialogABC = {
                                       initialize: function(dialog){},
                                       commit : function(dialog){},
                                       description:{}
    app.execDialog(DialogABC)
    What I do not know how to do is create the dialog specification on the fly.  Do I treat it as a string or is there some other way of making this happen?  HOw can I make a dynamic description that allows for a variable number of rows?
    Please let me know if you have any thoughts.  A good reference or example would serve just as well.
    TIA!
    John

    Use this code to get all components of internal table.
    Then build fieldcatlog.
    DATA: tab_return type abap_compdescr_tab,
              components like line of tab_return.
    perform get_int_table_fields using    <fs_it> changing  tab_return.
    loop at tab_return into components.
      wa_fldcat-fieldname  = components-name.               "Field Name
      wa_fldcat-scrtext_m  = components-name.              "Column Heading
      wa_fldcat-inttype    = components-type_kind.     "Data Type
      wa_fldcat-intlen      = components-length.          "Data Lenght
      wa_fldcat-decimals = components-decimals.     "Data Decimal Places
    append wa_fldcat to it_fldcat.
    endloop.
    form get_int_table_fields  using    t_data type any table
                                changing t_return type abap_compdescr_tab.
       data:
       oref_table type ref to cl_abap_tabledescr,
       oref_struc type ref to cl_abap_structdescr,
       oref_error type ref to cx_root,
       text type string.
    *Get the description of data object type
       try.
           oref_table ?=
           cl_abap_tabledescr=>describe_by_data( t_data ).
         catch cx_root into oref_error.
           text = oref_error->get_text( ).
           write: / text.
           exit.
       endtry.
    *Get the line type
       try.
           oref_struc ?= oref_table->get_table_line_type( ).
         catch cx_root into oref_error.
           text = oref_error->get_text( ).
           write: / text.
           exit.
       endtry.
       append lines of oref_struc->components to t_return.
    endform.
    Regards
    Sreekanth

  • New Build - Looking for Tips

    So I have purchased the components listed in my Sig and getting ready to set everything up, just wanting to get some tips/advice on the best way to go about it.
    My biggest question is concerning RAID, as this is the first time I have set one up. Any tips, guides, etc. on how best to accomplish this on my MB is appreciated. I am wanting to end up with a 1TB RAID 1+0 (4 500GB drives paired up, both pairs RAID 1, then one pair RAID 0 of the other pair). Am I correct in assuming it is best to plug only 2 in (SATA 1&2) setup the RAID 1 on those, then plug the other 2 in (SATA 3&4) and set those up as RAID 1, then tie everything together as with RAID 0? Or can I plug them all in and do it all at once? The instructions look fairly straight forward, just looking for some clarity and actual user input.
    Do I need to update my BIOS? I haven't tried booting at all, so not sure what I am starting with, but I notice in the CPU compatibility the same CPU I have lists Version 10.4. Should I stick with what I have and only upgrade if I am having issues, or should I upgrade from the start.
    I have a SATA Blu-Ray burner, and have seen a few things mentioning a SATA ODD coming up under RAID configurations. Is this an issue, is there a certain SATA port I should use to avoid this, certain settings I need to pay attention to, or does it matter?
    Regarding memory, I read (in a sticky) that fewer memory sticks result in faster performance due to Dual Channels. I was under the impression that if all 4 slots were filled you would have 2 groups, each using Dual Channel. Am I incorrect in that? If faster performance (MHz-wise) is achieved by only using 2 sticks, will I get better overall results by removing 2 sticks (leaving only 4GB) or will the additional memory compensate for the speed loss? (The RAM is rated as being Dual Channel, if that makes a difference).
    Does anyone have any general computer building tips? I have built a number of them before, but would like some input on the best/most efficient/fewest problems way is. All previous builds have been done with default configurations, if anyone has suggestions for some settings that they recommend those are welcome. I will be over-clocking at some point, depending on how things go and if there is any advantage to doing so from the start or waiting until the system is setup. I did notice this MB has a OC center as well as the Easy OC Switch. Any input or thoughts on those?
    To sum it up, I am looking for as much input on getting everything set up as easily as possible, with the best settings without requiring a lot of adjustments. Any and all input is appreciated!

    Quote from: Bas on 22-September-10, 15:45:56
    Windows rating is rather silly, it's not the sum of the system but rather the slowest part that gives you this rating.
    Yeah, I agree with the silliness of Windows final rating, however I do like to use the individual ratings as a sort of benchmark. The issue isn't the final rating, it the rating I am receiving for my processor, which is 4.1, and is the lowest rating on there.
    From memory -
    Processor - 4.1
    RAM - 4.9
    Graphics - 7.4
    Gaming - 7.1
    HD - 5.9
    As a comparison, another computer with a 2.2GHz quad core processor, 4GB RAM, and single drive rates as follows:
    Processor - 6.9
    RAM - 7.2
    Graphics - 4.8
    Gaming - 6.1
    HD - 5.9
    With the components I have vs the comparison computer, I would expect CPU, RAM, and HD to all be higher, but they are lower or the same! So something somewhere is not right in my opinion.
    Thanks for any feedback!

  • Looking for a simple tutorial to building my first responsive web site in Dreamweaver CC.

    I am looking for a simple tutorial to building my first responsive web site in Dreamweaver CC.
    I have watched the tv.adobe video 3 times and I cam not able to do the actions the author shows.
    help.
    Ken Edwards

    Responsive and simple don't go hand-in-hand.  First do some prep-work to understand the concepts.
    Responsive Web Design
    http://coding.smashingmagazine.com/2011/01/12/guidelines-for-responsive-web-design/
    Introduction to CSS Media Queries
    http://www.adobe.com/devnet/dreamweaver/articles/introducing-media-queries.html
    Jump start your RWD projects with any of the Responsive Frameworks below:
    Foundation Zurb
    http://foundation.zurb.com/templates.php
    Skeleton Boilerplate
    http://www.getskeleton.com/
    Initializr (HTML5 Boilerplate, Responsive or Bootstrap)
    http://www.initializr.com/
    DMX Zone's Bootstrap FREE extension for DW
    http://www.dmxzone.com/go/21759/dmxzone-bootstrap/
    Project Seven's Page Packs (Commercial CSS Templates)
    http://www.projectseven.com/products/templates/index.htm
    Have fun!!
    Nancy O.

  • Looking for example - abap xslt - that uses xslt document() function

    Hello,
    I'm looking for an example that shows the use of abap xslt with the xslt document() function.  Using the xslt document() function seems like a straightforward way to use xslt to create a result xml document by processing the content of two or more
    source documents.  For example, if source document A.xml and aux.xml are available in  memory as xstringand using stylesheet ztransformwhat would be the argument for the document() function to associate aux.xml.  Thanks for any insight.
    Regards,
    jb10809

    Hi,
    Sorry, perhaps I should have been clearer! The function that I picked just to test what you need to do just happened to return a string that contains SPAN tags with style attributes. The actual function code is:
    create or replace FUNCTION out_string_fn
       RETURN VARCHAR2
    IS
       CURSOR emp_cur
       IS
          SELECT ename
            FROM emp;
       v_string   VARCHAR2 (4000);
    BEGIN
       v_string := ' ';
       FOR c IN emp_cur
       LOOP
          v_string :=
                v_string
             || '&lt;SPAN style="font-weight:bold;color:green"&gt;'
             || c.ename
             || '&lt;/SPAN&gt;'
             || ', &lt;/br&gt;&lt;/br&gt;';
       END LOOP;
       RETURN v_string;
    END;And this returned a naff list in green (see [http://apex.oracle.com/pls/otn/f?p=55041:57] and click the Test button) - but it does show that you can style the validation error messages
    Andy

  • The Distribution Kit Builder is Looking for the NI Variable Engine in an old distribution, cant find it and fails to build

     I am unable to build a distribution kit because the builder appears to have saved a path to the NI Variable Engine which is not valid.  I appear to have the NI Variable Engine installed.   There are NI Variable Engine 2.5.0 .xml files loaded in on my computer (See attached for listing of drivers loaded).  I do not seem to be able to break CVI's Link to my past installers for getting drivers.  I've tried creating a new installer but had the same trouble. 
    I am running a 64 bit Laptop with Windows 7, building a 32 bit application, running CVI 2010.
    Solved!
    Go to Solution.
    Attachments:
    ATAHM Outline.ppt ‏61 KB

    The default path is the path to whatever distribution installed NI Variable Engine on your machine. For example, if it was installed from a Driver Disk, the path would probably be D:\. However, from the images you originally posted, I can see that you were being prompted to provide the path to one of your earlier ATAHM distributions. It was looking for it at this path:
    c:\Users\chill\Documents\Development\AATAS\ATAHM\distributions_ATAHM\ATAHM Oct 24 2011\
    Do you still have that distribution? If you can point it to that distribuiton, you should be good.
    Now back to the error you were seeing... Your version of that .NET manifest file matches (except for the version number) Revision A from the Knowledge Base, so you should try replacing it with Revision B (and rename it to NI .NET Framework 2.0 Language Pack x86 Installer {F8ECD2D6-659C-49EB-8454-5F8F7B526FCF}.xml). Make sure you restart CVI after swapping the file. I would expect that to solve your problem. If it doesn't, you'll have to let me know what the new issue is, or if you're somehow still seeing the same error message.
    Mert A.
    National Instruments

Maybe you are looking for

  • The minimize, maximize and close buttons don't work, and I can't select any items in drop-down menus.

    Running Firefox 23.01 on Windows, and two days ago I lost the ability to maximize, minimize or close windows via the buttons in the upper righthand corner. I also am unable to select a choice in dropdown menus, and for good measure I cannot x out of

  • How to display the value of  level axis in a scattered graph

    hi All, I have created a scatterd graph and i am able to show the X-axis and Y-axis values as tool tip. my requirement is to display the value of level axis also within the tool tip. please help me to configure the value of level axis as tooltip. tha

  • Read this if you have the Looping Audio issue...

    I was having this problem and it was driving me nuts. It would do it randomly everytime I used iTunes. I searched around the web but could not find anything related to this issue except for these forums. What fixed it for me - Go into your Sound pref

  • Facebook and Flickr color space?

    My edit space is adobe RGB. When I sync with Facebook or Flickr, does Aperture convert the files to sRGB automatically? If not, is there anyway to do this without resorting to export versions and uploading the images outside of Aperture?

  • Safari not displaying images

    Since the last OSX software update my Safari won't display any images that are embedded in html. It still displays jpeg images alone. Any idea how to fix it? Here's how google looks like: http://borispc.com/forum/google.png Safari Version 2.0.3 (417.