Re: Carriage returns within attribute values

Subject: Re: Carriage returns within attribute values
From: "Garriss Jr.,James P." <jgarriss@xxxxxxxxx>
Date: Thu, 14 Oct 1999 09:20:25 -0400
At 09:31 AM 9/24/99 , you wrote:

Hi,

when outputing the value of attribute "att" in <elt att="firstword secondword"> with XSLT,
I get :


firtsword secondword

which is not a big discovery. Now imagine you want to output the two words on 2 separate lines, i.e :

firstword
secondword

Suggestions:


1) Consider making them two separate attributes.
2) Try using the various string functions (see the just recommended XPATH) to see if you can divide it into two variables.


Good luck.



James Garriss | The MITRE Corporation | jgarriss @ mitre.org


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



Current Thread