Re: Include States2003-04-16 09:05:23Got it... you suck the states into the stylesheet using the document() function... and then parse away. Thanks! Karl <xsl:variable name="state-xml" select="document('states.xml')/states"/> <xsl:template match="/"> <select name="states-dropdown"> <xsl:for-each select="$state-xml/state"> <option value="{(_at_)abbr}"><xsl:value-of select="."/></option> </xsl:for-each> </select> </xsl:template> </xsl:stylesheet> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|