xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] group together subsequent elements?


Subject: Re: [xsl] group together subsequent elements?
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Sat, 17 Mar 2012 11:12:06 +0000

On 17 March 2012 11:04, MatDj Cepl <mcepl@xxxxxxxxxx> wrote:
> Hi,
>
> I am probably missing something very obvious, but I have not found a way
how
> to combine group of same elements into one. Meaning, I have on input
>
> n.: <spoj>mC!m</spoj> <spoj>zalC-benC-</spoj>
>
> and I would like to get on output
>
> n.: <linked>mC!m zalC-benC-</linked>
>
> (number of elements in one group can vary).
>
> Do I miss something completely trivial or it is one of those things which
> XSLT cannot do?

XSLT can do that in several ways, but you will need to provide better
samples covering all of your requirements and edge cases to save going
through the loop.  Do you need a 1.0 solution or can you use 2.0?


--
Andrew Welch
http://andrewjwelch.com


Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor