Talk:Browser-Side XSLT
From Ajax Patterns
(Difference between revisions)
| Revision as of 06:33, 17 February 2006 66.98.168.78 (Talk | contribs) ← Previous diff |
Revision as of 06:04, 8 March 2006 JohnJBarton (Talk | contribs) Next diff → |
||
| Line 4: | Line 4: | ||
| Another XSLT site at [http://AjaXSLT.com AjaXSLT] | Another XSLT site at [http://AjaXSLT.com AjaXSLT] | ||
| + | |||
| + | |||
| + | --[[User:JohnJBarton|JohnJBarton]] 01:04, 8 March 2006 (EST) I guess that the example: | ||
| + | |||
| + | the following HTML will be output: | ||
| + | <nowiki> | ||
| + | <div class="category" | ||
| + | onclick="retrieveCategory('{@name}')"> | ||
| + | <xsl:value-of select="@name"/> | ||
| + | </div> | ||
| + | </nowiki> | ||
| + | '''should read''' | ||
| + | |||
| + | the following HTML will be output: | ||
| + | <nowiki> | ||
| + | <div class="category" | ||
| + | onclick="retrieveCategory(extras)"> | ||
| + | <xsl:value-of select="extras"/> | ||
| + | </div> | ||
| + | </nowiki> | ||
| + | Notice that the variable "@name" are replace by "extras" from the attribute coorresponding attribute on the category element. | ||
Revision as of 06:04, 8 March 2006
Archived Version
There's an archived version of this pattern available, taken from the Ajax Pattern book draft, showing roughly how it appeared before the page became publicly editable.
There's an archived version of this pattern available, taken from the Ajax Pattern book draft, showing roughly how it appeared before the page became publicly editable.
The Google AJAXSLT documentation page is gone, just link to goog-ajaxslt.sourceforge.net[1].
Done, thanks. -- User:Mahemoff
Another XSLT site at AjaXSLT
--JohnJBarton 01:04, 8 March 2006 (EST) I guess that the example:
the following HTML will be output:
<div class="category"
onclick="retrieveCategory('{@name}')">
<xsl:value-of select="@name"/>
</div>
should read
the following HTML will be output:
<div class="category"
onclick="retrieveCategory(extras)">
<xsl:value-of select="extras"/>
</div>
Notice that the variable "@name" are replace by "extras" from the attribute coorresponding attribute on the category element.
Time your website with
WebWait - from the creator of AjaxPatterns.org
