Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Polarsys » M2Doc » Remove HTML balises from generated document
Remove HTML balises from generated document [message #1818554] Thu, 19 December 2019 14:19 Go to next message
Mathias Cocheri is currently offline Mathias CocheriFriend
Messages: 19
Registered: December 2019
Junior Member
Hello,

When generating a document with M2Doc, I'm struggling to display correctly the generic "Description" Attribute of an element of the model.

The balise { m:element.description} will always be displayed with the HTML balises around it:

<p>This is the description of the element:</p>

Any idea on how to remove them ?

Thanks in advance.

Mathias
Re: Remove HTML balises from generated document [message #1818591 is a reply to message #1818554] Fri, 20 December 2019 09:48 Go to previous messageGo to next message
Yvan Lussaud is currently offline Yvan LussaudFriend
Messages: 32
Registered: July 2009
Member
You can use the new HTML services from M2Doc 3.0.0. They are included with M2Doc Capella extension 1.4.0.

There is an example of use in the LA and SA templates.
Re: Remove HTML balises from generated document [message #1818594 is a reply to message #1818591] Fri, 20 December 2019 10:02 Go to previous messageGo to next message
Mathias Cocheri is currently offline Mathias CocheriFriend
Messages: 19
Registered: December 2019
Junior Member
Thank you Yvan. I'll look into it.

However, as I'm using Capella 1.3.1, I'm wondering if my model can easily be imported into 1.4, or if I can use M2Doc 3.0.0 for Capella 1.3.1.
Re: Remove HTML balises from generated document [message #1818597 is a reply to message #1818594] Fri, 20 December 2019 10:27 Go to previous message
Yvan Lussaud is currently offline Yvan LussaudFriend
Messages: 32
Registered: July 2009
Member
You can use M2Doc 3.0.0 with Capella 1.3.1. But the M2Doc Capella extensions 1.3.1 will not work anymore.

You can migrate your project from Capella 1.3.1 to 1.4.0 using the contextual menu on the project. Then you can use the M2Doc Capella extensions 1.4.0.
Previous Topic:Access to Related Diagrams
Next Topic:Scenario diagrams
Goto Forum:
  


Current Time: Tue Feb 25 16:37:47 GMT 2020

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

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

Back to the top