473,782 Members | 2,531 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

search function with xslt and xml

hi all,
i'm trying to build a search engine which could search within an xml
document an that could give the results of the research to an xsl file
(maybe using parameters)..
i just wanted to know if it is possible, and, if so, if you know where
i can find some information on how i can do it..
i'm building a webpage made by two frames, one of which contain the
search function, and another one should display the result i gained
through the search engine..this second frame is built using xslt + xml
files.. the xml ones is exactly the same file in which i want to go to
search..
i hope to have been clear..

thank you in advance!
yoyo

Nov 11 '05 #1
1 2022
"yoyoyo" <il********@tis cali.it> wrote in message
news:11******** *************@f 14g2000cwb.goog legroups.com...
i'm trying to build a search engine which could search within an xml
document an that could give the results of the research to an xsl file
(maybe using parameters)..


Do you want to do this client-side or server-side?

If client-side, which is what I suspect, you need to understand how to pass
parameters to an XSL stylesheet in your browser.

You might want to look at this URL as a very general starting point:

http://sources.redhat.com/ml/xsl-lis.../msg01316.html

If you work with Internet Explorer, you will need to use XMLHttpRequest to
do this. Search the MDSN site to this effect, but be aware that the COM code
examples often need to be modified based on versions of registered objects.
This is a bit messy.

Since the last time I looked at this, AJAX has become very popular. I have
not tried it myself but I suspect this is really the technology you should
investigate at this point for a client-side tool.

Good luck,

Michèle Ouellet
Stelvio Inc.

PS: This is much easier on the server-side...
Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
6084
by: Mark Constant | last post by:
I have a drop-down list now and I got it so when something is selected from the drop down list it calls a JavaScript function. I want it so the value selected from the drop-down list is sent as a parameter to the xslt file. When I select a value from the drop-down list nothing appears. I want just a basic listing of Title, Image, and Description outputed. I have done a basic JavaScript that uses the .write() function and that worked so the...
10
2107
by: KemperR | last post by:
Dear All, may be some of you can help me with an XSLT example how to solve the following challange. For the XML below I want to find out the maximum hierarchy level for a specific element in my XSLT. The result for the example (searching for <A/>) should be 4 as the element A is nested 4 times maximum. I guess I have to use somehow the count function with 'following::A' axes. But I could not get that to work yet.
4
1557
by: rick.huby | last post by:
This may not be the right place to post this - but if anyone can help that would be great. I want to add an Accessible search function to our website - the only way I can do this is to find a search system that can return its results as an XML document. I am currently using FreeFind.com which is a great search system but only returns the data in HTML (really old HTML too).
2
1172
by: jose.jeria | last post by:
I just started looking at XSLT, so bare with me if I totally misunderstood this. I am passing a value to the xslt that i want to use to search in some nodes. I have the following code for this (note the query parameter): <?xml version='1.0'?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output
0
2358
by: Christopher M. Lauer | last post by:
I have done my best to answer this question but can not find the proper set of commands. I would like to transform an xml file (in code behind) and display its output in a specific html tag, such as a div with a runat=server. I can somewhat do this if I create a server control and include the control within the html div tag but this method (borrowed from ASP.NET Website Programming by Wrox press thanks guys) does not give me the full...
5
2250
by: DarthDaddy | last post by:
I hope to explain this properly. Here is a sample section of a file I am working with: <achievements> <achievement> <item name="COURSE_COMPLETION_DATE">19930630</item> <item name="COURSE_CODE">ADA1W0</item> <item name="SECTION_NUMBER">33</item> <item name="COURSE_DESC_CODE"/> <item name="COURSE_TYPE">DS</item>
4
2082
by: foolproofplan | last post by:
I am currently working on coding something in c++ which allows me to find locations (line/column) of certain elements and attributes within an xml file. For this task, I am trying to create a SAX parser which will search through an xml file as it parses. I have set up a simple SAX parser and an empty handler. I need a point in the right direction on where to begin with making the parse search. I am not sure what is the best way to have...
1
2455
by: Ken Fine | last post by:
I have set up Microsoft Search Server 2008 Express. I want to know how I can query against it and return results in a form that can be bound to ASP.NET controls like ListViews. If there's simply a way to return results as an ArrayList or other data structure I can figure out the rest of this problem myself. What I don't want: * I don't want to deal with XSLT * I don't want to work with prebuilt controls from SharePoint or somesuch. I
4
4092
by: gorkemt | last post by:
I have been trying to accomplish to populate a list of nodes that corresponds to the conditional statement in javascript. I can now search only by project name, as shown in the statement below. However, I want to be able to filter the search by Project Name and Year, and so on. I know this can easily be accomplished in XSLT. Unfortunately, I can not use dynamic XSLT in Sharepoint. Is there any way that I can search my XML file based on multiple...
0
9639
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10143
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10076
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9939
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8964
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5375
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5507
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4040
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.