This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XML querying question
- To: xsl-list at mulberrytech dot com
- Subject: Re: XML querying question
- From: Mike Brown <mike at skew dot org>
- Date: Fri, 11 Aug 2000 15:22:55 -0600 (MDT)
- Reply-To: xsl-list at mulberrytech dot com
Matt Coolidge wrote:
> Hi everyone. have a new dilemna. Given a static XML document which is pure
> data, how can I render only a subset of the XML thru a stylesheet, given
> that the parameters of which nodes to show are selected by the user on an
> input form....Is this an XSLT thing, but how can I write a dynamic
> <xsl:choose>
XSLT processors allow passing of certain types of data in as top-level
parameters. You put xsl:param in your stylesheet around the same place as
xsl:output. The mechanism for setting the parameter's value when the
processor is invoked varies; check the docs for the one you are using.
- Mike
____________________________________________________________________
Mike J. Brown, software engineer at My XML/XSL resources:
webb.net in Denver, Colorado, USA http://www.skew.org/xml/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list