[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

just had a weird idea

Subject: just had a weird idea
From: "Bryan Rasmussen" <bry@xxxxxxxxxx>
Date: Thu, 31 Jan 2002 14:45:03 +0100
 just had a weird idea
just had a weird idea, I was wondering if anyone has done anything like
this?
Okay, if you have a dynamic dom program, for example an asp page, you can
output xml dynamically from it, and apply an xslt against it.
you can send parameters into it, if you send the parameter myparam="one.xml"
then in the xslt you can have
<xsl:param name="myparam"/>
<xsl:param name="doc" select="document($myparam)"/>

okay what if you sent added the parameter myparam = mynodeset
which would be some dynamically generated xml,

so that the param in the xslt would have a nodeset like this:

<xsl:param name="myparam">
<tag>
<sub>blah</sub>
<sub>...</sub>
<sub>...</sub>
<sub>...</sub>
<sub>...</sub>
<sub>...</sub>
</tag>
</xsl:param>

and one could do
<xsl:if test="count($myparam/tag/sub) &gt; 1">
...
</xsl:if>

would be using msxml 4 so there'd be an inbuilt nodeset querying.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.