Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Requirements Modeling Framework  » API ti add content to Spec Object
API ti add content to Spec Object [message #1747372] Mon, 14 November 2016 05:57 Go to next message
Sumy Joseph is currently offline Sumy JosephFriend
Messages: 23
Registered: July 2009
Junior Member
Hi,

I am trying to create a ReqIF file to import to Doors. For that purpose the following snippet needs to be written to the file. (its part of SPEC-OBJECT)
<ATTRIBUTE-VALUE-XHTML>
<DEFINITION>
<ATTRIBUTE-DEFINITION-XHTML-REF>_27ea97a8-08a7985c5b16_OBJECTHEADING</ATTRIBUTE-DEFINITION-XHTML-REF>
</DEFINITION>
<THE-VALUE><reqif-xhtml:div>Abbreviations</reqif-xhtml:div></THE-VALUE>
</ATTRIBUTE-VALUE-XHTML>

Using RMF Apis coulnt write the tag
<THE-VALUE><reqif-xhtml:div>Abbreviations</reqif-xhtml:div></THE-VALUE>.

Could you please indicate which is the API to add value to the tag <reqif-xhtml:div> ?
I have used almost all the APis available for AttributeValueXHTML.

Regards,
Sumy
Re: API ti add content to Spec Object [message #1747460 is a reply to message #1747372] Tue, 15 November 2016 07:50 Go to previous messageGo to next message
Michael Jastram is currently offline Michael JastramFriend
Messages: 229
Registered: April 2010
Location: Düsseldorf, Germany
Senior Member
Hi Sumy,

XHTML is a little tricky, as it uses a different schema. Check out the code for the test data generation:

org.eclipse.rmf.tests.reqif10.serialization/org.eclipse.rmf.tests.reqif10.serialization.uc001.tc1100/TC1100UnformattedSystemAttributesAndSpecHierarchyModelBuilder

Best,

- Michael


Re: API ti add content to Spec Object [message #1747587 is a reply to message #1747460] Wed, 16 November 2016 09:28 Go to previous message
Sumy Joseph is currently offline Sumy JosephFriend
Messages: 23
Registered: July 2009
Junior Member
Thanks Michael , It worked .
Previous Topic:How to open the SpecificationEditor programmatically
Next Topic:ReqIF and Gendoc
Goto Forum:
  


Current Time: Wed Sep 26 00:34:36 GMT 2018

Powered by FUDForum. Page generated in 0.02110 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top