Formating Strings Options
dcrug
Posted: Friday, May 09, 2008 9:37:45 PM
Rank: Newbie

Joined: 5/2/2008
Posts: 13
Location: NYC
When I grab a string from a specific alias. Like a paragraph using substring, it returns it all including the html within the paragraph. I would like it to be outputted in a format like a paragraph and not like this....
LLC (the “Sponsor”) is acquiring the “Three Oaks Plaza” portfolio (“The Property”) located at 7960


Anyone know how to format a substring so it returns the string in a format that's more user friendly.
mortenbock
Posted: Friday, May 09, 2008 10:16:27 PM

Rank: Addict

Joined: 7/19/2006
Posts: 661
Location: Århus, Denmark
Try using this attribute:

<xsl:value-of select="$someString" disable-output-escaping="yes"/>

Morten Bock - Level 2 certified - My danish blog with a few english posts | CodeGarden on Facebook
kalpa
Posted: Friday, May 09, 2008 10:17:18 PM

Rank: Fanatic

Joined: 7/19/2006
Posts: 344
Location: Göteborg, Sweden
This is probably due to that the html code is being escaped. You can add escapeHtml=false or something like that... Can't remember right now...

Update: Now I remember, Morten just wrote it right above my reply :)...

// ;) Kalle

" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.