Altova Mailing List Archives

Re: [xsl] inserting an element (was: Up-conversion using XSLT 1.0)

From: Manfred Staudinger <manfred.staudinger@--------->
Date: 10/23/2005 9:51:00 PM
Hi Ragulf,
Thanks for your answer. In general (for such problems) I've 3 possibilities:

1. Solve the problem with XSLT 1.0 client side (Browser). If this gets too
   complicated (performance), then
2. I can use XSLT 2.0 on my side or
3. try a simpler approach with XSLT 1.0

It's difficult for me to judge if (1) is feasible or not (I began xslt
in July). If you
are saying (1) is difficult, I'll go for (2), as I've already a
stylesheet for (3).

Regards, Manfred

On 23/10/05, Ragulf Pickaxe <ragulf.pickaxe@xxxxxxxxx> wrote:
> Hi Manfred,
> I think that the reason that you have not had any responses to the
> original post is in your problem.
> As far as I remember, in your original post you mentioned that you had
> a "minimal" XML input, meaning with minimum amount of structure. That
> being the case, you have crippled yourself. There is nothing in the
> structure that makes a solution easy, and I think you would be better
> of with tools like regular expression engines or such for recognising
> differences between text-2... and text-something-other-than-2.
> Otherwise: a recursive solution with substring-before and
> substring-after using &#13; (or is it &#10; for line-feed? I never can
> remember), and another test on each line.
> Your problem gets much worse if what you have sent is but a sample,
> and you have to recognise much more different pieces of text.
> Regards,
> Ragulf Pickaxe :-)
> On 10/23/05, Manfred Staudinger <manfred.staudinger@xxxxxxxxx> wrote:
> <Snip/>
> > ...
> > The stylesheet for my unsuccessful attempt to achieve this may be
> > found in the Archive:
> > Subject: [xsl] Up-conversion using XSLT 1.0; Date: Mon, 17 Oct 2005
> > 09:16:10 -0700
> >
> > Any comments will be appreciated.
> > Regards, Manfred Staudinger, Vienna


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.