Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EPF » Generating XMI files from external content
Generating XMI files from external content [message #51304] Thu, 19 June 2008 14:24 Go to next message
Kristian Mandrup is currently offline Kristian MandrupFriend
Messages: 44
Registered: July 2009
Member
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 17:18 Go to previous message
Kristian Mandrup is currently offline Kristian MandrupFriend
Messages: 44
Registered: July 2009
Member
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 17:18 Go to previous message
Kristian Mandrup is currently offline Kristian MandrupFriend
Messages: 44
Registered: July 2009
Member
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
Previous Topic:Generating XMI files from external content
Next Topic:Converting EPF to a generic CMS?
Goto Forum:
  


Current Time: Thu Dec 26 23:59:20 GMT 2024

Powered by FUDForum. Page generated in 0.03337 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top