|
Subject: selecting xsl:param-variable content From: "Jonathan Borden" <jborden@xxxxxxxxxxxx> Date: Mon, 10 May 1999 13:41:27 -0400 |
quick question (apologies for my laziness in not just testing it out, but
perhaps the answer to this could be included as an example in the spec-hint
hint):
1) can you access the node structure of a template param via and
2) if so, does the value of the param contain the root element or is the
param bound to the root element itself?
<xsl:call-template name="example">
<xsl:param name="content">
<a>
<b type="example">data</b>
</a>
</xsl:param>
</xsl:call-template>
<template name="example">
<param-variable name="content" />
<value-of select="$content/a/b[@type='example']"/>
</template>
or would it be:
<value-of select="$content/b[@type='example']" />
Jonathan Borden
http://jabr.ne.mediaone.net
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Language is not markup and mark, David Carlisle | Thread | Re: Language is not markup and mark, Guy_Murphy |
| Re: Part A - Generic parse.allXML f, David Carlisle | Date | side effects and XSL was: RE: Part , Jonathan Borden |
| Month |