This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Questions concerning 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]