Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
| Search | Today's Posts | Mark Forums Read
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 4th, 2006, 01:54 PM
Registered User
 
Join Date: Sep 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default MSXML and Schema: Using for XML-Node creation

Hello,

is it possible to use MSXML and a Schema with high-level methods (or
any other way) for creating valid XML-Nodes interactively. That means
I don't want to validate an entire XML-document, but want to get all
necessary informations for valid XML-Nodes like structure (that means
taking into consideration the parent node/context of the new node),
attributes, allowed values (and so the entire XML-document) from the
Schema.

Thanks and kind regards for any hint
foxforest
 
Old September 5th, 2006, 02:19 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

You can use the schema object model as documented in the sdk for reading schemas. You can also check individual nodes as opposed to whole documents using the validateNode method is you are using MSXML 5 or later.

--

Joe (Microsoft MVP - XML)




Similar Threads
Thread Thread Starter Forum Replies Last Post
how to append child node after an node in XML + C# vishnu108mishra XML 5 November 13th, 2007 05:30 AM
XML Schema creation and mySQL grahamk BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 0 May 6th, 2006 01:11 PM
XML Parsing Problem when using MSXML magicwanda XML 1 December 9th, 2004 01:56 PM
XML Application Development with MSXML 4.0 petercor Forum and Wrox.com Feedback 6 October 18th, 2004 08:12 PM
First contact with XML/Schema and MSXML lpinho XML 0 November 27th, 2003 09:46 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.