EMF instance [message #657829] |
Fri, 04 March 2011 09:11 |
No real name Messages: 42 Registered: December 2010 |
Member |
|
|
when I create an instance EMF with wizard, my.library file is written in this form:
<?xml version="1.0" encoding="UTF-8"?>
<library:Library xmlns:library="http://www.example.eclipse.org/Library">
<name>libst</name>
<writers>
<name>Jeff Zoline</name>
</writers>
<books>
<title>green line</title>
<pages>250</pages>
<author>Jeff Zoline</author>
</books>
</library:Library>
but when I create it programmatically, my.library file is written in this form:
<?xml version="1.0" encoding="ASCII"?>
<library:Library xmlns:library="http://www.example.eclipse.org/Library" name="libst">
<writers name="Jeff Zoline"/>
<books title="green line" pages="250" author="Jeff Zoline"/>
</library:Library>
So how can I have the file my.library programmatically like creating with wizard?
[Updated on: Fri, 04 March 2011 09:18] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08693 seconds