676 lines
14 KiB
HTML
676 lines
14 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="reference" />
|
|
<meta name="DC.Title" content="Example: XSLReportProcessor sample XML file" />
|
|
<meta name="abstract" content="" />
|
|
<meta name="description" content="" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="realestatexml" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>Example: XSLReportProcessor sample XML file</title>
|
|
</head>
|
|
<body id="realestatexml"><a name="realestatexml"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Example: XSLReportProcessor sample XML file</h1>
|
|
<div><p></p>
|
|
<div class="section"><div class="note"><span class="notetitle">Note:</span> Read the <a href="codedisclaimer.htm#codedisclaimer">Code
|
|
example disclaimer</a> for important legal information.</div>
|
|
</div>
|
|
<div class="section"><div class="p"><pre><?xml version="1.0"?>
|
|
|
|
<RESIDENTIAL-LISTINGS VERSION="061698">
|
|
|
|
<RESIDENTIAL-LISTING ID="ID1287" VERSION="061698">
|
|
<GENERAL>
|
|
<TYPE>Apartment</TYPE>
|
|
<PRICE>$110,000</PRICE>
|
|
<STRUCTURE><NUM-BEDS>3</NUM-BEDS><NUM-BATHS>1</NUM-BATHS></STRUCTURE>
|
|
<AGE UNITS="YEARS">15</AGE>
|
|
<LOCATION COUNTRY="USA" STATE="MA" COUNTY="MIDDLESEX" SECURITY="Public">
|
|
<ADDRESS>13 Some Avenue</ADDRESS>
|
|
<CITY>Dorchester</CITY><ZIP>02121</ZIP>
|
|
</LOCATION>
|
|
<IMAGE FORMAT="JPG" WIDTH="300" HEIGHT="150" SRC="house1.jpg"/>
|
|
<MLS>
|
|
<MLS-CODE SECURITY="Restricted">
|
|
30224877
|
|
</MLS-CODE>
|
|
<MLS-SOURCE SECURITY="Public">
|
|
<NAME>Bob the Realtor</NAME>
|
|
<PHONE>1-617-555-1212</PHONE>
|
|
<FAX>1-617-555-1313</FAX>
|
|
<WEB>
|
|
<EMAIL>Bob@bigbucks.com</EMAIL>
|
|
<SITE>www.bigbucks.com</SITE>
|
|
</WEB>
|
|
</MLS-SOURCE>
|
|
</MLS>
|
|
<DATES><LISTING-DATE>3/5/98</LISTING-DATE></DATES>
|
|
<LAND-AREA UNITS="ACRES">0.01</LAND-AREA>
|
|
|
|
</GENERAL>
|
|
|
|
<FEATURES>
|
|
<DISCLOSURES>
|
|
In your dreams.
|
|
</DISCLOSURES>
|
|
<UTILITIES>
|
|
Yes
|
|
</UTILITIES>
|
|
<EXTRAS>
|
|
Pest control included.
|
|
</EXTRAS>
|
|
<CONSTRUCTION>
|
|
Wallboard and glue
|
|
</CONSTRUCTION>
|
|
<ACCESS>
|
|
Front door.
|
|
</ACCESS>
|
|
</FEATURES>
|
|
|
|
<FINANCIAL>
|
|
<ASSUMABLE>
|
|
I assume so.
|
|
</ASSUMABLE>
|
|
<OWNER-CARRY>
|
|
Too heavy.
|
|
</OWNER-CARRY>
|
|
<ASSESMENTS>
|
|
$150,000
|
|
</ASSESMENTS>
|
|
<DUES>
|
|
$100
|
|
</DUES>
|
|
<TAXES>
|
|
$2,000
|
|
</TAXES>
|
|
<LENDER>
|
|
Fly by nite mortgage co.
|
|
</LENDER>
|
|
<EARNEST>
|
|
Burt
|
|
</EARNEST>
|
|
<DIRECTIONS>
|
|
North, south, east, west
|
|
</DIRECTIONS>
|
|
</FINANCIAL>
|
|
|
|
<REMARKS>
|
|
</REMARKS>
|
|
|
|
<CONTACTS>
|
|
<COMPANY>
|
|
<NAME>
|
|
Noplace Realty
|
|
</NAME>
|
|
<ADDRESS>
|
|
12 Main Street
|
|
</ADDRESS>
|
|
<CITY>
|
|
Lowell, MA
|
|
</CITY>
|
|
<ZIP>
|
|
34567
|
|
</ZIP>
|
|
</COMPANY>
|
|
<AGENT>
|
|
<NAME>
|
|
Mary Jones
|
|
</NAME>
|
|
<ADDRESS>
|
|
</ADDRESS>
|
|
<CITY>
|
|
</CITY>
|
|
<ZIP>
|
|
</ZIP>
|
|
</AGENT>
|
|
<OWNER>
|
|
<NAME>
|
|
</NAME>
|
|
<ADDRESS>
|
|
</ADDRESS>
|
|
<CITY>
|
|
</CITY>
|
|
<ZIP>
|
|
</ZIP>
|
|
</OWNER>
|
|
<TENANT>
|
|
Yes.
|
|
</TENANT>
|
|
<COMMISION>
|
|
15%
|
|
</COMMISION>
|
|
</CONTACTS>
|
|
|
|
</RESIDENTIAL-LISTING>
|
|
|
|
<RESIDENTIAL-LISTING VERSION="061698" ID="ID1289">
|
|
<GENERAL>
|
|
|
|
<IMAGE FORMAT="JPG" WIDTH="300" HEIGHT="150" SRC="house2.jpg">
|
|
</IMAGE>
|
|
|
|
<MLS>
|
|
<MLS-CODE SECURITY="Restricted">
|
|
30298877
|
|
</MLS-CODE>
|
|
<MLS-SOURCE SECURITY="Public">
|
|
<NAME>
|
|
Mary the Realtor
|
|
</NAME>
|
|
<PHONE>
|
|
1-617-555-3333
|
|
</PHONE>
|
|
<FAX>
|
|
1-617-555-4444
|
|
</FAX>
|
|
<WEB>
|
|
<EMAIL>
|
|
Mary@somebucks.com
|
|
</EMAIL>
|
|
<SITE>
|
|
www.bigbucks.com
|
|
</SITE>
|
|
</WEB>
|
|
</MLS-SOURCE>
|
|
</MLS>
|
|
|
|
<TYPE>
|
|
Home
|
|
</TYPE>
|
|
|
|
<PRICE>
|
|
$200,000
|
|
</PRICE>
|
|
|
|
<AGE UNITS="MONTHS">
|
|
3
|
|
</AGE>
|
|
|
|
<LOCATION COUNTRY="USA" STATE="CO" COUNTY="MIDDLESEX" SECURITY="Public">
|
|
<ADDRESS>
|
|
1 Main Street
|
|
</ADDRESS>
|
|
<CITY>
|
|
Boulder
|
|
</CITY>
|
|
<ZIP>
|
|
11111
|
|
</ZIP>
|
|
</LOCATION>
|
|
|
|
<STRUCTURE>
|
|
<NUM-BEDS>
|
|
2
|
|
</NUM-BEDS>
|
|
<NUM-BATHS>
|
|
2
|
|
</NUM-BATHS>
|
|
</STRUCTURE>
|
|
|
|
<DATES>
|
|
<LISTING-DATE>
|
|
4/3/98
|
|
</LISTING-DATE>
|
|
</DATES>
|
|
|
|
<LAND-AREA UNITS="ACRES">
|
|
0.01
|
|
</LAND-AREA>
|
|
|
|
</GENERAL>
|
|
|
|
<FEATURES>
|
|
<DISCLOSURES>
|
|
In your dreams.
|
|
</DISCLOSURES>
|
|
<UTILITIES>
|
|
Yes
|
|
</UTILITIES>
|
|
<EXTRAS>
|
|
Pest control included.
|
|
</EXTRAS>
|
|
<CONSTRUCTION>
|
|
Wallboard and glue
|
|
</CONSTRUCTION>
|
|
<ACCESS>
|
|
Front door.
|
|
</ACCESS>
|
|
</FEATURES>
|
|
|
|
<FINANCIAL>
|
|
<ASSUMABLE>
|
|
I assume so.
|
|
</ASSUMABLE>
|
|
<OWNER-CARRY>
|
|
Too heavy.
|
|
</OWNER-CARRY>
|
|
<ASSESMENTS>
|
|
$150,000
|
|
</ASSESMENTS>
|
|
<DUES>
|
|
$100
|
|
</DUES>
|
|
<TAXES>
|
|
$2,000
|
|
</TAXES>
|
|
<LENDER>
|
|
Fly by nite mortgage co.
|
|
</LENDER>
|
|
<EARNEST>
|
|
Burt
|
|
</EARNEST>
|
|
<DIRECTIONS>
|
|
North, south, east, west
|
|
</DIRECTIONS>
|
|
</FINANCIAL>
|
|
|
|
<REMARKS>
|
|
</REMARKS>
|
|
|
|
<CONTACTS>
|
|
<COMPANY>
|
|
<NAME>
|
|
Noplace Realty
|
|
</NAME>
|
|
<ADDRESS>
|
|
12 Main Street
|
|
</ADDRESS>
|
|
<CITY>
|
|
Lowell, MA
|
|
</CITY>
|
|
<ZIP>
|
|
34567
|
|
</ZIP>
|
|
</COMPANY>
|
|
<AGENT>
|
|
<NAME>
|
|
Mary Jones
|
|
</NAME>
|
|
<ADDRESS>
|
|
</ADDRESS>
|
|
<CITY>
|
|
</CITY>
|
|
<ZIP>
|
|
</ZIP>
|
|
</AGENT>
|
|
<OWNER>
|
|
<NAME>
|
|
</NAME>
|
|
<ADDRESS>
|
|
</ADDRESS>
|
|
<CITY>
|
|
</CITY>
|
|
<ZIP>
|
|
</ZIP>
|
|
</OWNER>
|
|
<TENANT>
|
|
Yes.
|
|
</TENANT>
|
|
<COMMISION>
|
|
15%
|
|
</COMMISION>
|
|
</CONTACTS>
|
|
|
|
</RESIDENTIAL-LISTING>
|
|
<RESIDENTIAL-LISTING VERSION="061698" ID="ID1290">
|
|
<GENERAL>
|
|
|
|
<IMAGE FORMAT="JPG" WIDTH="300" HEIGHT="150" SRC="house3.jpg">
|
|
</IMAGE>
|
|
|
|
<MLS>
|
|
<MLS-CODE SECURITY="Restricted">
|
|
20079877
|
|
</MLS-CODE>
|
|
<MLS-SOURCE SECURITY="Public">
|
|
<NAME>
|
|
Bob the Realtor
|
|
</NAME>
|
|
<PHONE>
|
|
1-617-555-1212
|
|
</PHONE>
|
|
<FAX>
|
|
1-617-555-1313
|
|
</FAX>
|
|
<WEB>
|
|
<EMAIL>
|
|
Bob@bigbucks.com
|
|
</EMAIL>
|
|
<SITE>
|
|
www.bigbucks.com
|
|
</SITE>
|
|
</WEB>
|
|
</MLS-SOURCE>
|
|
</MLS>
|
|
|
|
<TYPE>
|
|
Apartment
|
|
</TYPE>
|
|
|
|
<PRICE>
|
|
$65,000
|
|
</PRICE>
|
|
|
|
<AGE UNITS="YEARS">
|
|
30
|
|
</AGE>
|
|
|
|
<LOCATION COUNTRY="USA" STATE="MA" COUNTY="MIDDLESEX" SECURITY="Public">
|
|
<ADDRESS>
|
|
25 Which Ave.
|
|
</ADDRESS>
|
|
<CITY>
|
|
Cambridge
|
|
</CITY>
|
|
<ZIP>
|
|
02139
|
|
</ZIP>
|
|
</LOCATION>
|
|
|
|
<STRUCTURE>
|
|
<NUM-BEDS>
|
|
3
|
|
</NUM-BEDS>
|
|
<NUM-BATHS>
|
|
1
|
|
</NUM-BATHS>
|
|
</STRUCTURE>
|
|
|
|
<DATES>
|
|
<LISTING-DATE>
|
|
3/5/97
|
|
</LISTING-DATE>
|
|
</DATES>
|
|
|
|
<LAND-AREA UNITS="ACRES">
|
|
0.05
|
|
</LAND-AREA>
|
|
|
|
</GENERAL>
|
|
|
|
<FEATURES>
|
|
<DISCLOSURES>
|
|
In your dreams.
|
|
</DISCLOSURES>
|
|
<UTILITIES>
|
|
Yes
|
|
</UTILITIES>
|
|
<EXTRAS>
|
|
Pest control included.
|
|
</EXTRAS>
|
|
<CONSTRUCTION>
|
|
Wallboard and glue
|
|
</CONSTRUCTION>
|
|
<ACCESS>
|
|
Front door.
|
|
</ACCESS>
|
|
</FEATURES>
|
|
|
|
<FINANCIAL>
|
|
<ASSUMABLE>
|
|
I assume so.
|
|
</ASSUMABLE>
|
|
<OWNER-CARRY>
|
|
Too heavy.
|
|
</OWNER-CARRY>
|
|
<ASSESMENTS>
|
|
$150,000
|
|
</ASSESMENTS>
|
|
<DUES>
|
|
$100
|
|
</DUES>
|
|
<TAXES>
|
|
$2,000
|
|
</TAXES>
|
|
<LENDER>
|
|
Fly by nite mortgage co.
|
|
</LENDER>
|
|
<EARNEST>
|
|
Burt
|
|
</EARNEST>
|
|
<DIRECTIONS>
|
|
North, south, east, west
|
|
</DIRECTIONS>
|
|
</FINANCIAL>
|
|
|
|
<REMARKS>
|
|
</REMARKS>
|
|
|
|
<CONTACTS>
|
|
<COMPANY>
|
|
<NAME>
|
|
Noplace Realty
|
|
</NAME>
|
|
<ADDRESS>
|
|
12 Main Street
|
|
</ADDRESS>
|
|
<CITY>
|
|
Lowell, MA
|
|
</CITY>
|
|
<ZIP>
|
|
34567
|
|
</ZIP>
|
|
</COMPANY>
|
|
<AGENT>
|
|
<NAME>
|
|
Mary Jones
|
|
</NAME>
|
|
<ADDRESS>
|
|
</ADDRESS>
|
|
<CITY>
|
|
</CITY>
|
|
<ZIP>
|
|
</ZIP>
|
|
</AGENT>
|
|
<OWNER>
|
|
<NAME>
|
|
</NAME>
|
|
<ADDRESS>
|
|
</ADDRESS>
|
|
<CITY>
|
|
</CITY>
|
|
<ZIP>
|
|
</ZIP>
|
|
</OWNER>
|
|
<TENANT>
|
|
Yes.
|
|
</TENANT>
|
|
<COMMISION>
|
|
15%
|
|
</COMMISION>
|
|
</CONTACTS>
|
|
|
|
</RESIDENTIAL-LISTING>
|
|
<RESIDENTIAL-LISTING VERSION="061698" ID="ID1291">
|
|
<GENERAL>
|
|
|
|
<IMAGE FORMAT="JPG" WIDTH="300" HEIGHT="150" SRC="house4.jpg">
|
|
</IMAGE>
|
|
|
|
<MLS>
|
|
<MLS-CODE SECURITY="Restricted">
|
|
29389877
|
|
</MLS-CODE>
|
|
<MLS-SOURCE SECURITY="Public">
|
|
<NAME>
|
|
Mary the Realtor
|
|
</NAME>
|
|
<PHONE>
|
|
1-617-555-3333
|
|
</PHONE>
|
|
<FAX>
|
|
1-617-555-4444
|
|
</FAX>
|
|
<WEB>
|
|
<EMAIL>
|
|
Mary@somebucks.com
|
|
</EMAIL>
|
|
<SITE>
|
|
www.bigbucks.com
|
|
</SITE>
|
|
</WEB>
|
|
</MLS-SOURCE>
|
|
</MLS>
|
|
|
|
<TYPE>
|
|
Home
|
|
</TYPE>
|
|
|
|
<PRICE>
|
|
$449,000
|
|
</PRICE>
|
|
|
|
<AGE UNITS="YEARS">
|
|
7
|
|
</AGE>
|
|
|
|
<LOCATION COUNTRY="USA" STATE="MA" COUNTY="MIDDLESEX" SECURITY="Public">
|
|
<ADDRESS>
|
|
100 Any Road
|
|
</ADDRESS>
|
|
<CITY>
|
|
Lexington
|
|
</CITY>
|
|
<ZIP>
|
|
02421
|
|
</ZIP>
|
|
</LOCATION>
|
|
|
|
<STRUCTURE>
|
|
<NUM-BEDS>
|
|
7
|
|
</NUM-BEDS>
|
|
<NUM-BATHS>
|
|
3
|
|
</NUM-BATHS>
|
|
</STRUCTURE>
|
|
|
|
<DATES>
|
|
<LISTING-DATE>
|
|
6/8/98
|
|
</LISTING-DATE>
|
|
</DATES>
|
|
|
|
<LAND-AREA UNITS="ACRES">
|
|
2.0
|
|
</LAND-AREA>
|
|
|
|
</GENERAL>
|
|
|
|
<FEATURES>
|
|
<DISCLOSURES>
|
|
In your dreams.
|
|
</DISCLOSURES>
|
|
<UTILITIES>
|
|
Yes
|
|
</UTILITIES>
|
|
<EXTRAS>
|
|
Pest control included.
|
|
</EXTRAS>
|
|
<CONSTRUCTION>
|
|
Wallboard and glue
|
|
</CONSTRUCTION>
|
|
<ACCESS>
|
|
Front door.
|
|
</ACCESS>
|
|
</FEATURES>
|
|
|
|
<FINANCIAL>
|
|
<ASSUMABLE>
|
|
I assume so.
|
|
</ASSUMABLE>
|
|
<OWNER-CARRY>
|
|
Too heavy.
|
|
</OWNER-CARRY>
|
|
<ASSESMENTS>
|
|
$300,000
|
|
</ASSESMENTS>
|
|
<DUES>
|
|
$100
|
|
</DUES>
|
|
<TAXES>
|
|
$2,000
|
|
</TAXES>
|
|
<LENDER>
|
|
Fly by nite mortgage co.
|
|
</LENDER>
|
|
<EARNEST>
|
|
Burt
|
|
</EARNEST>
|
|
<DIRECTIONS>
|
|
North, south, east, west
|
|
</DIRECTIONS>
|
|
</FINANCIAL>
|
|
|
|
<REMARKS>
|
|
</REMARKS>
|
|
|
|
<CONTACTS>
|
|
<COMPANY>
|
|
<NAME>
|
|
Noplace Realty
|
|
</NAME>
|
|
<ADDRESS>
|
|
12 Main Street
|
|
</ADDRESS>
|
|
<CITY>
|
|
Lowell, MA
|
|
</CITY>
|
|
<ZIP>
|
|
34567
|
|
</ZIP>
|
|
</COMPANY>
|
|
<AGENT>
|
|
<NAME>
|
|
Mary Jones
|
|
</NAME>
|
|
<ADDRESS>
|
|
</ADDRESS>
|
|
<CITY>
|
|
</CITY>
|
|
<ZIP>
|
|
</ZIP>
|
|
</AGENT>
|
|
<OWNER>
|
|
<NAME>
|
|
</NAME>
|
|
<ADDRESS>
|
|
</ADDRESS>
|
|
<CITY>
|
|
</CITY>
|
|
<ZIP>
|
|
</ZIP>
|
|
</OWNER>
|
|
<TENANT>
|
|
Yes.
|
|
</TENANT>
|
|
<COMMISION>
|
|
15%
|
|
</COMMISION>
|
|
</CONTACTS>
|
|
|
|
</RESIDENTIAL-LISTING>
|
|
|
|
</RESIDENTIAL-LISTINGS></pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html> |