By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,524 Members | 2,186 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,524 IT Pros & Developers. It's quick & easy.

NITF to HTML how?

P: n/a
Hello, I have been given the project to convert NITF files to HTML. We
already convert RSS-RDF files to HTML on a linux system and it was quite
easy using the tutorial at webreference
http://www.webreference.com/perl/tutorial/8/

It worked out something like this

perl -MCPAN -e "install XML::Parser"
perl -MCPAN -e "install XML::RSS

rss2html.pl (input xml file) > (output html)

Essentially we are looking at doing the same keep it simple task in
converting NITF to HTML. So far we have tried these two scripts below but
they crap out with syntax errors. http://www.townnews.com/contrib/NITF.html
, http://search.cpan.org/~dmegg/XMLNew...TMLTemplate.pm.
Not sure what part of puzzle I might be missing with them.

Anyone have a good perl script or a link to a site that converts NITF files
to HTML as simple as the RSS conversion above?

Thanks in advance.

Nina
Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Nina wrote:
Anyone have a good perl script or a link to a site that converts NITF files
to HTML as simple as the RSS conversion above?


Do you have an XSLT engine available? I wrote some XSLT for transforming
NITF.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
Jul 20 '05 #2

P: n/a
HI REGARD :
may i construct my system use jtidy?....
put the source and output in the same server?!....
BEST REGARDS....

by mike liu
Jul 20 '05 #3

P: n/a
Nina,

This script:

http://www.townnews.com/contrib/NITF.html

Is a highlighted example of the XML_NITF parser for PHP, not Perl. The
official release is on the PEAR web site, at http://pear.php.net.

Regards,

Patrick O'Lone
po****@townnews.com
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.