Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XSL, XML and ASP Question

Status
Not open for further replies.

Airpan

Technical User
Jun 14, 2005
172
US
I have built a web site that queries an Access database for our current inventory. I built ASP pages that use SQL to query the database for images and text. I need to be able to then pull a specific record and have it displayed in a seperate page. I have been creating my XML document and an XSL document, but I am having a REALLY hard time understanding how to tie all of this together. Can anyone give some tips?
Here basically what my XML doc looks like:
<?xml version="1.0" encoding="UTF-8"?>
<trucks>
<inventory>
<Stk>2619</Stk>
<YR>1989</YR>
<Make>FORD</Make>
<Model>8000</Model>
<Body>UTILITY</Body>
<Color>WHITE</Color>
<GVW>36100</GVW>
<Engine>3208CAT</Engine>
<HP>215</HP>
<Trans>manual</Trans>
<Brks>AIR</Brks>
<Miles>15144</Miles>
<Options>A/C, P/S, P/B, RADIO/CASS</Options>
<PRICE>10900</PRICE>
<Picture><Type>CRANE</Type>
</Inventory>

My XSL sheet is a bit to be desired b/c I don't know how to pull the above information and a picture. To give a better idea of what I need to do is here:
If you click on the picture of the truck it opens a spec sheet. This is what I need to be able to do. Just not sure how to write the code. Thanks for any help.
 
What does your XML look like for more than one truck? What technologies are you using (just HTML or server-side)?

Jon

"Asteroids do not concern me, Admiral. I want that ship, not excuses.
 
Jon,
Thanks for the response, but I figured out that I don't really need the XML. I was trying to reinvent the wheel... I only needed a QueryString and an asp page to display the data. Thanks for trying to help, was beginning to think no one would reply.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top