[Home] [By Thread] [By Date] [Recent Entries]
One way to do this would be something like the following:
<xsl:stylesheet xmlns:me="http://www.my-namespace.com"> <me:University-List> <University id = "1"> University1</University> <University id = "2"> University2</University> <University id = "3"> University3</University> <University id = "4"> University4</University> </me:University-List > <xsl:template match="/"> <xsl:variable name="univ-var" select="document("")/xsl:stylesheet/me:University-List"/> <xsl:for-each select="$univ-var/University"> <!-- do something --> </xsl:for-each> </xsl:template> </xsl:stylesheet> i.e., use the document function to load the source xml of your stylesheet and access the data without using an RTF. This only works, of course, if your RTF is constant. I'm using the namespace "www.my-namespace.com" as an example, obviously, any namespace that is not the XSLT namespace should be okay.
Laura Jenkins wrote: Hello people, i have the following xsl structure XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



