XhtmlContent [message #800590] |
Fri, 17 February 2012 03:53  |
Eclipse User |
|
|
|
Hi,
very interesting and promising project! Thanks for contributing this!
I've got a question regarding the core (not ProR UI): when prgrammatically creating a RIF/ReqIF model from scratch (in order to later serialize it into a valid RIF/ReqIF file), how to deal with xhtml content?
E.g.:
SpecObject sobj = ... ;
AttributeDefinitionXhtml attrDef = ... ;
AttributeValueXhtml val = Reqif10Factory.eINSTANCE.createAttributeValueXhtml();
val.setDefinition(attrDef);
val.setTheValue( zzzz ); // <---- what goes here???
sobj.getValues().add(val);
How can I set 'theValue' of an AttributeValueXhtml to something like "<div>This is <u>an underlined</u> text!</div>" ??
Thanks in advance!
Oliver
|
|
|
|
Powered by
FUDForum. Page generated in 0.04442 seconds