XML String


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: XML String

  1. #1
    Join Date
    May 2005
    Posts
    1

    XML String

    Hello:

    I am having this problem in my XML Schema. I would like to parse the XML string that I retrive from one of the colum in database via ResultSet. However, the output isn't XML. It is a string.

    Can anyone help me to solve this problem? I belive the datatype in the database in a string. How can I display the retrieved XML String to the "XML" for my XML Schema.

    - <s:AttributeType name="Text" rs:number="5" rs:nullable="true" rs:maydefer="true" rs:write="true">
    <s:datatype dt:type="string" rs:dbtype="str" dt:maxLength="650" rs:long="true" />
    </s:AttributeType>
    <z:Text="<Row><ABC>100797316</ABC><DEF>8255</DEF></Row>" />


    Thanks for your help ...

  2. #2
    Join Date
    Aug 2004
    Location
    Europe , Netherlands , Rotterdam
    Posts
    69
    well you could do 2 things

    1 parse the string yourself

    2 load it in a XMLDOM and use a nodereader to retrive the values

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center