Welcome to WebmasterWorld Guest from

Forum Moderators: httpwebwitch

Message Too Old, No Replies

creating xml docu with proper formatting in vb6



9:27 am on Apr 6, 2011 (gmt 0)

creating a xml dcoument from database thr' code in vb6.0 & validating it against xsd using msxml4.0
everything working fine
the xml file is formed from the code / the data i get during runitme
when i validate it it gives me the validation results but it seems that the entire xml doument is in one line though the xml document tags appears in diferent lines
as when i validate it for multiple error it gives me everytime line 1 but change in column no

i made the same file wth same data manually & validated it
in that i get the proper line no & column no
suppose the error is in line 10 i get line no 10 column no 5

but the file that is generated dynamically gives me error but taking the whole document as line 1
how do i redcity it so that i get the proper line no


5:57 pm on May 11, 2011 (gmt 0)

WebmasterWorld Administrator httpwebwitch is a WebmasterWorld Top Contributor of All Time 10+ Year Member

add line breaks to the XML.

Featured Threads

Hot Threads This Week

Hot Threads This Month