Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
XML
Create empty subtree from schema?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Steve Marshall, post: 2949246"] Hi All, I am working on a project which is based on XML data, with an XML Schema also behind it in order to validate the data. In working with the data I add and remove XML nodes all over the place, of course. I've come across several situations where it would be really nice to create a whole little subtree of empty XML elements without having to build it up node by node. Surely there is a way to do this? It occurred to me that I should be able to get the schema object to generate such a thing if I give it an element name, since the schema knows how the element and its descendants are all structured. But thus far I haven't found a method that suggests this is possible. Any tips? I'm using .NET 2.0 with Visual Studio 2005. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
XML
Create empty subtree from schema?
Top