search with xquery

Where do I put XQuery code? WHich file? And how is it set up?

I want to have a user enter info. then i want to search an XML file for it in a specific field, then i want to display this information. an this be done? if so, can someone help out?

There are several method to build a Query.

URL by Browser
Via XSL
By definition( Joined Query)
By programming …

If you are developer you can use x-application. It is the very easy way of build an application. When you give the document type to x-application generater it will create all base data entry codes including search code.

But if you want a search example in JSP it is a small sample


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<%@ page language=“java” contentType=“text/html; charset=UTF-8” errorPage=“Error.jsp”%>
<%@ taglib uri=“http://www.softwareag.com/xtools/xapplication” prefix=“bdm” %>


oc_icd Sorgulama

.link {
COLOR: #000000; FONT-WEIGHT: bold; TEXT-DECORATION: none
}
A {
COLOR: #000000; FONT-WEIGHT: bold; TEXT-DECORATION: none
}
A:link {
FONT-WEIGHT: bold
}
A:hover {
COLOR: #000000; FONT-WEIGHT: bold; TEXT-DECORATION: underline
}


<bdm:module id=“bdProp”>
<bdm:form module=“bdProp”>














  icd
Arama















<bdm:form module=“bdProp”>
<bdm:action type=“create” schema=“oc_icd”>


</bdm:action>
</bdm:form>
Sayfadaki Kayıt adedi

































icd

icd Code :









 

Description :









 

Search Words :









 

Line Description :









 

Comp. Search :









 

 




</bdm:form>
</bdm:module>