Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!

solomon alexander

Greenhorn
+ Follow
since Mar 20, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by solomon alexander

I have an HTML form. This form has the fields Title,Artist,Company,Country,Company,Price,Year and a search button.
User needs to enter the search fields and hit the submit button. A Javascript function will be invoked. This function will load the XML file and the XSL file as well. Then it transforms the XML data into HTML. The search needs to be done against the XML file and display the data in HTML.
Basically we need to convert the XML data into HTML data.
Everything should happen at the client side.

I think this can be achieved by Ajax, however it needs a web server like Apache Web Server.
I would like it get this done on the client side.

Let me know, if it is possible.

Thanks
Solomon
The relationship is : HTML form will have fields and a search button. User will perform search by entering the search fields and hit search button. The data needs to be pulled out from an XML file which uses a XSL stylesheet and convert the XML data into HTML
Hi,

I have a HTML form, which has a javascript function.
What i need to do is , pass a parameter from a javascript function and access that from XSL tags.
This parameter is not static , it is a HTML form field. This will come dynamically to XSL and needs to be accessed via XSL tag.

Could you let me know, whether it is possible?

Thanks
Solomon
Hi,

I would like to know whether it is possible to pass parameters from a javascript function (in a HTML form) to an XSL file.
Your help would be highly appreciated.

Thanks
Solomon
Hi,

I need to convert an XML document to XHTML using XSLT.
To brief about my requirement, there is an HTML form which has text fields like title,artist,country,company,price, year and a search button. I will be entering data into these fields and hit the submit button, this should query the data against the XML file and display that in XHTML.

Please see the below XSLT code:


Could you let me know, how can i perform a search based on criteria. In other words, I want to filter data dynamically based on form data.
Any Hint would be highly appreciated.

Thanks
Solomon
Hi,

Could anyone point me in the right direction?

Solomon
Hi,

Could any of you point me in the right direction?

Thanks
Solomon
Hi,

Please see the below XSLT code:



Could you let me know, how can i perform a search based on criteria. In other words, I want to filter data dynamically based on form data.
Any Hint would be highly appreciated.

Thanks
Solomon
Hi,

Please find below the code to perform the task:





I m able to read an xml file using javascript, now in the process of refining the filter.
Please let me know,if i m doin anything wrong.

Solomon
Hi,

I got your point.
But to be more precise on what I am looking for.
I will have an HTML form having 3 fields : Title , Artist and Country.
When I enter data into these fields , it should search against the XML and display into the screen.
I am doing some proof of concept on this, meanwhile if you guys have any hint, please provide.


Thanks
Solomon
My requirement is to keep the XML file locally in my machine.
Then to use javascript to load the XML and search for a text field and display the record in HTML
Could you point me in the right direction?

Solomon
I have added this in Javascript/HTML section.
So please reply there.
13 years ago
Hi,

I need to convert an XML document to HTML using Javascript and HTML?
Could any of you point me in the right direction?

Thanks
Alex
Hi,

I need to convert an XML document to HTML using Javascript and HTML?
Could any of you point me in the right direction?

Thanks
Alex
13 years ago
Hi Rob,

Thanks a lot. TextListener worked for me.

Regards
Solomon
13 years ago