473,516 Members | 3,399 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

NITF to HTML how?

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
3 3197
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
3533
by: Ragnar Heil | last post by:
Hi, I am receiving news from a press-agency in NITF-XML. Then I want to import them into my CMS using XML&SOAP. The import-tool runs fine if I have got an xml-document with real German special characters, not HTML entities. Unfortunately I receive the news with entities and get this error (translate from German): Parse Error in input...
4
8387
by: VK | last post by:
09/30/03 Phil Powell posted his "Radio buttons do not appear checked" question. This question led to a long discussion about the naming rules applying to variables, objects, methods and properties in JavaScript/JScript and HTML/XML elements. Without trying to get famous :-) but thinking it would be interesting to others I decided to post the...
0
3128
by: Boris Ammerlaan | last post by:
This notice is posted about every week. I'll endeavor to use the same subject line so that those of you who have seen it can kill-file the subject; additionally, Supersedes: headers are used to ensure that only one copy resides on a given news server. This notice was last updated on September 7th, 2000, and is available (with a complete...
4
2954
by: Francois Keyeux | last post by:
hello everyone: i have a web site built using vbasic active server scripting running on iis (it works on either iis 50 and 60, but is designed for iis 50) i know how to create a plain text email by creating a text file, with content following certain format, and saving that file into the correct '..\mailroot\pickup' folder, and it is...
5
3568
by: serge calderara | last post by:
Dear all, I am new in asp.net and prepare myself for exam I still have dificulties to understand the difference between server control and HTML control. Okey things whcih are clear are the fact that for server control component , code is running on the server side. But if I take as example a Label. I place on a webform an HTM label...
2
2381
by: ElizaInternet | last post by:
I need convert NITF Xmls for insert into BD SQL. I try convert to file text and then insert into BD I used the Syndication:NITF of perl for this convertion. Any have information about this??, I can´t convert all tags and export to file text. Somebody knows another form to do it??? thanks for help
1
1439
by: kandarp | last post by:
Hi I want to convert csv file into NITF Format using asp.net 2005. if you have any idea or code for it than help me. its very import for me. Thanks Kandarp Joshi
6
433
by: Guy Macon | last post by:
cwdjrxyz wrote: HTML 5 has solved the above probem. See the following web page: HTML 5, one vocabulary, two serializations http://www.w3.org/QA/2008/01/html5-is-html-and-xml.html
0
7273
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7182
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7405
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
5712
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5106
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3252
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1620
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
487
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.