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

Re: Getting values

Subject: Re: Getting values
From: Rick Taylor <taylor@xxxxxxxx>
Date: Thu, 29 May 2003 08:41:41 -0600
getting values from xml file

If that is your xml file, then you will need to create a "root" element that contains these.

  <title>Book 1</title>

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>&#10;</xsl:text> <!-- linefeed -->
      <xsl:value-of select="title"/>
      <xsl:value-of select="creator"/>


At 12:13 PM 5/29/03 +0200, you wrote:
Hi everyone,

This is my xml file:

<title>Book 1</title>

and, I would like to get this output:

Book 1

My problem: I can't get a value from the end of my XML file, and then, to
get the first value, because I only get the way to read just one time my XML
file, instead of various times. Could anyone write for me the XSL engine to
get that output?

Thanks a lot,

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Rick Taylor XML Developer PPDM Association

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.