|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Getting values
Sergio,
If that is your xml file, then you will need to create a "root" element that contains these. <myRoot> <title>Book 1</title> <creator>Sergio</creator> <identifier>http://xyz.html</identifier> </myRoot> The following template will output what you desire (assuming you are producing a simple text file): <xsl:template match="myRoot">
<xsl:value-of select="identifier"/>
<xsl:text> </xsl:text> <!-- linefeed -->
<xsl:value-of select="title"/>
<xsl:text> </xsl:text>
<xsl:value-of select="creator"/>
</xsl:template>-rick At 12:13 PM 5/29/03 +0200, you wrote: Hi everyone,
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








