Re: Data/XML Problem

From: Val Mazur (group51a_at_hotmail.com)
Date: 11/24/04


Date: Wed, 24 Nov 2004 18:46:25 -0500

Hi,

As I know you cannot load just part of XSD into DataSet. What you could do
is to load it into XML parser, transform it to the level you need and then
load into DataSet.

-- 
Val Mazur
Microsoft MVP
"kejeiri" <kejeiri@yahoo.fr> wrote in message 
news:f07151af.0411240710.4c31561d@posting.google.com...
> Hello,
> I would like to load the contents of a XML  file  in DataSet...
> Unfortunately the Xml schema (toto.xsd) isn't respecting the
> relational model. My question is : if once creates a dataset starting
> from a partial schema respecting the relational model
> (for example titi.xsd) resulting from the first schema "toto.xsd" by
> removing for example  the
> redundant elements and the cycles, can we then work with a "toto.xsd"
> instance?
>
> Note : I want just to read some information of the "toto.xsd" instance
> and not to read the instance as a whole!
>
> Many Thanks. 


Relevant Pages

  • Re: Very slow to serialize Xml file
    ... If you using schema, inference is not involved. ... Are you getting an exception on attempt to load data or loading ... Could you load "correct" XML all the time or just from time to time? ...
    (microsoft.public.dotnet.framework.compactframework)
  • XML DataSet with Schema
    ... I have an XSD and an XML that I load as follows: ... second element if I load the Schema, and ALL of the elements if I don't load ...
    (microsoft.public.dotnet.framework.compactframework)
  • RE: Unload XmlDataDocument
    ... I would recommend you use the ReadXml() function ... This will load the new xml file, with its schema as well. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: problem with XML DOM load command
    ... with invalid XML and I'm getting suspicious that something in a QFE ... has busted MSXML and its exception processing. ... © 2003 Microsoft Corporation. ... >> So this exception is on your main thread where you're doing the load. ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Saving program state in executable
    ... UML or OWL data using XML's DOM model, it takes quite a while to load ... The overhead is mostly the textprocessing and parsing of the XML models. ... 'const' record, or set of records, at compile time, and that might be ... knows it is one block of memory (assuming it doesn't contain e.g. ...
    (comp.lang.pascal.misc)