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: Find and Replace Object ID Refernces
Topic Summary:
Created On: 11-Jul-2008 18:46
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.
 11-Jul-2008 18:46
User is offline View Users Profile Print this message


Colleen Behm

Posts: 1
Joined: 17-Jun-2005

I think it's been too long since I've used dxl.

I have created a new requirements module using an old reqs module. I wanted to maintain the same requirements, but use them for a differnt project. Since the requirements are in a new module all the requirements are renumbered (which is good, I wanted that). I have maintained the object identifiers from the old module in a text attribute in the new module. I want to keep a "Remarks" attribute from the old module, but in that attribute are references to reqs using the object identifiers from the old module . I want to write a script that will find and replace the old object identifier in the "Remarks" attribute with the associated new object identifier.

It seems simple, but I'm having a hard time figuring out how to search within the text of an attribute for a particular string. Any ideas? Or any exsiting scripts I can look at?
Report this to a Moderator Report this to a Moderator
 11-Jul-2008 20:17
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 120
Joined: 16-Jan-2008

Colleen--you need to look in the DXL Reference Manual and check out Regular Expressions. That should at least get you started.

Kevin

-------------------------
Kevin Murphy
http://www.baselinesinc.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 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 1 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.