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: How to avoid newlines in WEXP output?
Topic Summary:
Created On: 23-Nov-2006 08:28
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-Nov-2006 08:28
User is offline View Users Profile Print this message


Adrian Hick

Posts: 1
Joined: 17-Nov-2006

Hi,

Can anyone help me with these problems, I'm not too familiar with dxl:

1. I have used the wizard to create traceability columns showing object ID's linked

to for each user requirement.

When I export the view to word using WEXP a newline appears between every object ID.

I could use a word macro to go through and delete them but does anyone know of a change to

the standard wizard dxl which could be done to stop the newlines occuring.

2. Is it possible to include para and header information in the traceability column

for the object linked to. I wish to do this to put the object ID in context.

The wizard provides only the information specific to the object linked to e.g. ID, text etc.

The view I have in mind is near the back of the book "Requirements Engineering" by

Jeremy Dick and others.

I am using DOORS7.0 SP1

Thanks

Adrian

Report this to a Moderator Report this to a Moderator
 28-Nov-2006 16:07
User is offline View Users Profile Print this message


Martin Hunter

Posts: 86
Joined: 10-Jan-2005

Adrian,

You can select as many attributes as you wish to display when using the wizard, note the list will vary if you specify all modules rather than a specific module, however each "display" command will place a new line at the end, ie each attribute will be reported on a new line.

If you wish to use a different seperator between items then the best solution is to buffer the results then display them when the loop has completed. Here's a simple example using the same string.

s = null
for l in all(o -> linkModName) do {...
...
    s = (identifier othero)
    //displayRich s
    if (!null s) {
        s = s ", " s
    }
}
displayRich s

- Martin

-------------------------
- Martin
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 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 0 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.