Link to home
Start Free TrialLog in
Avatar of seetoronto
seetoronto

asked on

Apply XSLT to the xml output

Hi there,

I was wondering how to apply a xslt to my output here..
I am searching a xml file using a user input.
so the user types in a search term and the code searches a xml file for the the user input. If the search term is found then the results are displayed . But i dont have a clue how to apply a xslt to the output.
I have pasted my entire working code here. I would appreciate if you can apply a xslt to this and test it. I will highly appreciate your help. Pls could you write a working code...not just suggestions pls. Thank you sooo much..

Pls check my code its attached in text file.
Nancy

 one.txt one.txt
Avatar of Anurag Agarwal
Anurag Agarwal
Flag of India image

Hi Nancy,

I have modified your code. Added my changes in the text file attached. Put the xslt code in DBXSLT.xslt file in the same foloder where xml file is placed. Also modified your code to show all search results instead the first.

Regards,
Anurag
one.txt
Avatar of seetoronto
seetoronto

ASKER

Hello Anuragl,

Thank you for your code.
But i feel there is something missing, probably the button1 click subroutine.
The code did not work.. gives errors..
I would appreciate if you can check the code at your end and send me once again if it works.

Thanks
Nancy
ASKER CERTIFIED SOLUTION
Avatar of Anurag Agarwal
Anurag Agarwal
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial