Syndication-NITF
view release on metacpan or search on metacpan
t/test_data/nitf-fishing.xml view on Meta::CPAN
<?xml version="1.0"?>
<!--
<!DOCTYPE nitf SYSTEM "../nitf-3-0.dtd">
-->
<nitf>
<head>
<title>Norfolk Weather and Tide Updates</title>
<tobject tobject.type="news">
<tobject.subject
tobject.subject.refnum="17000000"
tobject.subject.type="Weather"
/>
<tobject.subject
tobject.subject.refnum="04001002"
tobject.subject.detail="Fishing Industry"
/>
</tobject>
<docdata>
<identified-content>
<location
location-code="23602"
code-source="zipcodes.usps.gov"
/>
</identified-content>
</docdata>
</head>
<body>
<body.head>
<hedline>
<hl1>Weather and Tide Updates for Norfolk</hl1>
<hl2>A sample, fictitious NITF article</hl2>
</hedline>
<note><body.content><p>This sample article was created completely from scratch in order to
illustrate various features of NITF.
Parts of it are somewhat contrived, in order to illustrate as much
of the DTD as possible.</p></body.content></note>
<byline>
By <person>Alan Karben</person>
<byttl>NITF Network News Online</byttl>
</byline>
</body.head>
<body.content>
<p>The weather was great today in Norfolk, Virginia. Made me want to take
out my boat, manufactured by the <org value="acm" idsrc="iptc.org">Acme Boat Company</org>.</p>
<p>Tides in Norfolk are running normal today. This weeks article highlights many of
this week's fishing issues, and also presents a reference table of tide times.</p>
<hl2>The Tides are High</hl2>
<p>As can be seen from the table below, the shores of Oceanview again present the
brightest spots for fishermen and sandcastle-builders alike.</p>
<nitf-table>
<nitf-table-metadata>
<nitf-table-summary>
<p>This is a table filled with weather data, good for fishermen
living in Norfolk, Virginia.</p>
</nitf-table-summary>
<nitf-col value="beach"/>
<nitf-col value="day-high"/>
<nitf-col value="day-low"/>
<nitf-col occurrences="2" value="tide-time"/>
<nitf-colgroup occurrences="3" value="three-day-forecast">
<nitf-col value="day-high"/>
<nitf-col value="day-low"/>
</nitf-colgroup>
</nitf-table-metadata>
<table border="1">
<tr>
<!-- beach -->
<th></th>
<!-- day high and low -->
<th colspan="2">today</th>
<!-- tide times -->
<th colspan="2">tide</th>
<!-- forecast tomorrow -->
<th colspan="2">tomorrow</th>
<!-- forecast the next day -->
<th colspan="2">next day</th>
<!-- forecast the day after that -->
<th colspan="2">third day</th>
</tr>
( run in 1.178 second using v1.01-cache-2.11-cpan-39bf76dae61 )