Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I pass a parameter?

Status
Not open for further replies.

tburrows

Technical User
Oct 3, 2003
49
US
I have an xml file with the structure shown below. I use an asp file for transformation. The first xsl file I have uses only the name info, book_id, and bookdate. Output of the xsl is html. What I want to do is to be able to click on book_id which would then pass that book_id number to an asp file which uses the same xml file but a different xsl file to display all the info that equals the passed book_id number. There may be more than one node that have the same book_id. The book_id would need to be passed from the html to the second asp file which would need to pass it on to the second xsl file.

<?xml version=&quot;1.0&quot; ?>
<datatable>
<jmmain_nmmain_jfacilty_archrg>
<last>PUBLIC</last>
<suffix></suffix>
<first>JOHN</first>
<middle>QUINCY</middle>
<race>W </race>
<sex>M</sex>
<age>56</age>
<book_id>200208533</book_id>
<bookdate>12/23/2002</bookdate>
<jsection>CENT </jsection>
<unit>B </unit>
<fel_misd>M</fel_misd>
<docketno>12345678 </docketno>
<bondtype> </bondtype>
<bondamt>0</bondamt>
<chrgdesc>DWLS 3</chrgdesc>
</jmmain_nmmain_jfacilty_archrg>
</datatable>
 
Disregard this post. Please see why my xsl:if is not working post.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top