|
|
Browse by Tags
All Tags » xml (RSS)
-
You may optionally be making a number of modifications to a very large XDocument object. Because of a complicated algorithm, you may not necessarily know ahead of time whether you will be making changes. If you don’t make any changes, then you don’t want to unnecessarily serialize the tree and save it to disk, or send it over the wire. This post presents a simple technique to determine if an XDocument has ever been modified since deserialization or creation. For example, you might have a very large Read More...
|
-
When I was writing the LINQ to XML documentation , Ralf Lämmel was the program manager for LINQ to XSD , an incubation project in the data programmability group at Microsoft. Ralf really helped me a lot in those days, both with questions on LINQ to XML, and questions around functional programming. It was in email exchanges with Ralf that the lights started going on for me around functional programming. So far, LINQ to XSD hasn't become a supported product (I don't know the product team's plans around Read More...
|
-
In my post, OpenXmlCodeTester: Validating Code in Open XML Documents I used XSD to validate the build instructions (which are XML that you place in content controls). INFER.EXE, available at XML Downloads , is your best friend for putting together schemas. This isn't news, but I was chatting with one of my dev friends here at Microsoft, and he wasn’t aware of the existence of this tool, so I’m calling attention to it. Its use couldn’t be simpler – create a directory, put examples of all varieties Read More...
|
-
As part of a separate task, the XML team came up with a list of frequently encountered issues in System.XML; mainly points that we felt were interesting because they were the source of a lot of difficulty for our users. These questions ranged from rarely used (or misused) methods to difficult XML constructs. We focused specifically on scenarios that were particularly difficult to debug . When we had completed the exercise, it occurred to the team that we should publish the list. So what follows is Read More...
|
-
The XmlPreloadedResolver is a new type that we’ve been working on in SilverLight that provides the ability to load a DTD without a call to the network. The new type can act as a manually maintainable cache of DTD’s and XML Streams. Let’s look at two examples of how the XmlPreloadedResolver can be used. Example 1: The XmlPreloadedResolver can be used to pre-load an external DTD. In the following example, a user-defined DTD is pre-loaded into the resolver. The resolver is then used when loading the Read More...
|
-
For those who don't know, XmlLite is a very lightweight, fast pull parser that was introduced with the Vista SDK. It is a native parser, not part of the managed API. However, unlike MSXML, it's ok to use with .NET using COM interop. There have been questions on how to use it - specifically, where to get the header and lib files for it. In the future, there will be topics on MSDN that explain the information. However, it will be some time before the information is published to MSDN. Here is that info: Read More...
|
-
The W3C Recommendation Extensible Markup Language (XML) 1.0 was initially published on the 10th of February 1998. Since then, XML has proliferated at a rapid pace, becoming the predominant method for electronic data interchange between information systems, and we can safely describe it as universally applicable, fast, scalable and durable integration code. XML and its related standards and tools are continuing to enable data interoperability, content manipulation, content sharing and reuse, document Read More...
|
-
Chris Lovett was interviewed by book author Michael van Otegem recently and he asked some very interesting questions: Please tell us who you are and what you do. I’m an architect on the Data Programmability Tools team in SQL Server, and I work on XML tools that ship in Visual Studio. As an architect I do lots of different things including: product development on the XML editor in Visual Studio 2008; cross-group collaboration to make sure all our tools work together; playing with other concepts like Read More...
|
|
|
|