XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Magnus PerssonSubject: Selecting data depending on input
Author: Magnus Persson
Date: 31 Jan 2006 06:13 PM
I've only begun to skim XML/XSL(T) and I have a question for a project
im doing.

My XML document is laid out in such a way to contain a number of
articles, and will be displayed using XSLT. My question is if it is
possible to selectivly display an article depending on some sort of
input data? Idea is to use a number of links so select what article to

Am I better off constructing a separate document for each article? I'd
rather contain all in one, or include them in an container document.

Tony LavinioSubject: Selecting data depending on input
Author: Tony Lavinio
Date: 31 Jan 2006 08:13 PM
Each XSLT engine has a way of passing in top-level parameters.
These can be used just like variables can to control flow, and
you can use this mechanism to include or exclude certain portions
of your XML.
See xsl:param in http://www.w3.org/TR/xslt#dt-top-level and
http://www.w3.org/TR/xslt#element-param and

Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.