[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl:apply-template and xsl:for-ech confusion
Luke Ambrogio wrote:
ok the solution was infact usingOK but this: <xsl:for-each select="tblMIMCompanies/tblMIMSubSectors[@subsectorID=$subsector]"> <xsl:apply-templates select=".."/> </xsl:for-each> could be rewritten more simply as: <xsl:apply-templates select="tblMIMCompanies[tblMIMSubSectors[@subsectorID=$subsector]]"/> Unless there's more than one tblMIMSubSectors with the same subsectorID inside one tblMIMCompanies, that would give the same output, or am I wrong? (and if there are such duplicate subsectorIDs, the first one would output multiple but identical tblMIMCompanies, whereas the second one would'nt) Cheers, Anton
|
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
|