Re: browsing text elements

Subject: Re: browsing text elements
From: "Allan M. Wind" <wind@xxxxxxxxxxxx>
Date: Tue, 6 Apr 1999 16:08:55 -0400
On Tue, Apr 06, 1999 at 11:31:50AM -0700, Jeff Royal wrote:
> I'm just getting my feet wet with XML not to mention HTML,
> can anyone help me with the following problem?
> 
> I'm trying to display an XML text element using an XSL stylesheet
> (IE5).  The results are almost right, but not quite.
> Here is the XML source:
> 
> <item>
>   <text>
>     This block of text needs to be displayed by the
>     browser exactly as it appears here (i.e. respecting
>     all line breaks).
> 
>     Is this possible?
>   </text>
> </item>

Try removing the indentation on your text block:

<item>
  <text>
This block of text needs to be displayed by the
browser exactly as it appears here (i.e. respecting
all line breaks).
 
Is this possible?
  </text>
</item>

You could create a <p align="left"> as well.


/Allan
-- 
Allan M. Wind			mailto:wind@xxxxxxxxxxxx
Manager Information Systems	phone: 781.359.9791 (general)
Integration Associates, Inc.	phone: 781.273.0195 ext. 205 (direct)
55 Cambridge Street, Suite 301	fax:   781.359.9789
Burlington, MA  01803		http://www.sap-help.com


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


Current Thread