April 26th, 2011, 08:49 AM
#1
Reading XML
i have dis xml....i am getting d output for all d ID's but i want to get d output for a particular ID only....eg ID 1....so cn any 1 tel me d proper syntax for getting a particular ID....plzz help..thnks
<?xml-stylesheet type="text/xsl" href="samp2.xsl"?>
<CATALOG>
<CD>
<ID>1
<TITLE>Empire Burlesque</TITLE>
<ARTIST>Bob Dylan</ARTIST>
<COUNTRY>USA</COUNTRY>
<COMPANY>Columbia</COMPANY>
<PRICE>10.90</PRICE>
<YEAR>1985</YEAR>
</ID>
</CD>
<CD>
<ID>2</ID>
<TITLE>Return of the Judai</TITLE>
<ARTIST>Judas Priest</ARTIST>
<COUNTRY>USA</COUNTRY>
<COMPANY>Columbia</COMPANY>
<PRICE>20.90</PRICE>
<YEAR>1995</YEAR>
</CD>
<CD>
<ID>3</ID>
<TITLE>Dangerous</TITLE>
<ARTIST>Michael Jackson</ARTIST>
<COUNTRY>USA</COUNTRY>
<COMPANY>Sony</COMPANY>
<PRICE>30.00</PRICE>
<YEAR>1992</YEAR>
</CD>
</CATALOG>
April 26th, 2011, 09:52 AM
#2
Re: VB.NET: Get the Attribute and Text out from Xml string
Oh, I wish people wouldn't type in SMS language!! I do not understand that!!
April 26th, 2011, 10:28 AM
#3
Re: Reading XML
TEXT SPEEK is for sending quick text messages to friends..
Your sitting in front of a PC with a FULL keyboard, and dont get charged per letter typed...
Please USE it properly...
Articles VB6 : Break the 2G limit - Animation 1 , 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips : VB6 Hex Edit , IP Chat , Copy Prot. , Crop, Zoom : .NET IP Chat (V4) , Adv. ContextMenus , click Hotspot , Scroll Controls
Find me in ASP.NET. , VB6. , VB.NET , Writing Articles , My Genealogy , Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width
Bookmarks