Looking for C/C++ XPath example
I am looking for a C/C++ example that successfully used the XPath routines as provided
in the XDK for Oracle 9.2. Expansion on the meaning of the parameters and a list of
error return values would also be nice.
We will be shipping the missing doc with OTN releases in the future.
Similar Messages
-
Looking for a DAO\JDBC example to deploy as war or ear to see how it works
looking for a DAO\JDBC example to deploy as war or ear to see how it works can any one show me i have searched it but cant find it...
you should try searching in http://www.theserverside.com
-
Looking for BC4J EJB deployment example
Hi,
I am looking for an very simple example project for BC4J deployed as EJB, including table definition, BC4J source files, and EJB client source files. I have previously successfully deployed the BC4J to Oracle8i JVM and OC4J, but currently struck at how to write the client application. I would like to know how to call my own remote methods other than working with ViewObjects directly.
Help needed.
Regards,
Patrick.Maybe this will help:
In JServer, ejb inactivity timeout is controlled by property jbo.ejb.txntimeout which value is 60 (secs) by default.
JServer properties file is deployed as oracle/jbo/server/jboserver.properties, you can get it from jbomt.zip (you should create the same directory structure and a project, say jServerProps.jpr, containing the file).
Edit the file:
jbo.ejb.txntimeout=28800
jbo.ejb.txntype=local
, then deploy it as Classes and Java Stored Procedures to Oracle 8i.
To see effective values of jServer properties you have to set jbo.debugoutput=console in file oracle/jbo/common/Diagnostic.properties - from the same jbomt.zip.
It's better to include the file in the above jServerProps project and deploy at once with jboserver.properties.
null -
Looking for a trap parsing example
Hello experts
I want the MARS to analyze an SNMP trap from a custom device and I'm looking for an example for a trap message parsing. Would appreciate you help.
TIA
IrisAdomacro wrote:
> Looking for a nice fusebox example, which i can use as
base for developing applications..
>
> Please post help.
>
> thanks a bunch.
http://www.fusebox.org/ -
Looking for a nice fusebox example
Looking for a nice fusebox example, which i can use as base
for developing applications..
Please post help.
thanks a bunch.Adomacro wrote:
> Looking for a nice fusebox example, which i can use as
base for developing applications..
>
> Please post help.
>
> thanks a bunch.
http://www.fusebox.org/ -
Looking for USB-8451 SPI example
Does anyone have a typical SPI example VI for the USB-8451 Interface. I want to program a VI for a SPI device, but I don't know how. This example should include DIO Line programming as well, if possible.
Hello thmsfrst,
http://zone.ni.com/devzone/conceptd.nsf/webmain/B380E99DAAD898B38625710F007003C5?OpenDocument
This link shows an example how to the USB8451 and the SPI Interace to evaluate a TI ADC
The example download does not work so i have attached an example for LV8.0 and one for 7.1.
If you have further questions don't hasitate to ask
Stefan
Attachments:
example.7z 92 KB -
Looking for a practical reparenting example.
Hello,
I have noticed a number of CS3 + /AS3 books mention how much
easier reparenting is now in AS3. (which may be true). What I am
struggling with is why anyone would reparent something in the first
place. Any practical examples of why someone would do this and why
it would be a prefered method would be greatly appreciated.
Thanks,MATTANDIE,
> I have noticed a number of CS3 + /AS3 books mention
> how much easier reparenting is now in AS3.
It's not that AS3 makes it easier; it's that AS3 makes it
possible.
> What I am struggling with is why anyone would reparent
> something in the first place.
The example I tend to use -- only because I think it's the
easiest to
grasp, for programmers and nonprogrammers alike -- is a
jigsaw puzzle
application. Imagine a jigsaw puzzle done in Flash, in which
you drag
pieces around in order to construct an image (just like real
life).
Generally, this sort of thing is done with movie clips. The
easiest
approach is to use the native MovieClip startDrag() and
stopDrag() methods.
It can be a nice feature for snapped-together pieces to move
as a single
group. Doing so in AS2 means looping through those
snapped-together pieces
(keeping track of adding them, removing them, etc.) and
moving them all when
any *any one of them* is dragged.
Doing so in AS3 potentially means removing them from their
current
parent (say, the main timeline) and adding them to a new
parent (a container
just for snapped-together pieces). To move the whole group,
all you have to
do is apply a drag/drop routine to that one object.
> Any practical examples of why someone would do this and
> why it would be a prefered method would be greatly
appreciated.
I can think of other example, off the top of my head. You
might be
coding up a game in which numerous enemies are chasing the
hero. By
reparenting those enemies into a single group, you can run a
hittest against
the combined object to discern when the hero is coming too
near *any* of
them. When that happens, you could then determine which enemy
is the
closest, and remove that one entity from the group,
reparenting it to the
same timeline as the hero. In this way, you could focus your
hittest
routine on as few objects as possible, whereas in AS2 you
might have had all
your enemies "loose" in the same timeline as the hero. Your
hittests might
either be lesser optimised (always looping among all enemies)
or less
accurate (all in one group) -- but couldn't enjoy the best of
both worlds.
Does that help?
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
Looking for good first example for RSS
Hello,
I am looking for a good code example which will guide me how to use RSS at the portal. Can anyone please direct me to such example?Hi Roy,
I am posting a xslt that filters the news by searching for any news that has "Troops" and "Pope" in the title of the news. I can send you the complete par if you email me your address at [email protected] You owe me lunch buddy. :). The following xslt is for http://rss.news.yahoo.com/rss/world feed.
[code]<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
<xsl:template match="/rss/channel">
<a class="urLnk"><xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute><xsl:value-of select="title"/></a>
<xsl:for-each select="item">
<xsl:variable name="titlestring"><xsl:value-of select="title"></xsl:value-of></xsl:variable>
<xsl:variable name="pope">Pope</xsl:variable>
<xsl:variable name="troops">Troops</xsl:variable>
<xsl:if test="contains($titlestring,$pope) or contains($titlestring,$troops)">
<table>
<tr>
<td class="urTxtStd">
<a class="urLnk"><xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute><xsl:value-of select="title"/></a>
</td>
</tr>
<tr>
<td class="urTxtStd">
<xsl:value-of select="description"/>
</td>
</tr>
</table>
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>[/code]
Message was edited by: Prakash Singh -
Im looking for a way to add more information to the song tags.
Im not sure where to add the information im looking for. As an example i recently got the new smashing pumpkins 5 disc set. When ripped if shows which songs are from discs 1-5 and seperates them. Whats missing is the information corresponding to the fact that each of the 5 discs actually has its own disc name and not just disc number. is there a way to include this so it shows songs listed as Artist/album/album name/track name? For example, Smashing Pumpkins / Mellon Collie Deluxe Editon / Dawn to Dusk / Track name? I would just hate to lose this information to time in my library, and when a friend asks what disc its on i can just say its disc name. Thank you.
This might help you
http://www.mp3tag.de/en/ -
Looking for simple search example using SELECT
Can anyone link me to an example of how to create a basic search page where the search criteria is selected in a drop-down list (<SELECT> in HTML)?
Here's where I'm coming from so you have a better idea of what I'm trying to do. I've created a search page by creating a method in my App Module java class using setWhereClause(), then dropped my view onto my web page as a read-only table, and finally dropped the method and parameter as a command button and input text field, respectively. This works fine, but I'd like to replace the input text field with a select box so that the users will not have to type in their search criteria. I'd like to populate the drop-down with data from a table, which will then be sent as the argument for the method.
I can create a ViewObject that contains the data I need, but I'm not sure where to go from there. I don't know how to create the drop-down list or connect the command button to the list. (Ultimately, I'd like to have the search text submitted when the drop-down changes, but I'll settle for pressing the button for now). I've fooled with using the LOV component, but without any luck.
Step-by-step would be great, but if you can point me to an example, some documentation, etc., that would be great too.
Thanks,
AndyExcellent - Thanks for the link to the sample code page. I thought I had seen all the tutorials, etc. but for some reason never came across this page. The example you cited looks like it's just what I'm looking for.
(Edit - For anyone who's interested, here's a step-by-step for creating a databound drop down list:
http://www.oracle.com/technology/products/jdev/tips/mills/databound_lists.html )
Andy -
Looking for Simple JSTL Example
Hi Everyone,
I'm looking for an example of a simple Web application that uses "JavaServer Pages Standard Tag Library" (JSTL) -- that doesn't use JDeveloper!
I have OC4J stand-alone 10.1.3.0.0 on Microsoft Windows XP Professional Version 2002 Service Pack2 with JDK 1.5.0_07
I created and packaged a J2EE application in a EAR file. The EAR file contents:
META-INF/application.xml
frstjstl.warContents of "application.xml"
<?xml version="1.0"?>
<application
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"
version="1.4">
<module>
<web>
<web-uri>frstjstl.war</web-uri>
<context-root>frstjstl</context-root>
</web>
</module>
</application>Contents of "frstjstl.war"
META-INF/MANIFEST.MF
index.jsp
WEB-INF/lib/standard.jar
WEB-INF/web.xmlContents of "web.xml"
<?xml version="1.0"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<jsp-config>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/lib/standard.jar</taglib-location>
</taglib>
</jsp-config>
</web-app>Contents of "index.jsp"
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<title>Simplest JSTL</title>
</head>
<body>
<h1>Simplest JSTL</h1>
<c:forEach var="httpRequestHeaders" items="${headerValues}">
${httpRequestHeaders.key} = ${httpRequestHeaders.value}
</c:forEach>
</body>
</html>My JSTL implementation comes from here:
http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html
The distribution contains a "standard.jar" file and a "jstl.jar" file (among other things). The "standard.jar" file is included in my WAR (see above) and I have copied the "jstl.jar" file to:
%J2EE_HOME%\jsp\lib\taglibI launch OC4J from the command prompt like this:
java -jar oc4j.jarI deploy my EAR using the following command:
java -jar admin.jar ormi://localhost oc4jadmin xxx -deploy -file frstjstl.ear -deploymentName FirstJSTL -bindWebApp default-web-siteThen I launch my Web browser and enter the following URL:
http://localhost/frstjstlAnd I get the following error message:
500 Internal Server Error
OracleJSP: oracle.jsp.parse.JspParseException: /index.jsp: Line # 8, <c:forEach var="httpRequestHeaders" items="${headerValues}">
Error: Attribute: items is not a valid attribute nameThanks (for reading),
Avi.Thanks Qiang.
Yes, when I copy file "index.jsp" to directory "%J2EE_HOME%\default-web-app\testJstl.jsp" it works.
I use the following URL:
http://localhost:8888/testJstl.jspAnd this is the output I get:
[Format modified to be more suitable to post on this forum.]
Simplest JSTL
CONNECTION = [Ljava.lang.String;@7348e
USER-AGENT = [Ljava.lang.String;@10b8d03
ACCEPT-LANGUAGE = [Ljava.lang.String;@157011e
ACCEPT-ENCODING = [Ljava.lang.String;@10a8143
ACCEPT = [Ljava.lang.String;@ac8360 HOST = [Ljava.lang.String;@1e534cb
[/pre]
But I guess, since the JSTL related JAR files are part of the default Web application, there is no reason it shouldn't work.
That's why you said:
Let us do a sanity test first.So now what?
(And, by the way, thanks for your help.)
Cheers,
Avi.
Message was edited by:
Avi Abrami -
Looking for an example from app gallery that uses WAAD for identity
I'm looking for an example from the app gallery (http://azure.microsoft.com/en-us/gallery/active-directory/) that uses WAAD for identity. I need one the show our business what the process would look like for an organization signing up for a SaaS offering
via the App Gallery. I know all the Microsoft applications use WAAD but I was hoping to find a third-party example. What I mean is an app where all tenant and user identity is done using WAAD as opposed to federated identity.I doubt that what you are looking for exists yet.
Cheers,
Markus
Markus Vilcinskas, Knowledge Engineer, Microsoft Corporation -
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,
jb10809Hi,
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
|| '<SPAN style="font-weight:bold;color:green">'
|| c.ename
|| '</SPAN>'
|| ', </br></br>';
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 -
Looking for examples of the Exchange Page
Hey! Any Body??
I am looking to display data like on the Exchange page with
logo and links in the tables. Does any one know of where I can
start looking for something like that? I like the layout of the
Exchange page. If any of you know something please let me know.
thanks.You can find several examples that will work with the DAQCard-1200 at zone.ni.com/libraries/.
Then look under Data Acquisition. There are also examples that ship with
LV and NIDAQ. Look in ...\Labview\examples\daq\anlogin\.
"david frazao" wrote:
>Thank you , if you can help me by sending VI examples for the 1200 daq-card>,
with 2 or mores inputs>> -
Looking for example of seurity domains
I'm looking for examples of code for implementing issuer security
domains as well as application providor domains. Having read the
GP documentation it seems rather strait forward, but I would like
still like an example if anyone knows of any. In particular one
thay may have delegation. Any help would be appreciated.
AlwynI would recommend you contact a vendor because they issuer for the ISD. If you want to become an ISD, then you'll have to organize the applet to conform to your specifications.
Also, you need to contact a vendor because to perform delegation is outside the realm of developer cards. In other words, I don't know of any vendor that provides delegation implementation with developer cards.
Maybe you are looking for
-
How do I get at the files created from ADK in 7.3?
We are on 7.3 and have used ADK to archive off data to files. We are not able to figure out how we can get at this data and view it ? does anyone have a document to follow?
-
I am facing a problem that Basic Excise Duty is not picking in Tcode.: J1IS
while doing STO. Our STO procedure is intiallyyPO with UB STO then MB1B with 351 movement type transfering stock from one plant to another plant. Next step is Tcode: J1IS here BED should pick automatically once i click on GET EXCISE INVOICE tab. then
-
Hi All, Some times when we are using the SAP system it show that a particular object has been locked . My question is , Is there any way to find that who has locked the data i.e. can we get the computer name or some other info from which the user can
-
How to "auto" change images in Dreamweaver?
Hey guys, happy Holidays, Merry Christmas, .... Got a request that have seen but never done, client wants the image to swap to a new image every time the person comes back to the home page.......there are 10 pix in all I believe. Anway, I uploaded a
-
Hello all, Thanks to those who helped before to get the dialog box to open. (I'd never used Swing before, so I ended up learning quite a bit<g>) At any rate, I've run into another silly snag, I can't get the app window to close. I've tried the dispos