DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Join Date
    Sep 2004
    Posts
    37

    XML as STRING question

    Okay, one quick question for XML/VB.net pros out there. I am reading the attached XML file into my VB.net application. From it I am pulling out the CDATA and assigning it to a string variable. Thus,

    Code:
    header = "<?xml version="1.0" encoding="UTF-8"?>
    		
    		<!-- $VT_DESC -->
    		
    		<Pairs	Version="0.1" Language="EN" Desc="$VT_DESC">"
    What I need to do to continue reading my XML is to read that string. How can I do that? I want to read it just like I read the XML file.

    Ultimately I want to find out where (under what element and/or attribute) "$VT_DESC" is found. Once I know that I want to go on to systematically read another XML file in which that value is something else and pull that value out of the second XML.
    Attached Files

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links