[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Newbie learning question

Subject: Re: Newbie learning question
From: "M. David Peterson" <m.david@xxxxxxxxxx>
Date: Tue, 13 Jul 2004 17:05:21 -0600
learning curve peterson
<property file = "{@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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.