Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Removing Paragraph Breaks From Attribute
Topic Summary:
Created On: 23-Oct-2007 20:09
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 23-Oct-2007 20:09
User is offline View Users Profile Print this message


Kristie Carpenter

Posts: 3
Joined: 28-Mar-2006

Is there a way to remove paragraph breaks from an attribute with the use of DXL? For example, currently the attribute displays the content of an object like this: IL-1 IL-2 IL-3 I would like it to display like this: IL-1 IL-2 IL-3 Any help is greatly appreciated. K.Carpenter
Report this to a Moderator Report this to a Moderator
 24-Oct-2007 13:40
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Enjoy.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 24-Oct-2007 15:40
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Just a nit pick, but your code will generate a lot of wasted space string-table space. I'd be tempted to use a 2nd buffer to accumulate the results, something like attached. I also notice its not going to work for Rich Text strings, where an EOL is often "/line " instead of "\n".
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 2 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.