Michael Van Canneyt wrote:
On Fri, 11 Jan 2008, willem wrote:
Michael Van Canneyt wrote:
On Fri, 11 Jan 2008, willem wrote:
I try to generate xml with fpdoc, but I get an error message
FPDoc - Free Pascal Documentation Tool
Version 2.2.0 [2007/08/30]
(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, [EMAIL PROTECTED]
Invalid format "XML-STRUCT" specified
Writing 9 pages...
Done.
The pages are html in stead of xml.
Obviously. Read the error message.
What is the command-line you are using ?
Michael.
makeskel --package=regexdna --input=regexdna.pas --output=regexdna.xml
fpdoc --format=xml-struct --package=regexdna --input=regexdna.xml
1. Where do you get this xml-struct from ??
I think you want --format=xml
From :
http://www.freepascal.org/docs-html/fpdoc/fpdocsu3.html#x15-140003.2.3
Yes i want to format --format=xml :-)
I am using the Fpdoc reference manual , written by Michael van Canneyt
on May 17 2007 ;-)
2. Input is the pas file, not the xml file:
fpdoc --format=xml --package=regexdna --input=regexdna.pas
--descr=regexdna.xml
Michael.
I followed your advice :
[EMAIL PROTECTED]:~/rexegu$ ./regexdna.sh
MakeSkel - FPDoc skeleton XML description file generator
Version 2.2.0 [2007/08/30]
(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, [EMAIL PROTECTED]
Done.
FPDoc - Free Pascal Documentation Tool
Version 2.2.0 [2007/08/30]
(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, [EMAIL PROTECTED]
Done.
But there must be a bug in the section of the xmlwriter
of Pasdoc , Xmlwriter does not write anything .
Html writer does write ! , So I get only Html code in my Package directory.
Thank you for your fast response.
regards wim
_
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives