This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Questions concerning XSL-Access
- To: xsl-list at mulberrytech dot com
- Subject: Questions concerning XSL-Access
- From: juggy at gmx dot net
- Date: Thu, 1 Jun 2000 16:16:08 +0200
- Reply-To: xsl-list at mulberrytech dot com
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