Re: [xsl] Whats Wrong with: <xsl:value-of select="//exec[@stepid=$temp_step]/dds/dd[logical/@id=$temp_id]" />

Subject: Re: [xsl] Whats Wrong with: <xsl:value-of select="//exec[@stepid=$temp_step]/dds/dd[logical/@id=$temp_id]" />
From: Mike Ferrando <mikeferrando@xxxxxxxxx>
Date: Fri, 12 Nov 2004 06:45:19 -0800 (PST)
David,
I always use double quotes as well.

Grammatically, double quotes are always first in and last out.
According to my limited experience or programming language, I have
always used single quotes to delimit strings.

So, the single quote gig must have supporters that come from some
other context.

Thanks,
Mike Ferrando
Library Technician
Music Division
Library of Congress
Washington, DC
202-707-4454

--- David Carlisle <davidc@xxxxxxxxx> wrote:

> 
> 
> > I wonder how someone might do this if they were using only single
> > quotes for their xsl attributes?
> 
> You can use " to delimit XPath strings.
> 
> I always use " for XML attribute delimters and then ' inside that
> for
> Xpath strings, some people prefer it the other way round, and some
> mix
> and match according to the phase of the moon.
> 
> select="'aaa'"
> is the same as
> select='"aaa"'
> 
> David
> 
>
________________________________________________________________________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a
> proactive
> anti-virus service working around the clock, around the globe,
> visit:
> http://www.star.net.uk
>
________________________________________________________________________
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 

Current Thread