<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
To be clear, attribute values can contain any character. Attribute
names must be valid C identifiers (since we are generating code from
them). So attribute names cannot contain : or -.<br>
<br>
Perhaps you could generate "xsi_type" in GReAT, then use an XSL to
transform "xsi_type" to "xsi:type"?<br>
<br>
Kevin<br>
<br>
<br>
<div class="moz-cite-prefix">On 11/15/2013 9:04 AM, Daniel
Balasubramanian wrote:<br>
</div>
<blockquote
cite="mid:3755C313-7E9F-408F-8311-A0E62F06EA41@isis.vanderbilt.edu"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<div>Hi Dominik,</div>
<div><br>
</div>
<div>If you are using the DOM backed for the GReAT transformation,
you should be able to set a string attribute on an object to
contain dashes and colons. In other words, if the output of your
transformation is an XML file, it should be able to contain
those characters. Is this not the case?</div>
<div><br>
</div>
<div>Regards,</div>
<div>Daniel</div>
<div><br>
On Nov 15, 2013, at 8:46 AM, "Dominik Giel" <<a
moz-do-not-send="true" href="mailto:Dominik.Giel@gmx.de">Dominik.Giel@gmx.de</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>Dear GReAT-Users,</div>
<div>thanks for helping us out with the XML-issue we posted
in September. This helped us to work efficiently and
create the output we need.</div>
<div>Concerning a special XML-Output I would be pleased, if
you could help me again.</div>
<div> </div>
<div>I want to model a standard, that uses a colon and a
dash in object names and attributes. For instance an
object should be named
<f:wonderful></f:wonderful> or the Object is
named "MyName" and has an attribute xsi:type="This is the
type".</div>
<div>In GME Metamodeling, there's a constraint not to use
the colon and dash in those names. For this specific
issue, it would be necessary though.</div>
<div> </div>
<div>Is there a possibility in GReAT (GME) to use these
punctuation marks for this special issues?</div>
<div> </div>
<div>Thank you so much in advance to help me out.</div>
<div> </div>
<div>Greetings from Germany,</div>
<div>Dominik</div>
<div> </div>
<div> </div>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>great-users mailing list</span><br>
<span><a moz-do-not-send="true"
href="mailto:great-users@list.isis.vanderbilt.edu">great-users@list.isis.vanderbilt.edu</a></span><br>
<span><a moz-do-not-send="true"
href="http://list.isis.vanderbilt.edu/mailman/listinfo/great-users">http://list.isis.vanderbilt.edu/mailman/listinfo/great-users</a></span><br>
</div>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
great-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:great-users@list.isis.vanderbilt.edu">great-users@list.isis.vanderbilt.edu</a>
<a class="moz-txt-link-freetext" href="http://list.isis.vanderbilt.edu/mailman/listinfo/great-users">http://list.isis.vanderbilt.edu/mailman/listinfo/great-users</a>
</pre>
</blockquote>
<br>
</body>
</html>