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

Re: Adding structure to text nodes

Subject: Re: Adding structure to text nodes
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 19 Mar 2003 12:11:20 -0500
bla bla text
Ismaël:

What you are describing is a perfect example of an up-translation: "All I want to do is get some structure in the content".

No clear solution is evident because XSLT 1.0 wasn't really designed for this job. See the parallel thread " questions about XSLT philosophy: how much is too much?"

:->

Cheers,
Wendell

At 09:33 AM 3/19/2003, you wrote:
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.


======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


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.