473,388 Members | 1,408 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Selective XML filtering

Ben
Hello,

i am tryng to create a frameset page with 2 xml docs, one is teh menu
one is the content, i want to be able to filter the content xml based
on whats picked in the menu, is there a way of using superglobals to
filter e.g. "content.xml?name=bob" as im not sure how i could get a
xslt to pick that unique data

thank you for your assistance!

Ben

Sep 3 '07 #1
2 1741
Ben wrote:
i am tryng to create a frameset page with 2 xml docs, one is teh menu
one is the content, i want to be able to filter the content xml based
on whats picked in the menu, is there a way of using superglobals to
filter e.g. "content.xml?name=bob" as im not sure how i could get a
xslt to pick that unique data
My usual suggestion is to use e.g.
content.asp?name=bob
and then in content.asp (which could of course be php or jsp or any
other server-side framework) to read out the query string and perform
the XSLT transformation after passing parameters to the stylesheet.
--

Martin Honnen
http://JavaScript.FAQTs.com/
Sep 3 '07 #2
Ben
On 3 Sep, 13:03, Martin Honnen <mahotr...@yahoo.dewrote:
Ben wrote:
i am tryng to create a frameset page with 2 xml docs, one is teh menu
one is the content, i want to be able to filter the content xml based
on whats picked in the menu, is there a way of using superglobals to
filter e.g. "content.xml?name=bob" as im not sure how i could get a
xslt to pick that unique data

My usual suggestion is to use e.g.
content.asp?name=bob
and then in content.asp (which could of course be php or jsp or any
other server-side framework) to read out the query string and perform
the XSLT transformation after passing parameters to the stylesheet.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Cheers for your response, i know waht you're talking about but im very
new to xml/xslt and dont know how i could impliment the xslt like that

is there any chance i could get a basic example

thanks alot!

Ben

Sep 3 '07 #3

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

Similar topics

0
by: Mike Connor | last post by:
I am having trouble getting Conditional Folder creation & File insertion to work using VS .Net in a Deployment Project for a C# app. I am displaying a generic Textbox Dialog under the User...
3
by: Jason | last post by:
I am trying to filter records in a primary form based on records in related tables. The data in the related tables is being displayed in the primary form through subforms. To be more specific, I...
1
by: Solitus | last post by:
I have databinding problem with a repeater <ItemTemplate> <tr> <!-- fixed content --> </tr> <tr> <!-- optional content --> </tr> </ItemTemplate>
7
by: | last post by:
Hello, Does anyone have an idea on how I can filter the data in the gridview control that was returned by an sql query? I have a gridview that works fine when I populate it with data. Now I...
2
by: JUAN ERNESTO FLORES BELTRAN | last post by:
Hi you all, I am developping a python application which connects to a database (postresql) and displays the query results on a treeview. In adittion to displaying the info i do need to implement...
3
by: Harry Haller | last post by:
Hello, I want to implement a generic list which will be used to display 7 columns in a GridView. One should be able to sort, filter and page each of the 7 columns. Ideally the filter should be...
4
by: alex.hatzisavas | last post by:
Dear all, I'm trying to do a selective deletion from an 'Archive' table based on dates. Here is the setup: Table 'Archive' has a date field ( ). Another table ('Cutoffs') defines the Low...
1
by: aman909 | last post by:
Hello, I have a stock control system for fabric that is produced. The stock control has contains details of every colour of fabric that is produced. We have about 40 to 50 different colours. Im...
0
by: arindams | last post by:
I've a form where an webrowser contains a html file. I want to copy a selective portion of the html content and paste that content in an excel 2007 file where it will be pasted as a normal text (not...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...

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.