Questions tagged [linq-to-xsd]

The LINQ to XSD technology provides .NET developers with support for typed XML programming.

The LINQ to XSD technology provides .NET developers with support for typed XML programming.

http://linqtoxsd.codeplex.com/

28 questions
1
vote
1 answer

Element is not an instance of type

I am using Linq To XSD to send data over MSMQ. Here is my sending code public void Send() { string criMessageQueuePath = ConfigurationManager.AppSettings["CRIMessageQueuePath"]; if…
Sachin Kainth
  • 45,256
  • 81
  • 201
  • 304
1
vote
0 answers

XML Validate Using Linq-to-XSD

I have generated class code using linq-to-xsd using multiple XSD schemas. I want to validate an XML using that class that is already created and not using every time the xsd files. Thanks.
marios
  • 65
  • 1
  • 2
  • 6
1
vote
0 answers

Linq2XSD - Looking for articles, tutorials and experiences of

Only just found out about this. Does anyone have any links to some good sites talking about this? Its features, bugs, limitations. (obviously I have searched, so am looking for info that wont be on page 1 of Google :D )
John Nicholas
  • 4,778
  • 4
  • 31
  • 50
1
vote
4 answers

How to save and get values from an Xml without cast?

Something which I really hate is to cast each element or attribute value from a Xml file. This momment, I'm creating in hundreds of modules a methods where specifies how to convert an object into a XmlFile. Believe, this is very tired. So I'm…
Darf Zon
  • 6,268
  • 20
  • 90
  • 149
0
votes
2 answers

Query xml with linq

I am trying to query some informations from xml with linq but I am getting error like this - Yes I have defined - using System.Linq Could you tell me, where is a problem? Thanks Error 1 Could not find an implementation of the query pattern …
Martin Ch
  • 1,337
  • 4
  • 21
  • 42
0
votes
1 answer

C# : Get Specific Element Before another Element with Linq

Consider the following snippet from an XSD:
Rico Strydom
  • 537
  • 1
  • 6
  • 26
0
votes
0 answers

What can replace Linq2Xsd?

We've been using Linq2Xsd for a decade. For enforcing centralised control internal data structures and external interfaces we found it invaluable. Our team size is about 10 developers in 3 sub-teams. We really like the way you can branch the code,…
RoboJ1M
  • 1,590
  • 2
  • 27
  • 34
0
votes
1 answer

How to get data from XML files into business objects?

I need to build a view in my MVC 2 application that allows a user to upload an XML file. The XML files will conform to an XSD. I need to parse the XML and extract data to populate C# objects that will then be sent off to a web service. My question…
Blackcoil
  • 175
  • 3
  • 18
0
votes
2 answers

How can I use Linq with Dataset.xsd files?

How can I use Linq with Dataset.xsd files? I've looked at Linq-to-Datasets and Linq-to-XSD but they don't really seem to work directly with the Visual Studio DataSet.xsd files. EDIT: I actually found a great link for this: link text but I can't…
RichC
  • 7,829
  • 21
  • 85
  • 149
0
votes
1 answer

C# with XDocument and xsi:schemaLocation

I want to create the following XML.
user2273044
  • 161
  • 2
  • 17
0
votes
1 answer

Populate classes generated from XSD using XMLNode

I've used XSD2Code to create a set of C# classes representing an XML document I'm currently retrieving from a web service call. The returned object of the web service call is of type XMLNode. I want to create an object from the generated classes and…
Chris Nevill
  • 5,922
  • 11
  • 44
  • 79
0
votes
3 answers

Handle XML Schema changes without code changes

Currently we have a XML Schema and the code reads the xml file, validates against the schema and save to database. In future there would be schema changes, how can the code handles them without needing to rewrite the code for new schema. Thanks, Let…
Naveen Chakravarthy
  • 819
  • 2
  • 15
  • 30
-1
votes
1 answer

import in XSD and its implementation

I have 2 separate XSDs with some common attributes. I want to create another XSD and put all my common attributes in the separate XSD and import them in the 2 XSDs i have already rather than repeating them or duplicating them in both the XSDs. Is…
nisha
  • 703
  • 2
  • 14
  • 28
1
2