f_atencia 0 Junior Poster in Training

<?xml version="1.0" encoding="ISO-8859-1"?>
<catalog>
<cd country="USA">
<title>Empire Burlesque</title>
<artist>Bob Dylan</artist>
<price>10.90</price>
</cd>
<cd country="UK">
<title>Hide your heart</title>
<artist>Bonnie Tyler</artist>
<price>9.90</price>
</cd>
<cd country="USA">
<title>Greatest Hits</title>
<artist>Dolly Parton</artist>
<price>12.90</price>
</cd>
</catalog>

Hi,

I'm sure it's very simple, but I'm new at ASP and XML. I just want to know how I can display the text of the last child in the code above onto an ASP web page. So in that case, it should display 12.90.

Thanks to all that can help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.