|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: check for existance of an element in the xml
> I only want that <script language="JavaScript"
> src="Shared/Javascript/validate.js"></script> part to appear
> once in the
> resulting html iff the xml i am processing has at least one
> <input..../>
> element.
Then write
<xsl:if test="//input">
<script>
...
</script>
</xsl:if>
Michael Kay
http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








