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

Adding structure to text nodes

Subject: Adding structure to text nodes
From: Cams Ismael <Ismael.Cams@xxxxxxxxxxx>
Date: Wed, 19 Mar 2003 15:33:21 +0100
xslt adding text
Hello everybody,

I don't know somebody can help me with this problem, but every hint is
welcome.
What I have is an xml file where a <long> tag is defined. This tag can
contain
information of any format. So this could be:

<long>blablabla:
      1: more blabla
      2: blubblub
bloebbloeb
</long>

<long>blablabla:
1: more blabla
      - blabla in blabla
2: blubblub
</long>

<long>very blabla blabla blabla blabla blabla blabla blabla blabla blabla
blabla blabla blabla blabla</long>

What I need to get is the content of the long node in a well-formed format.
In first case this could be:

blablabla:
1: more blabla
2: blubblub

second:
blabla:
1: more blabla
   - blabla in blabla
2: blubblub

third:
very blabla blabla blabla blabla blabla blabla
blabla blabla blabla blabla blabla blabla

Please note that these are just examples. In practice the contents of the
<long> tag is much longer and complexer. All I want to do is get some
structure in the content. So my question is does somebody here has
experience with structuring information by means of XSLT ? Or does anyone
has a hint what I could do ? I have thought a lot about it, but I don't seem
a clear solution.

Any help is welcome.

Kind regards,
Ismaël

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.