[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] how to concatenate fields?


Subject: Re: [xsl] how to concatenate fields?
From: Deirdre Saoirse Moen <deirdre@xxxxxxxxxxx>
Date: Mon, 7 Mar 2005 11:45:51 -0800 (PST)

On Mon, 7 Mar 2005, Tiffany Blake wrote:
> i'm a newbie to xml/xslt - i need to revise my output to combine
> multiple fields into one and at the same time insert extra characters.
> how do i change the following code to do this?

Well, you've got a clue in your text already, because you're inserting
extra characters with the <b> and </b>, correct?

If you remove the </br> (which should be <br/> in order to be
well-formed), that will put them on the same line.

> how do i force "location", "publish_date" and "body_text" on the same
> line AND insert a hyphen "-" between each field?

-- 
_Deirdre  web: http://deirdre.net        blog: http://deirdre.org/blog/
yarn: http://fuzzyorange.com    cat's blog: http://fuzzyorange.com/vsd/
"Memes are a hoax! Pass it on!"


Current Thread