-
Adding Nodes
*Please* help me, I am going nuts!!
I can traverse an XML document and get the values no bother but I also require
to produce an XML document. I can also do this no bother but I require it
to be structured (which I cannot do) like:
<parent>
<complexType>
<forename>Joe</forename>
<middle/>
<surname>Bloggs</surname>
</complexType>
<parent>
I can only get everything on the same level as the parent tag. Any help/pointers
very very much appreciated - I am using the following:
VB 6.0 Service Pack 4
Microsoft Parser Novermber 2000 Release (msxml3.dll)
Regards
Colin
-
Re: Adding Nodes
What do you mean it isn't "structured?" Are the tags in the wrong positions,
or do you just mean that the output isn't indented properly? Show an example
of your output and you'll probably get a meaninful reply.
Russell Jones
Sr. Web Development Editor
DevX.com
"Colin " <cgourlay@channel-one.co.uk> wrote in message
news:3a6484b4$1@news.devx.com...
>
> *Please* help me, I am going nuts!!
>
> I can traverse an XML document and get the values no bother but I also
require
> to produce an XML document. I can also do this no bother but I require it
> to be structured (which I cannot do) like:
>
> <parent>
> <complexType>
> <forename>Joe</forename>
> <middle/>
> <surname>Bloggs</surname>
> </complexType>
> <parent>
>
> I can only get everything on the same level as the parent tag. Any
help/pointers
> very very much appreciated - I am using the following:
>
> VB 6.0 Service Pack 4
> Microsoft Parser Novermber 2000 Release (msxml3.dll)
>
> Regards
>
> Colin
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
|
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
|
Bookmarks