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

Re: line feed problem

Subject: Re: line feed problem
From: Chuck White <chuckwh@xxxxxxxxxxx>
Date: Fri, 25 Jan 2002 09:21:52 -0800
xml tutorial line feed
> SAMPLE OF XML ELEMENT
>
> <Dept_Hours>Monday  - Thursday        8:00am  to  4:00pm
> Friday                              9:00am  to  12:00pm
> Tuesday Evening            6:30pm  to  8:30pm
> Call for exact times for accountant</Dept_Hours>
>

Hi Gene:

If this is your XML, I suggest visiting the following site for the basics on
why this XML isn't well-executed:

http://skew.org/xml/tutorial/

It provides an excellent overview on the core nature of XML. Then, change
your XML into a better structure by either creating more elements and/or
attributes to break that data up into more usable chunks.

If it isn't yours, look at the XPath spec to see how to work with
substrings, and you can create some code to output the line breaks using a
combination of substrings to catch the areas you need to break and a line
feed character reference (&#10; decimal, &#x000A; hex) .

Chuck White
The Tumeric Partnership
http://www.tumeric.net
chuck@xxxxxxxxxxx
________________________________________
Author, Mastering XML, Premium Edition
Sybex Books, May, 2001
http://www.javertising.com

----- Original Message -----
From: "Gene LaCava" <e.f.lacava@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, January 25, 2002 7:10 AM
Subject:  line feed problem


 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.