[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

viewing details of selected item

Subject: viewing details of selected item
From: "Keith" <keith@xxxxxxxxxxxxx>
Date: Mon, 6 Nov 2000 12:01:26 -0600
javascript selected item
Good morning listers:
I have looked around in FAQ and can't find anything on this one..it may be
as plain as day, but I can't seem to find the answer. any help would be
appreciated :)
I am receiving a bulk of data pertaining to a merchant or a location. both
of which have at least one POC (point of contact).  I am using jscript to
transform several xsl sheets with either set of bulk data.
the xml that comes back for each is similar to this below (without all the
details)
<GetMerchantDetailsResponse>
<Merchant>
<merchID/>
<merchName/>
...........
<POC pocID lastUpdate>
<pocName/>
etc.
</POC>
</Merchant>
</GetMerchantDetailsResponse>

for Locations it's the same except for GetLocationDetailsResponse instead.

I am using an xsl list page to show the POCs for either.  Now, because I am
not doing another hit to the server and the POCs details are in the original
xml data, I need to transform the viewed page into a POCDetails page for
editing.  I have tried using several methods, none of which are working.
I tried..
<input type="button">
	<xsl:attribute name="onclick">javascript:GetDetails(<xsl:value-of
select="@pocID"/>)</xsl:attribute</input>
___________
I tried
<a><xsl:attribute name="href">javascript:GetDetails(<xsl:value-of
select="@pocID"/>)</xsl:attribute></a>

these both carry the pocID attribute to the function call, but when the
POCDetails.xsl is loaded, ALL POCs are listed in editable fashion.

I have been looking at, and working with,
<xsl:call-template><xsl:with-param>
as well as <xsl:call-template> <xsl:variable>, and set up the POCdetails
style sheet inside the POC list stylesheet, but nothing seems to work
correctly.

Keith Brooks
Software Developer
Global eTelecom
Keith@xxxxxxxxxxxxxxxxxx


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.