xsl-list
[Top] [All Lists]

RE: Newbie learning question

2004-07-13 16:09:11
Heh thanks for throwing a newbie a bone ;)

-----Original Message-----
From: M. David Peterson [mailto:m(_dot_)david(_at_)mdptws(_dot_)com] 
Sent: Tuesday, July 13, 2004 4:05 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Newbie learning question


<property file = "{(_at_)name}"/>

Chris Carrier wrote:
I'm learning XSL to use with Ant to generate build scripts and had a 
question about some simple syntax that I can't seem to figure out.  
What I want is a template within an xls file that looks something 
like:

..
..
..
<xsl:template match="propertyfile">
      <property file = "<xsl:value-of select="@name""/>
</xsl:template>
..
..
..

That outputs:

<property file="<value of @name>"/>

Obviously, the template I have is not well formed but I'm not exactly 
sure how to insert the value of @name inside the <project> tag instead

of between <project>...</project>.  I realize this is a simple task 
but I'm still overcoming the initial learning curve.

Thanks
C

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 7/5/2004
 


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 7/5/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 7/5/2004
 



<Prev in Thread] Current Thread [Next in Thread>