List Info

Thread: Can not convert javadoc HTML into DocBook XML




Can not convert javadoc HTML into DocBook XML
user name
2006-09-27 07:53:51
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%standaloneherold.jar -i
htmlindex.html -o javadoc.xml

The HTML index file:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Frameset//EN"
"htt
p://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/docboo
kx.dtd">
<article>
  <title>http://w
ww.dbdoclet.org/herold</title>

<!--  File:
E:projektedocbookxsljavadochtmlindex.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

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org

Can not convert javadoc HTML into DocBook XML
user name
2006-09-27 07:56:13
I should have said that I use dbdoclet
(http://www.dbdoclet.org)

Regards,
Darya


--- Darya Said-Akbari <darya_akbariyahoo.com>
schrieb:

> 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%standaloneherold.jar -i
> htmlindex.html -o javadoc.xml
> 
> The HTML index file:
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
> Frameset//EN"
> "htt
p://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/docboo
kx.dtd">
> <article>
>   <title>http://w
ww.dbdoclet.org/herold</title>
> 
> <!--  File:
> E:projektedocbookxsljavadochtmlindex.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
> 
> 



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

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org

Can not convert javadoc HTML into DocBook XML
user name
2006-09-27 08:33:19
Darya Said-Akbari wrote:

First, please do not cross-post questions to two lists at
once.

> 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%standaloneherold.jar -i
> htmlindex.html -o javadoc.xml

You must use dbdoclet on your source Java files to get
javadoc in 
DocBook format. Herold is used to convert arbitrary HTML to
DocBook and 
it has nothing to do with javadoc (in fact, it is
"just" byproduct of 
dbdoclet, but very useful, though).

-- 
------------------------------------------------------------
------
   Jirka Kosek     e-mail: jirkakosek.cz     http://www.kosek.cz
------------------------------------------------------------
------
   Profesionální školení a poradenství v oblasti technologií
XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/

------------------------------------------------------------
------
                    Nejbližší termíny školení:
     ** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.2006
**
      ** DocBook 11.-13.12.2006 ** XSL-FO 11.-12.12.2006 **
------------------------------------------------------------
------
   http://xmlguru.cz    Blog
mostly about XML for English readers
------------------------------------------------------------
------

Can not convert javadoc HTML into DocBook XML
user name
2006-09-27 11:12:22
Hi Jirka,

sorry for the cross-post.

I recognized that I don't have to start javadoc in a
previous step but to go straight with Michael Fuchs'
great dbdoclet tool.

Regards,
Darya

--- Jirka Kosek <jirkakosek.cz> schrieb:

> Darya Said-Akbari wrote:
> 
> First, please do not cross-post questions to two
> lists at once.
> 
> > 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%standaloneherold.jar -i
> > htmlindex.html -o javadoc.xml
> 
> You must use dbdoclet on your source Java files to
> get javadoc in 
> DocBook format. Herold is used to convert arbitrary
> HTML to DocBook and 
> it has nothing to do with javadoc (in fact, it is
> "just" byproduct of 
> dbdoclet, but very useful, though).
> 
> -- 
>
------------------------------------------------------------
------
>    Jirka Kosek     e-mail: jirkakosek.cz    
> http://www.kosek.cz
>
------------------------------------------------------------
------
>    Profesionální školení a poradenství v oblasti
> technologií XML.
>       Podívejte se na náš nově spuštěný web
> http://DocBook.cz
>         Podrobný přehled školení
> http://xmlguru.cz/skoleni/

>
------------------------------------------------------------
------
>                     Nejbližší termíny školení:
>      ** XSLT 23.-26.10.2006 ** XML schémata
> 13.-15.11.2006 **
>       ** DocBook 11.-13.12.2006 ** XSL-FO
> 11.-12.12.2006 **
>
------------------------------------------------------------
------
>    http://xmlguru.cz   
Blog mostly about XML for
> English readers
>
------------------------------------------------------------
------
> 
> 



	

	
		
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen
Yahoo! Mail: http://mail.yahoo.de

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )