| 
| Generating XMI files from external content [message #51304] | Thu, 19 June 2008 10:24  |  | 
| Eclipse User  |  |  |  |  | Hi, 
 Today I have been experimenting with ways to generate an EPF project from
 external content, such as external XHTML or XML files.
 
 I have written two XSLTs, one to generate the Library.xmi and one for the
 Plugin.xmi. Appropriate xmi:ids and guid are generated using the XPath
 generate-id(.) function :) The internal references are maintained/handled
 gracefully!
 
 Soon, I will be able to auto-import a set of Word HTML files or other
 content into an EPF project. I think I could enrich the Word docs with
 some suitable metadata that can later be extracted and used to insert the
 Word doc the right place as the right type of MethodElement, perhaps even
 splitting it up if necessary, or reusing parts as briefDescription or for
 presentationName, version etc.
 
 More to follow...
 
 Kristian
 |  |  |  | 
| 
| Re: Generating XMI files from external content [message #51332 is a reply to message #51304] | Thu, 19 June 2008 13:18  |  | 
| Eclipse User  |  |  |  |  | I have been refining my idea for a genereal purpose EPF content import framework.
 Now I am working on a small tool to extract the metadata from the
 o:DocumentProperties section of a normal Word html export.
 
 The following Word metadata provides a good basis for reuse in EPF
 
 o:Subject      -> EPF Type (Guideline, Task, ...)
 o:Author       -> Authors
 o:LastAuthor   -> Authors
 o:Description  -> Brief description
 o:Revision     -> Version
 o:LastSaved    -> Change date
 o:Category     -> Content Package hierarchy (fx "Design-Service" goes into
 package Service, childpackage of Design)
 
 <title>        -> Presentation name
 
 If the document is contained in a folder structure that matches the
 Content package names this folder structure is used to indicate the
 Content package it goes into (decision "by placement".
 
 If Category is specified (and matches Content package) then Category will
 override the decision "by placement".
 
 Furthere suggestions or comments are welcome!
 
 Kristian
 |  |  |  | 
| 
| Re: Generating XMI files from external content [message #589623 is a reply to message #51304] | Thu, 19 June 2008 13:18  |  | 
| Eclipse User  |  |  |  |  | I have been refining my idea for a genereal purpose EPF content import framework.
 Now I am working on a small tool to extract the metadata from the
 o:DocumentProperties section of a normal Word html export.
 
 The following Word metadata provides a good basis for reuse in EPF
 
 o:Subject      -> EPF Type (Guideline, Task, ...)
 o:Author       -> Authors
 o:LastAuthor   -> Authors
 o:Description  -> Brief description
 o:Revision     -> Version
 o:LastSaved    -> Change date
 o:Category     -> Content Package hierarchy (fx "Design-Service" goes into
 package Service, childpackage of Design)
 
 <title>        -> Presentation name
 
 If the document is contained in a folder structure that matches the
 Content package names this folder structure is used to indicate the
 Content package it goes into (decision "by placement".
 
 If Category is specified (and matches Content package) then Category will
 override the decision "by placement".
 
 Furthere suggestions or comments are welcome!
 
 Kristian
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.03882 seconds