[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XPath expressions
Hi,
At 07:04 AM 3/25/2009, Mike wrote: Anything you see in an attribute named "select" or "test" is an XPath expression. ... [responding to the OP] > Means we have to pass single quotes within double quotes like this. > Is this method called the XPath expression? > > <xsl:template name="str:tokenize"> > <xsl:param name="args" select="'$args'" /> > <xsl:param name="delimiters" select="' '" /> > > It will be surely there in later part of the book.But can > anyone tell me now which are exactly XPath expressions? Moreover: The XPath expression "'$args'" evaluates to a string, "$args". The XPath expression "$args" would evaluate to a reference to the variable (or parameter) $args. In the example above, the template assigns a default value, the string "$args", to the $args parameter. This is not wrong, but it might be a bit confusing. Cheers, Wendell ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
|
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
|