RE: RE: [SPAM] - Re: characters in xsl - Bayesia
Actually, while we're on this topic, would somebody mind explaining the // notation for me? Maybe I've oversimplified it in my own mind, but I understand the / character to act as a path separator such that anything to the left of the / is the parent of anything to the right. But I haven't been able to visualise the // notation at all. Can anyone explain (and perhaps give examples of where it's useful)? Cheers Peter -----Original Message----- From: Osman Ginar Eren [mailto:Cinar.Eren@xxxxxxxxxxxxx] Sent: 11 November 2004 15:57 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [SPAM] - Re: characters in xsl - Bayesian Filter detected spam thanks for your help.. any other secial characters? i know about "/" and "//". -----Original Message----- From: Colin Paul Adams [mailto:colin@xxxxxxxxxxxxxxxxxx] Sent: Thursday, November 11, 2004 5:52 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [SPAM] - Re: characters in xsl - Bayesian Filter detected spam >>>>> "Osman" == Osman Ginar Eren <Cinar.Eren@xxxxxxxxxxxxx> writes: Osman> hi, a sily question but i want to learn the meaning of the Osman> following characters in xsl: Osman> "@", ".", "$" ... Not so silly. Except it's XPath, not XSLT. @ = attribute:: = attribute axis. So @fred means attribute named fred . = context node (or context item in XSLT 2.0) - that's the item that is the current subject of apply-templates or for-each in XSLT . $ = variable reference, so $fred is the value of the variable (or parameter) named fred. -- Colin Paul Adams Preston Lancashire
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