Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Modifying xml:if on the fly... >Thread Next - Re: Modifying xml:if on the fly... Re: Modifying xml:if on the fly...To: NULL Date: 11/8/2005 1:59:00 PM talking@g... wrote: > I've got some code that looks like this on my xslt: > > <xsl:for-each select="items/"> > <xsl:if id="myIf" test="@id = '45'"> > <div class="main_heading"> > <xsl:value-of select="name"/> > </div> > <div class="main_body"> > <xsl:value-of select="info"/> > </div> > </xsl:if> > </xsl:for-each> > > I'd like to be able to change the test condition without reloading the > page What page? The above is a snippet of an XSLT stylesheet. If you have that stylesheet loaded as an XML DOMDocument then you can of course use the DOM to access and manipulate nodes in that document. But then you need to transform again. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
