|
Re: xhtml markup in Comment body [message #476736 is a reply to message #476735] |
Tue, 11 December 2007 19:01 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------020506030108010103080309
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Dave,
I think you could do it using demand created metadata and embed that
data as an instance of AnyType within the contents feature of an
EAnnotation.
Binding XML to Java
< http://www.theserverside.com/tt/articles/article.tss?l=Bindi ngXMLJava>
UMLResourceFactoryImpl already uses the extended metadata option so I
think it should just work.
Dave Carlson wrote:
> I need to find a way to include "rich text" in UML comment body using xhtml
> markup tags. Only a limited set of tags will be used most of the time
> (e.g., <p> <b> <i> <ul> and maybe <table>). Any suggestions on how to make
> this work using EMF resources?
>
> Is there a way to load and save UML resources, leaving the xhtml markup as
> DOM elements? Or is it necessary to create an EMF model for xhtml, so that
> UML comments will include a reference to a second xhtml model EObjects? Is
> this even allowed by the UML metamodel?
>
> I found this w3c work on creating XSD for xhtml. Has anyone attempted an
> EMF model from these schemas?
>
> Thanks for any advice,
> Dave Carlson
>
>
>
--------------020506030108010103080309
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dave,<br>
<br>
I think you could do it using demand created metadata and embed that
data as an instance of AnyType within the contents feature of an
EAnnotation.<br>
<blockquote><a target="_out"
href=" http://www.theserverside.com/tt/articles/article.tss?l=Bindi ngXMLJava">Binding
XML to Java</a><br>
</blockquote>
UMLResourceFactoryImpl already uses the extended metadata option so I
think it should just work.<br>
<br>
<br>
Dave Carlson wrote:
<blockquote cite="mid:fjmmev$jjt$1@build.eclipse.org" type="cite">
<pre wrap="">I need to find a way to include "rich text" in UML comment body using xhtml
markup tags. Only a limited set of tags will be used most of the time
(e.g., <p> <b> <i> <ul> and maybe <table>). Any suggestions on how to make
this work using EMF resources?
Is there a way to load and save UML resources, leaving the xhtml markup as
DOM elements? Or is it necessary to create an EMF model for xhtml, so that
UML comments will include a reference to a second xhtml model EObjects? Is
this even allowed by the UML metamodel?
I found this w3c work on creating XSD for xhtml. Has anyone attempted an
EMF model from these schemas?
Thanks for any advice,
Dave Carlson
</pre>
</blockquote>
<br>
</body>
</html>
--------------020506030108010103080309--
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Re: xhtml markup in Comment body [message #625709 is a reply to message #476735] |
Tue, 11 December 2007 19:01 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------020506030108010103080309
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Dave,
I think you could do it using demand created metadata and embed that
data as an instance of AnyType within the contents feature of an
EAnnotation.
Binding XML to Java
< http://www.theserverside.com/tt/articles/article.tss?l=Bindi ngXMLJava>
UMLResourceFactoryImpl already uses the extended metadata option so I
think it should just work.
Dave Carlson wrote:
> I need to find a way to include "rich text" in UML comment body using xhtml
> markup tags. Only a limited set of tags will be used most of the time
> (e.g., <p> <b> <i> <ul> and maybe <table>). Any suggestions on how to make
> this work using EMF resources?
>
> Is there a way to load and save UML resources, leaving the xhtml markup as
> DOM elements? Or is it necessary to create an EMF model for xhtml, so that
> UML comments will include a reference to a second xhtml model EObjects? Is
> this even allowed by the UML metamodel?
>
> I found this w3c work on creating XSD for xhtml. Has anyone attempted an
> EMF model from these schemas?
>
> Thanks for any advice,
> Dave Carlson
>
>
>
--------------020506030108010103080309
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dave,<br>
<br>
I think you could do it using demand created metadata and embed that
data as an instance of AnyType within the contents feature of an
EAnnotation.<br>
<blockquote><a target="_out"
href=" http://www.theserverside.com/tt/articles/article.tss?l=Bindi ngXMLJava">Binding
XML to Java</a><br>
</blockquote>
UMLResourceFactoryImpl already uses the extended metadata option so I
think it should just work.<br>
<br>
<br>
Dave Carlson wrote:
<blockquote cite="mid:fjmmev$jjt$1@build.eclipse.org" type="cite">
<pre wrap="">I need to find a way to include "rich text" in UML comment body using xhtml
markup tags. Only a limited set of tags will be used most of the time
(e.g., <p> <b> <i> <ul> and maybe <table>). Any suggestions on how to make
this work using EMF resources?
Is there a way to load and save UML resources, leaving the xhtml markup as
DOM elements? Or is it necessary to create an EMF model for xhtml, so that
UML comments will include a reference to a second xhtml model EObjects? Is
this even allowed by the UML metamodel?
I found this w3c work on creating XSD for xhtml. Has anyone attempted an
EMF model from these schemas?
Thanks for any advice,
Dave Carlson
</pre>
</blockquote>
<br>
</body>
</html>
--------------020506030108010103080309--
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Powered by
FUDForum. Page generated in 0.03051 seconds