Quantcast
Channel: Eric White's Blog
Browsing all 34 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Where is XmlLite.h?

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogFor 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,...

View Article


Image may be NSFW.
Clik here to view.

Use INFER.EXE to Create XML Schemas

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogIn my post, OpenXmlCodeTester: Validating Code in Open XML Documents I used XSD to validate the build instructions (which are XML that...

View Article


Image may be NSFW.
Clik here to view.

Congratulations to a Couple of Cool People

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogWhen 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...

View Article

Image may be NSFW.
Clik here to view.

Using LINQ to XML Events and Annotations to Track if an XML Tree has Changed

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogYou may optionally be making a number of modifications to a very large XDocument object.  Because of a complicated algorithm, you may not...

View Article

Image may be NSFW.
Clik here to view.

Comparing LINQ to XML and XPath

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogI was in a meeting this afternoon, and someone said that they wished that there was a comparison of XPath expressions and LINQ to XML...

View Article


Image may be NSFW.
Clik here to view.

Debugging LINQ Queries

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogDebugging LINQ queries can be problematic.  One of the reasons is that quite often, you write a large query as a single expression, and...

View Article

Image may be NSFW.
Clik here to view.

A More Robust Approach for Handling XName Objects in LINQ to XML

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogOne of the advantages of V2 of the Open XML SDK is that it provides us with a strongly typed XML document object model (DOM).  Because...

View Article

Image may be NSFW.
Clik here to view.

Convert XElement to XmlNode (and Convert XmlNode to XElement)

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogSometimes you want to convert an XmlNode to an XElement and back again.  Some programming libraries define methods that take XmlNode...

View Article


Image may be NSFW.
Clik here to view.

Align Attributes when Formatting XML using LINQ to XML

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogSometimes an XML element contains a large number of attributes, and the values of the attributes may be long.  When written to the...

View Article


Image may be NSFW.
Clik here to view.

Writing Succinct Code to move XElement and XAttribute Objects from One LINQ...

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogThere is an interesting idiom of LINQ to XML that makes it easy to write short, succinct code when creating one XML tree from another....

View Article

Image may be NSFW.
Clik here to view.

Getting Started with SharePoint Web Services using LINQ to XML

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogWeb services are one of the most effective and convenient ways for casual developers to access SharePoint lists and document libraries....

View Article

Image may be NSFW.
Clik here to view.

Manually Cloning LINQ to XML Trees

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blog(July 1, 2009 - Updated - OK to normalize empty elements to an element with a self-closing tag.) There are a variety of circumstances...

View Article

Image may be NSFW.
Clik here to view.

Computing Deep Hash Codes using LINQ to XML

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogIn some scenarios, it is useful to compute a ‘deep’ hash code using LINQ to XML.  If you are writing a server-side application that...

View Article


Image may be NSFW.
Clik here to view.

Working with Optional Elements and Attributes in LINQ to XML Queries

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogOften XML schemas allow for optional elements and attributes.  When you write queries on these elements or attributes, you may be tempted...

View Article

Image may be NSFW.
Clik here to view.

Empty Elements and Self-Closing Tags

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogLast January, I blogged about an approach to normalizing LINQ to XML trees.  That post is based on another post, Manually Cloning LINQ to...

View Article


Image may be NSFW.
Clik here to view.

Document-Centric Transforms using LINQ to XML

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogWhen thought of in a certain way, XML documents come in two flavors – data-centric and document-centric.  Further, there are two types of...

View Article

Image may be NSFW.
Clik here to view.

Recursive Approach to Pure Functional Transformations of XML

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogWriting pure functional transformations a in a recursive style enables us to put together interesting transformations in a very small...

View Article


Image may be NSFW.
Clik here to view.

XML Element and Attribute Name Guidelines

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogSome time ago, a dev team here at Microsoft asked me to review their XML vocabulary that they had designed.  They wanted to know if the...

View Article

Image may be NSFW.
Clik here to view.

DescendantsAndSelfTrimmed LINQ to XML Axis Method

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogThere are some circumstances where I need a variation on the DescendantsAndSelf axis method that allows me to specify that specific...

View Article

Image may be NSFW.
Clik here to view.

Writing Entity References using LINQ to XML

[Blog Map]  This blog is inactive.  New blog: EricWhite.com/blogThis is one in a series of posts on transforming Open XML WordprocessingML to XHtml.  You can find the complete list of posts here.I need...

View Article
Browsing all 34 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>