Re: Data/XML Problem

From: kejeiri (kejeiri_at_yahoo.fr)
Date: 11/25/04


Date: 25 Nov 2004 04:48:37 -0800

Hi,
...The xml instance that I receive, represent the whole schema xsd,
but I must read just some field in this.... So when I build the
dataset according a partial xsd schema, this couldn't be adapted to
whole schema and may be, occur some errors when I read the xml
instance... My xsd schema use some time the same complexType at
different level and this as u know is translated as DataTable object
when the schema is mapped. The problem that Visual Studio .NET Xml
Designer during the mapping operation, misinterpret this type and
consider the DataTable resulting from the schema as a child of several
DataTables...
Further, I wish to ask u whether visual studio can interpret the
include keyword ?...

Many thanks,

-----------------------------------------------------------
"Val Mazur" <group51a@hotmail.com> wrote in message news:<OJYoO$n0EHA.2316@TK2MSFTNGP15.phx.gbl>...
> 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: XML Literals in VB9 - Whats wring with this?
    ... As for generating xsd scheme, .net framework does provide a tool "xsd.exe", ... it can help you generate xsd from a given sample XML document or generate ... However, since it's code logic is quite simple, the generated schema or ...
    (microsoft.public.dotnet.languages.vb)
  • Re: SQLXMLBulkLoad of text child nodes vs. attributes?
    ... You could use the XSDInference tool to get a XSD schema from xml. ... annotations to make it a proper sqlxml schema. ...
    (microsoft.public.sqlserver.xml)
  • Re: how to return xml document from a web service
    ... what specific XML you expect. ... If you have a schema that defines what you expect, ... The second issue with this approach is that XML is not a string. ... >> methods from the wire transport. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • my first Tck/Tk program... and an XML question
    ... program which takes an XML Schema file, ... a basic XML tree and allows the user to save it. ... proc open_schema { ...
    (comp.lang.tcl)
  • RE: 2.0 dataset issues - again
    ... As for the first question on XML error, ... met is due to the XSD validation of the XML Editor... ... schemas and VS IDE's install directory will contains a copy of these schema ...
    (microsoft.public.dotnet.framework.aspnet)