[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: using mode-values within a template
ChivaBaba@xxxxxxx wrote:
thanks for your suggestion to do this by hard-coding the mode name into the templates as a variable likeYou know, it's kind of reflection, you want to know method signature in the method code, that's why it's not so elegant. 1. How can I select all nodes of a certain type except the one that is used at the moment??<xsl:for-each select="//project[count(.|current())!=1]"> Oh, that's better, try <xsl:for-each select="preceding-sibling::project | following-sibling::project"> <docu kind="url" loc="internet"> Try to normalize spaces: <xsl:value-of select="normalize-space($online_doc)"/> -- Oleg Tkachenko Multiconn International, Israel 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
|