[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: inserting an element (was: Up-conversion using XSL

Subject: Re: inserting an element (was: Up-conversion using XSLT 1.0)
From: Ragulf Pickaxe <ragulf.pickaxe@xxxxxxxxx>
Date: Sun, 23 Oct 2005 21:45:01 +0200
inserting line feeds in xml
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:  Up-conversion using XSLT 1.0; Date: Mon, 17 Oct 2005
> 09:16:10 -0700
>
> Any comments will be appreciated.
> Regards, Manfred Staudinger, Vienna

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.