|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Building RTF variable
Hi again David (and others, of course)
It is not a (direct) child of xsl:stylesheet - I but dimly begin to percieve how the syntax (might) work. Given the syntax below, what would I write for it to work? I tried <xsl:variable name="test2" select="document('')/xsl:template/xsl:variable[@name='Test']"/> and <xsl:variable name="test2" select="document('')/xsl:stylesheet/*/xsl:template/xsl:variable[@name='Test']"/> but alas both with the same no-result. <!-- This stylesheets complexity aproximately matches the one I use --> <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> .. <xsl:template match="/"> .. <xsl:apply-templates select="Temp1"/> </xsl:template> <xsl:template match="Temp1"> .. <xsl:apply-templates select="Temp2"/> </xsl:template> <xsl:template match="Temp2[Temp2]"> .. <xsl:apply-templates select="Temp2[not(Temp2)]"/> </xsl:template> <xsl:template match="Temp2[not(Temp2)]"> <xsl:call-template name="CallTemp"/> .. </xsl:template> <xsl:template name="CallTemp"> <!-- All the variable stuff in here --> </xsl:template> .. </xsl:stylesheet> For the solution to work, and even having learned something in the process, would be great! Ragulf Pickaxe :-) _________________________________________________________________ Unlimited Internet access -- and 2 months free!? Try MSN. http://resourcecenter.msn.com/access/plans/2monthsfree.asp XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








