Subject: Questions concerning XSL-Access From: juggy@xxxxxxx Date: Thu, 1 Jun 2000 16:16:08 +0200 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: xml in, xml out, Kay Michael | Thread | RE: xml in, xml out, John Robert Gardner |
XML and DTD, Mar Fior | Date | Re: Making dynamic href's in XSL, Mike Brown |
Month |