Jump to content

Showing Xml Data In An Html Format....


John Gray

Recommended Posts

Hello everyone, new memeber first post.....I'm an architect in Rochester NY, and have a small project i'm working on that i'd like to do something interesting in. The program that we use write all sorts of project data to an XML file called (project_name.apj) i will atach one. I would like to be able to pull data from there and show it on an html page. I saw a tuturial you had on this wist on just doing that http://www.w3schools.com/xml/xml_to_html.asp. I tried multiple time and was unable to get it to work with my xml file. Can someone please give me a hand with this as i have very little experience in html and xml.....Thanks everyone......ok i don't see where i can atach a file so i'm going to copy the xml file below, it's kinda large so i'm sorry if i missed the atatchment button somewhere......

<?xml version="1.0" encoding="UTF-8"?><Project Name="Renovations for Dr. Coniglio Office-Suite 3 & 4" Number="08-035" ProjectLocation="F:\Projects\2008\08035\Cadd\1\" Id="{A746DD75-E232-42D2-B564-26631279C520}" UseNumberPrefix="No" UseRelativePath="Yes" SyncSheetWithView="No">	<Version>57</Version>	<Description></Description>	<Templates>		<ViewTemplate Alternative="F:\Common\ACA 2009 Support\Templates\DeWolff Building (ctb).dwt">F:\Common\ACA 2009 Support\Templates\DeWolff Building (ctb).dwt</ViewTemplate>		<SystemTemplate Alternative="F:\Common\ACA 2009 Support\Templates\DeWolff Building (ctb).dwt">F:\Common\ACA 2009 Support\Templates\DeWolff Building (ctb).dwt</SystemTemplate>		<ElementTemplate Alternative="F:\Common\ACA 2009 Support\Templates\DeWolff Building (ctb).dwt">F:\Common\ACA 2009 Support\Templates\DeWolff Building (ctb).dwt</ElementTemplate>		<DocumentTemplate Alternative="$(TemplatePath)Aec Sheet (Imperial Stb).dwt">C:\Documents and Settings\All Users\Application Data\Autodesk\ACD-A 2009\enu\Template\Aec Sheet (Imperial Stb).dwt</DocumentTemplate>		<SectionElevationViewTemplate Alternative="F:\Common\ACA 2009 Support\Templates\DeWolff Building (ctb).dwt">F:\Common\ACA 2009 Support\Templates\DeWolff Building (ctb).dwt</SectionElevationViewTemplate>		<DetailViewTemplate Alternative="F:\Common\ACA 2009 Support\Templates\DeWolff Building (ctb).dwt">F:\Common\ACA 2009 Support\Templates\DeWolff Building (ctb).dwt</DetailViewTemplate>		<ProjectSheetSetTemplate Alternative="$(TemplatePath)Aec Sheet Set (Imperial Stb).dst">C:\Documents and Settings\All Users\Application Data\Autodesk\ACD-A 2009\enu\Template\Aec Sheet Set (Imperial Stb).dst</ProjectSheetSetTemplate>		<ProjectDetailsTemplate Alternative="$(TemplatePath)Aec Project Details.apj">C:\Documents and Settings\All Users\Application Data\Autodesk\ACD-A 2009\enu\Template\Aec Project Details.apj</ProjectDetailsTemplate>	</Templates>	<FileLocations>		<ProjectImagePath>Commercial.bmp</ProjectImagePath>		<ProjectBulletinBoardPath>Commercial Template Project Bulletin Board.htm</ProjectBulletinBoardPath>		<PropertySetLocation></PropertySetLocation>		<PalettesLocation></PalettesLocation>		<ContentCatalog SharedWorkspaceCatalog="None" ContentRootPath="Standards\Content\">			<ContentBrowserLibraryPath>Standards\ToolCatalogs\Project Catalog Library.cbl</ContentBrowserLibraryPath>		</ContentCatalog>		<ConstructLocation>Constructs\</ConstructLocation>		<ElementLocation>Elements\</ElementLocation>		<ViewLocation>Views\</ViewLocation>		<SheetLocation>Sheets\</SheetLocation>	</FileLocations>	<Standards>		<StandardsEnabled>Yes</StandardsEnabled>		<SyncOption>			<StandardsSyncMethod>Manual</StandardsSyncMethod>			<CreateLogFileOnSync>No</CreateLogFileOnSync>			<ShowIgnoredObjectsOnSync>Yes</ShowIgnoredObjectsOnSync>		</SyncOption>		<AECStandards>			<File>				<Path>Standards\Content\Project Styles.dwg</Path>				<Objects>				</Objects>			</File>			<File>				<Path>C:\Documents and Settings\All Users\Application Data\Autodesk\ACD-A 2009\enu\Layers\AecLayerStd.dwg</Path>				<Objects>					<Object>AecDbLayerKeyStyle</Object>				</Objects>			</File>			<DisplaySettingsDrawing>Standards\Content\Project Styles.dwg</DisplaySettingsDrawing>		</AECStandards>		<ACADStandards/>	</Standards>	<DetailComponentDatabases UseOnlyProjectDatabases="No"/>	<KeynoteDatabases UseOnlyProjectDatabases="No"/>	<Level Name="1" Description="2nd Floor" Elevation="0" Height="144" Id="5" ScheduleId="1"/>	<Division Name="A" Description="Main Building" Id="1" ScheduleId="A"/>	<Details Name="Project Data">		<Entry Name="Project Address" Value="Senator Keatin Boulevard"/>		<Entry Name="Project City" Value="Brighton"/>		<Entry Name="Project State" Value="NY"/>		<Entry Name="Project Zip Code" Value="14618"/>		<Entry Name="Project Start Date" Value="MMM DD YYYY"/>		<Entry Name="Project Completion Date" Value="01/23/09"/>		<Entry Name="Project Telephone" Value="999-999-9999"/>		<Entry Name="Project Principal in Charge" Value=""/>		<Entry Name="Project Manager" Value=""/>		<Entry Name="Project Architect" Value="Architect's Name"/>	</Details>	<Details Name="Proposed Improvements">		<Entry Name="Cost" Value=""/>		<Entry Name="Construction Type" Value=""/>		<Entry Name="Occupancy" Value=""/>		<Entry Name="Gross Building Area" Value=""/>		<Entry Name="Sprinklered" Value=""/>		<Entry Name="Building Height" Value=""/>		<Entry Name="Stories" Value=""/>		<Entry Name="Set Back N" Value=""/>		<Entry Name="Set Back E" Value=""/>		<Entry Name="Set Back S" Value=""/>		<Entry Name="Set Back W" Value=""/>		<Entry Name="Coverage" Value=""/>		<Entry Name="Zoning" Value=""/>		<Entry Name="Fire Zone" Value=""/>		<Entry Name="Other Agency Standards or Approvals Required" Value=""/>	</Details>	<Details Name="Site Legal Description">		<Entry Name="Deed Recorded in Volume Page at" Value=""/>		<Entry Name="Deeded To" Value=""/>		<Entry Name="Deed Date" Value=""/>		<Entry Name="Restrictions" Value=""/>		<Entry Name="Easements" Value=""/>		<Entry Name="Liens, Leases" Value=""/>		<Entry Name="Lot Dimensions" Value=""/>		<Entry Name="Facing" Value=""/>		<Entry Name="Value" Value=""/>		<Entry Name="Adjacent Property Use" Value=""/>	</Details>	<Details Name="Owner’s Data">		<Entry Name="Owner" Value="Westfall Surgery Center"/>		<Entry Name="Owner Address" Value="1065 Senator Keating Blvd."/>		<Entry Name="Owner City" Value="Brighton"/>		<Entry Name="Owner State" Value="NY"/>		<Entry Name="Owner Zip Code" Value="14618"/>		<Entry Name="Owner Telephone" Value="888-888-8888"/>		<Entry Name="Owner Fax" Value=""/>		<Entry Name="Owner Mobile" Value=""/>		<Entry Name="Owner Pager" Value=""/>		<Entry Name="Owner e-mail Address" Value=""/>		<Entry Name="Owner Home Address" Value=""/>		<Entry Name="Owner Home Telephone" Value=""/>		<Entry Name="Owner’s Project Number" Value=""/>		<Entry Name="Owner’s Representative" Value=""/>		<Entry Name="Owner’s Representative Address" Value=""/>		<Entry Name="Owner’s Representative City" Value=""/>		<Entry Name="Owner’s Representative State" Value=""/>		<Entry Name="Owner’s Representative Zip Code" Value=""/>		<Entry Name="Owner’s Representative Telephone" Value=""/>		<Entry Name="Owner’s Representative Fax" Value=""/>		<Entry Name="Owner’s Representative Mobile" Value=""/>		<Entry Name="Owner’s Representative Pager" Value=""/>		<Entry Name="Owner’s Representative e-mail Address" Value=""/>		<Entry Name="Attorney at Law" Value=""/>		<Entry Name="Attorney Name" Value=""/>		<Entry Name="Attorney Address" Value=""/>		<Entry Name="Attorney City" Value=""/>		<Entry Name="Attorney State" Value=""/>		<Entry Name="Attorney Zip Code" Value=""/>		<Entry Name="Attorney Telephone" Value=""/>		<Entry Name="Attorney Fax" Value=""/>		<Entry Name="Attorney Mobile" Value=""/>		<Entry Name="Attorney Pager" Value=""/>		<Entry Name="Attorney e-mail Address" Value=""/>		<Entry Name="Insurance Advisor" Value=""/>		<Entry Name="Insurance Advisor Address" Value=""/>		<Entry Name="Insurance Advisor Telephone" Value=""/>		<Entry Name="Insurance Advisor Fax" Value=""/>		<Entry Name="Insurance Advisor Mobile" Value=""/>		<Entry Name="Insurance Advisor Pager" Value=""/>		<Entry Name="Insurance Advisor e-mail Address" Value=""/>	</Details>	<Details Name="Site Information Sources">		<Entry Name="Site Info Fax" Value=""/>		<Entry Name="Site Info Mobile" Value=""/>		<Entry Name="Site Info Pager" Value=""/>		<Entry Name="Site Info e-mail Address" Value=""/>		<Entry Name="Property Survey by" Value=""/>		<Entry Name="Property Survey Date" Value=""/>		<Entry Name="Topographic Survey by" Value=""/>		<Entry Name="Topographic Survey Date" Value=""/>		<Entry Name="Soils Tests by" Value=""/>		<Entry Name="Soils Tests Date" Value=""/>		<Entry Name="Maps" Value=""/>	</Details>	<Details Name="Public Services">		<Entry Name="Gas Company" Value=""/>		<Entry Name="Gas Company Address" Value=""/>		<Entry Name="Gas Complany City" Value=""/>		<Entry Name="Gas Company State" Value=""/>		<Entry Name="Gas Company Zip Code" Value=""/>		<Entry Name="Gas Company Representative" Value=""/>		<Entry Name="Gas Company Telephone" Value=""/>		<Entry Name="Gas Company Fax" Value=""/>		<Entry Name="Gas Company Mobile" Value=""/>		<Entry Name="Gas Company Pager" Value=""/>		<Entry Name="Gas Company e-mail Address" Value=""/>		<Entry Name="Electric Company" Value=""/>		<Entry Name="Electric Company Address" Value=""/>		<Entry Name="Electric Company City" Value=""/>		<Entry Name="Electric Company State" Value=""/>		<Entry Name="Electric Company Zip Code" Value=""/>		<Entry Name="Electric Company Representative" Value=""/>		<Entry Name="Electric Company Telephone" Value=""/>		<Entry Name="Electric Company Fax" Value=""/>		<Entry Name="Electric Company Mobile" Value=""/>		<Entry Name="Electric Company Pager" Value=""/>		<Entry Name="Electric Company e-mail Address" Value=""/>		<Entry Name="Telephone Company" Value=""/>		<Entry Name="Telephone Company Address" Value=""/>		<Entry Name="Telephone Company City" Value=""/>		<Entry Name="Telephone Company State" Value=""/>		<Entry Name="Telephone Company Zip Code" Value=""/>		<Entry Name="Telephone Company Representative" Value=""/>		<Entry Name="Telephone Company Telephone" Value=""/>		<Entry Name="Telephone Company Fax" Value=""/>		<Entry Name="Telephone Company Mobile" Value=""/>		<Entry Name="Telephone Company Pager" Value=""/>		<Entry Name="Telephone Company e-mail Address" Value=""/>		<Entry Name="Sewers" Value=""/>		<Entry Name="Sewers Address" Value=""/>		<Entry Name="Sewers City" Value=""/>		<Entry Name="Sewers State" Value=""/>		<Entry Name="Sewers Zip Code" Value=""/>		<Entry Name="Sewers Representative" Value=""/>		<Entry Name="Sewers Telephone" Value=""/>		<Entry Name="Sewers Fax" Value=""/>		<Entry Name="Sewers Mobile" Value=""/>		<Entry Name="Sewers Pager" Value=""/>		<Entry Name="Sewers e-mail Address" Value=""/>		<Entry Name="Water" Value=""/>		<Entry Name="Water Address" Value=""/>		<Entry Name="Water City" Value=""/>		<Entry Name="Water State" Value=""/>		<Entry Name="Water Zip Code" Value=""/>		<Entry Name="Water Representative" Value=""/>		<Entry Name="Water Telephone" Value=""/>		<Entry Name="Water Fax" Value=""/>		<Entry Name="Water Mobile" Value=""/>		<Entry Name="Water Pager" Value=""/>		<Entry Name="Water e-mail Address" Value=""/>	</Details>	<Details Name="Financial Data">		<Entry Name="Loan Amount" Value=""/>		<Entry Name="Loan Type" Value=""/>		<Entry Name="Loan Rate" Value=""/>		<Entry Name="Loan by" Value=""/>		<Entry Name="Loan Representative" Value=""/>		<Entry Name="Loan Telephone" Value=""/>		<Entry Name="Bonds or Liens" Value=""/>		<Entry Name="Grant Amount" Value=""/>		<Entry Name="Limitations" Value=""/>		<Entry Name="Grant From" Value=""/>		<Entry Name="Grant Representative" Value=""/>		<Entry Name="Grant Telephone" Value=""/>	</Details>	<Details Name="Method of Handling">		<Entry Name="Single or Separate Contracts" Value=""/>		<Entry Name="Negotiated Bid Stipulated Sum Cost Plus Fee Force Amount" Value=""/>		<Entry Name="Equipment Fixed Movable Interiors" Value=""/>		<Entry Name="Landscaping" Value=""/>	</Details></Project>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...