OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Can not convert javadoc HTML into DocBook XML


Hi,

I have created my javadoc HTML files and try to
convert them into DocBook XML. I use the javadoc
generated index.html for it. 

Please see the command line below:

java -jar %DBKDLT_HOME%\standalone\herold.jar -i
html\index.html -o javadoc.xml

The HTML index file:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd";>
<!--NewPage-->
<HTML>
  <HEAD>
    <!-- Generated by javadoc on Wed Sep 27 09:04:31
CEST 2006-->
    <TITLE>Generated Documentation (Untitled)</TITLE>
  </HEAD>
  <FRAMESET cols="20%,80%">
    <FRAMESET rows="30%,70%">
     <FRAME src="overview-frame.html"
name="packageListFrame" title="All Packages">
     <FRAME src="allclasses-frame.html"
name="packageFrame" title="All classes and interfaces
(except non-static nested types)">
    </FRAMESET>
    <FRAME src="overview-summary.html"
name="classFrame" title="Package, class and interface
descriptions">
    <NOFRAMES>
      <H2>Frame Alert</H2>
      <P>This document is designed to be viewed using
the frames feature. If you see this message, you are
using a non-frame-capable web client.
      <BR>Link to<A
HREF="overview-summary.html">Non-frame version.</A>
    </NOFRAMES>
  </FRAMESET>
</HTML>

The resulting DocBook XML:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML
V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd";>
<article>
  <title>http://www.dbdoclet.org/herold</title>

<!--  File:
E:\projekte\docbookxsl\javadoc\html\index.html  -->

  <sect1>
    <title>Generated Documentation (Untitled)</title>

<!--  Generated by javadoc on Wed Sep 27 09:04:31 CEST
2006 -->

    <sect2 remap="h2">
      <title>Frame Alert</title>
      <para>This document is designed to be viewed
using the frames feature. If you see this message, you
are using a non-frame-capable web client.</para>
      <para>Link to<ulink
url="overview-summary.xml">Non-frame
version.</ulink></para>
    </sect2>
  </sect1>
</article>

I thought I would get one DocBook XML. 

Did I miss anything?

Regards,
Darya


		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]