xhtml markup in Comment body [message #476735] |
Tue, 11 December 2007 13:55  |
Eclipse User |
|
|
|
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
|
|
|
Re: xhtml markup in Comment body [message #476736 is a reply to message #476735] |
Tue, 11 December 2007 14:01   |
Eclipse User |
|
|
|
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--
|
|
|
Re: xhtml markup in Comment body [message #476737 is a reply to message #476736] |
Tue, 11 December 2007 14:36  |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_0010_01C83BF2.7B41BF90
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Excellent, thanks Ed. I'll test this within the next day or two and let =
you know how it works.
Dave
"Ed Merks" <merks@ca.ibm.com> wrote in message =
news:fjmmr7$mmk$1@build.eclipse.org...
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
UMLResourceFactoryImpl already uses the extended metadata option so I =
think it should just work.
------=_NextPart_000_0010_01C83BF2.7B41BF90
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-1>
<META content=3D"MSHTML 6.00.6000.16544" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Excellent, thanks Ed. I'll test =
this within=20
the next day or two and let you know how it works.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Dave</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A =
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>>=20
wrote in message <A=20
=
href=3D"news:fjmmr7$mmk$1@build.eclipse.org">news:fjmmr7$mmk$1@build.ecli=
pse.org</A>...</DIV>Dave,<BR><BR>I=20
think you could do it using demand created metadata and embed that =
data as an=20
instance of AnyType within the contents feature of an EAnnotation.<BR>
<BLOCKQUOTE><A=20
=
href=3D" http://www.theserverside.com/tt/articles/article.tss?l=3DBin dingX=
MLJava"=20
target=3D_out>Binding XML to =
Java</A><BR></BLOCKQUOTE>UMLResourceFactoryImpl=20
already uses the extended metadata option so I think it should just=20
work.<BR><BR><BR></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0010_01C83BF2.7B41BF90--
|
|
|
Re: xhtml markup in Comment body [message #625709 is a reply to message #476735] |
Tue, 11 December 2007 14:01  |
Eclipse User |
|
|
|
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--
|
|
|
Re: xhtml markup in Comment body [message #625710 is a reply to message #476736] |
Tue, 11 December 2007 14:36  |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_0010_01C83BF2.7B41BF90
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Excellent, thanks Ed. I'll test this within the next day or two and let =
you know how it works.
Dave
"Ed Merks" <merks@ca.ibm.com> wrote in message =
news:fjmmr7$mmk$1@build.eclipse.org...
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
UMLResourceFactoryImpl already uses the extended metadata option so I =
think it should just work.
------=_NextPart_000_0010_01C83BF2.7B41BF90
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-1>
<META content=3D"MSHTML 6.00.6000.16544" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Excellent, thanks Ed. I'll test =
this within=20
the next day or two and let you know how it works.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Dave</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A =
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>>=20
wrote in message <A=20
=
href=3D"news:fjmmr7$mmk$1@build.eclipse.org">news:fjmmr7$mmk$1@build.ecli=
pse.org</A>...</DIV>Dave,<BR><BR>I=20
think you could do it using demand created metadata and embed that =
data as an=20
instance of AnyType within the contents feature of an EAnnotation.<BR>
<BLOCKQUOTE><A=20
=
href=3D" http://www.theserverside.com/tt/articles/article.tss?l=3DBin dingX=
MLJava"=20
target=3D_out>Binding XML to =
Java</A><BR></BLOCKQUOTE>UMLResourceFactoryImpl=20
already uses the extended metadata option so I think it should just=20
work.<BR><BR><BR></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0010_01C83BF2.7B41BF90--
|
|
|
Powered by
FUDForum. Page generated in 0.06530 seconds