Dear reader,
I got a lot working from java, but now I'm stuck setting dita elements like
author. I managed to set the title from java.
What's the difference between setting the title and the author?
This is the code I use:
Name author = Name.get("author");
Element authorElement = new Element(author);
authorElement.putAttribute(Name.get("type"), "creator");
String username = System.getProperty("user.name");
authorElement.setText(username);
This is the result of adding the element:
<author type="creator"/>
Thanks in advance,
Roderik Dernison
________________________________
----------------------------------------------------------
Aan dit bericht kunnen geen rechten worden ontleend.
Het bericht is alleen bestemd voor de geadresseerde.
Indien het bericht niet voor u is bestemd, verzoeken wij
u dit aan ons te melden en het bericht te verwijderen.
This message shall not constitute any obligations.
This message is intended solely for the addressee.
If you have received this message in error, please
inform us and delete the message.
----------------------------------------------------------
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support