これまでのところ、ハイパーリンクに埋め込まれた XSLT をクリックすると、必要なページが表示されます。しかし、それは私が助けを必要としている場所でもあります! 結果のページ呼び出しのためにhtmlを介して埋め込みおよび操作できるように、style_sheetでrow.nodeの結果全体をパラメーターまたは配列onclickとして渡す必要があります。
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="property_resi.xsl"?>
<rows>
<row>
<ListingPrice>124000.00</ListingPrice>
<ListingRid>59999991</ListingRid>
<Status>Active</Status>
<StatusComments></StatusComments>
<StatusDate>2007-07-24T00:00:00</StatusDate>
<Stories>1.00</Stories>
<StreetDirection>East</StreetDirection>
<StreetName>San Sircettia</StreetName>
<StreetNumber>410</StreetNumber>
<StreetNumberModifier></StreetNumberModifier>
<StreetPostDirection></StreetPostDirection>
<StreetSuffix>St</StreetSuffix>
<YearBuilt>1999</YearBuilt>
<ZipCode>99999</ZipCode>
</row>
<row>
<ListingPrice>98000.00</ListingPrice>
<ListingRid>59999992</ListingRid>
<Status>Active</Status>
<StatusComments></StatusComments>
<StatusDate>2007-07-24T00:00:00</StatusDate>
<Stories>1.00</Stories>
<StreetDirection>South</StreetDirection>
<StreetName>Tuscany</StreetName>
<StreetNumber>560</StreetNumber>
<StreetNumberModifier></StreetNumberModifier>
<StreetPostDirection></StreetPostDirection>
<StreetSuffix>Circle</StreetSuffix>
<YearBuilt>2000</YearBuilt>
<ZipCode>99999</ZipCode>
</row>
<row>
<ListingPrice>805000.00</ListingPrice>
<ListingRid>59999993</ListingRid>
<Status>Active</Status>
<StatusComments></StatusComments>
<StatusDate>2007-07-24T00:00:00</StatusDate>
<Stories>1.00</Stories>
<StreetDirection>West</StreetDirection>
<StreetName>Hill View Park</StreetName>
<StreetNumber>2205</StreetNumber>
<StreetNumberModifier></StreetNumberModifier>
<StreetPostDirection></StreetPostDirection>
<StreetSuffix>Drive</StreetSuffix>
<YearBuilt>1978</YearBuilt>
<ZipCode>99999</ZipCode>
</row>
</rows>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:php="http://php.net/xsl">
<xsl:template match="/">
<html>
<body>
<h2>Current Listings</h2>
<table border="1">
<tr bgcolor="#9acd32"> </tr>
<xsl:for-each select="rows/row">
<xsl:sort select="City"/>
<xsl:sort select="ZipCode"/>
<tr> <td><a href="property_resi_xslt.html">
<xsl:value-of-select=
"concat(StreetNumber, ' ',
StreetDirection, ' ',
StreetName, ' ',
StreetSuffix, ' - ', City,
',', ZipCode, ' - ', '$',
ListingPrice)"/>
</a>
</td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" `"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Expires" content="Fri, Jan 01 1900 00:00:00 GMT" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Lang" content="en" />
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
<meta name="author" content="" />
<meta http-equiv="Reply-to" content="@.com" />
<meta name="generator" content="PhpED 8.0" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="creation-date" content="06/09/2012" />
<meta name="revisit-after" content="15 days" />
<title>Results page</title>
</head>
<body>
Insert & Manipulate`code here` My XML RESULTS HERE!!!!
</body>
</html>