cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Z.Z." <za...@vili.pmmf.hu>
Subject Detecting documet types of Openoffice objects
Date Sat, 25 Sep 2004 10:12:50 GMT
Hi All,

I would like to convert oo documents to http. Its working good, but I 
cannot detect type of embedded objects forexample mathml and so on.

In main document there is a reference for embedded document like this:

<draw:object draw:style-name="fr1"
   draw:name="Objektum1"
   text:anchor-type="as-char"
   svg:x="0cm"
   svg:width="5.038cm"
   svg:height="0.566cm"
   draw:z-index="0"
   xlink:href="#./ObjBFFFE493"
   xlink:type="simple"
   xlink:show="embed"
   xlink:actuate="onLoad"/>

embedded document is like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE math:math PUBLIC "-//OpenOffice.org//DTD Modified W3C MathML 
1.01//EN" "math.dtd">
  <math:math xmlns:math="http://www.w3.org/1998/Math/MathML">
  <math:semantics>
...

I need to know what type of document is working for different xsl.

How can I detect it in my xsl?
-- 
thx,
----------------------------------------------------
Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message