[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] AW: Fwd: [BigList Fwd] Re: XML: From flat to hierarchi
Hi Nicola, Did you change the version attribute in the xsl:stylesheet to "2.0"? Maybe XSLT 2.0 is supported and you just have to enable it. However, for XSLT 1.0 I gave you already the solution: Just replace your template for rec1 with mine. At least it worked for me!? Patrik ------------------------------------------------------------------ Systemarchitektur & IT-Projekte Tel: +49 40 33449-1142 Fax: +49 40 33449-1400 E-Mail: mailto:Patrik.Stellmann@xxxxxxxxx -----UrsprC<ngliche Nachricht----- Von: nick public nickpubl@xxxxxxxxx [mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx] Gesendet: Donnerstag, 30. MC$rz 2017 01:52 An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Betreff: Fwd: [BigList Fwd] Re: XML: From flat to hierarchical with grouping Hi Patrik, Thank you very much for your help. I appreciate your solution of rec2 recursion key. It's a good idea! For XSLT 2.0, unfortunatelly it's unsupported. Perhaps is for this that <xsl:copy> <xsl:for-each-group select="*" group-starting-with="rec1"> fails with the error : "xsl:for-each-group cannot be child of xsl:copy" Could you help me, please, with a solution in XSLT 1.0? Thanks a lot Nicola GDV Dienstleistungs-GmbH GlockengieCerwall 1 D-20095 Hamburg www.gdv-dl.de Sitz und Registergericht: Hamburg HRB 145291 USt.-IdNr : DE 205183123 GeschC$ftsfC<hrer: Dr. Jens Bartenwerfer Michael Bathke Fred di Giuseppe Chiachiarella Thomas Fischer Aufsichtsratsvorsitzender: Werner Schmidt ------------------------------------------------------------------ Diese E-Mail und alle AnhC$nge enthalten vertrauliche und/oder rechtlich geschC<tzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtC<mlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe der E-Mail ist nicht gestattet. This e-mail and any attached files may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
|
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
|