[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: OO 2.0.3/xhtml export/DCMI

Subject: Re: OO 2.0.3/xhtml export/DCMI
From: Andrew Franz <afranz0@xxxxxxxxxxxxxxxx>
Date: Thu, 03 Aug 2006 22:05:20 +1000
odt to xhtml
You can automate the zipping/unzipping with a Java servlet such as Tomcat, e.g.

1. _unzip.jsp_
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %>
<c:import url="unzip.xsl" var="xsldoc"/>
<x:transform xslt="${xsldoc}">
<x:param name="uri" value="unzip.jsp" />
<c:import url="unzip.jspx">
<c:param name="path" value="C:\\Program Files\\Apache\\Tomcat 5.5\\webapps\\xjsp\\" />
</c:import>
</x:transform>


2. _unzip.jspx_ uses java.util.zip to extract meta.xml and writes it to stdout (JspWriter).
(email me if you need a copy - too long to post here)


3. Substitute _unzip.xsl_ above with your xslt file.

In the other direction, you can use java.util.zip to replace meta.xml with your XSLT-transformed copy and write it to an octet-stream.
Great idea - can I borrow it?


Other possibilities:
1. A user can login to a webpage and "create" an open office document (the webapp then substitutes their name & details in meta.xml) and the ODT file is then sent back to them as an octet stream
2. Open an MS-Word document in Open Office, save as .ODT, open with java.util.zip, transform and show meta info (originally from MS-Word)



On 7/31/06, Gannon Dick <gannon_dick@xxxxxxxxx> wrote:

I describe
1. a process for managing the meta data in (*.odt) OpenDocument Text
files and
2. give a transform to rewrite and supplement the meta data in a xhtml
export to use exclusively DCMI elements and terms.

http://www.geocities.com/gannon_dick/MetaData.pdf

Any comments would be appreciated.

Gannon

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.