This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XML querying question


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]