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

Questions concerning XSL-Access

Subject: Questions concerning XSL-Access
From: juggy@xxxxxxx
Date: Thu, 1 Jun 2000 16:16:08 +0200
xsl access
Hi there,

I am new to XSL programming, and this question may be stupid, 
but I couldn't find the answer myself:

I have a structured document like this:
	<Aktiva>
		<Anlageverm>
			<Wert>
				<Periode>...</Periode>
				<Vorperiode>...</Vorperiode>	
			</Wert>
		</Anlageverm>
	<Aktiva>
I now want to access the Elements nodelike, like this:
	<xsl:select="Aktiva">
		<xsl:select="Anlageverm">
			<xsl:select="Wert">
				...
				<xsl:value-of select="Periode">
				...
			...
		...
	...
I only have one Element like Anlageverm etc. The only way I found 
to access them was to recursively use <xsl:for-each...>. Isn't there 
another way to do this? I only found complete statements like 
<xsl:value-of select="/Aktiva/Anlageverm/.../Periode"> which looks 
really nasty.

Can anyone help me out or point me to a good online reference 
where I can find the answer?

Thanks!!!!

juggy


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


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.