|
|
|
Re: Free text between tags in XML [message #1062513 is a reply to message #1062386] |
Sat, 08 June 2013 07:42 |
Ed Merks Messages: 33216 Registered: July 2009 |
Senior Member |
|
|
Roseline,
Comments below.
On 07/06/2013 3:28 PM, Roseline Gourinel wrote:
> Hello,
>
> Thank you for your quickly response ...
> Actually, I have to extract my own EMF model into a document with
> several formats (pdf, word, ...).
> We chose to use Arbortext XML (and then the target format via this
> tool) because already used in the company.
>
> I have to investigate for Arbortext schemas. I am not sure to find one
> because this is a close product. I will search ...
>
> Then, if I well understand, I can importe it into an emf model and
> then the conversion will be easier (EMF model to EMF model) ?
Yes, then it will be automatic.
>
> I was told an other way is to override the serialization of my output
> model. Do you agree ?
Yes it's always possible to write your own ResourceImpl or to derive
from the parts uses by XMLResourceImpl.
For the use case you mention specifically, the XMLType package's AnyType
is good for capturing arbitrary XML content. You could have a look at
this for more details:
http://www.theserverside.com/news/1364302/Binding-XML-to-Java
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04674 seconds