|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Looking for the rigth select statement
TSchutzerWeissmann@xxxxxxxxxxxxxxxx wrote:
hi Sorin,That's my xsl: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="text"/> <xsl:key name="energien" match="energietraeger" use="beschreibung"/> <xsl:template match="energiebericht"> <xsl:for-each select="energieverbrauch"> <xsl:value-of select="@jahr"/> </xsl:for-each> <xsl:for-each select="/energiebericht/energieverbrauch/energietraeger[generate-id() = generate-id(key('energien', beschreibung))]"> <xsl:value-of select="."/> </xsl:for-each> </xsl:template> </xsl:stylesheet> It gives out the structure right below and some salary-values which are not on the right place... Thanks for the help Sorin departement1 departement2 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








