在vb6中使用正确的格式创建xml文档 [英] creating xml docu with proper formatting in vb6

查看:198
本文介绍了在vb6中使用正确的格式创建xml文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




从vb6中的数据库thr'代码创建xml dcoument。 0&使用msxml4.0对xsd进行验证

一切正常工作

xml文件由我在运行期间得到的代码/数据组成

当我验证它它给我验证结果但似乎整个xml doument在一行虽然xml文档标签出现在不同的行

,因为当我验证它的多个错误它给了我每次第1行但更改列号没有


i使用相同的数据手动生成相同的文件&验证了它是
,因为我得到了正确的行号&列号为
假设错误在第10行我得到第10行第5列没有5 b $ b $
但是动态生成的文件给了我错误,但把整个文件作为第1行

我如何重新划分它以便我得到正确的行没有
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

推荐答案

正如此论坛的标题信息所述:

As the header information for this forum states:

"关于VB语言,编译器,VB框架/运行时的问题和讨论–包括泛型,语言关键字,My namespace等。 ( 不适用于VB6 )"

"Questions and discussions regarding the VB language, compiler, VB framework/runtime – including things like generics, language keywords, My namespace. (Not for VB6)"

请阅读这篇文章的地方发布您的VB 6问题:

Please read this article for places to post your VB 6 question:

http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/aa350a38-3bb9-4919-9cc1-afaf7fed52f5

 


这篇关于在vb6中使用正确的格式创建xml文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆