Sign in
Marcelo's WebLog
Improving the world one entity at a time (now tweeting on @mlrdev)
Common Tasks
Blog Home
Email Blog Author
About
OK
RSS for comments
RSS for posts
Atom
Search Form
Tag Cloud
ADO.NET Data Services
Astoria
Azure
datajs
Design
Development
Entities
MIX10
MIX11
OData
Office
Pages
PDC05
Performance
Phone
Security
Silverlight
SQL
VBA
Velocity
WCF Data Services
Web
Windows
WPF
XML
Monthly Archives
Archives
April 2012
(2)
November 2011
(1)
September 2011
(1)
July 2011
(4)
June 2011
(7)
May 2011
(6)
April 2011
(10)
March 2011
(10)
February 2011
(9)
January 2011
(8)
December 2010
(2)
November 2010
(1)
October 2010
(1)
September 2010
(7)
August 2010
(2)
July 2010
(17)
June 2010
(11)
May 2010
(6)
April 2010
(28)
March 2010
(21)
February 2010
(14)
January 2010
(1)
December 2009
(11)
November 2009
(4)
October 2009
(2)
September 2009
(1)
August 2009
(2)
July 2009
(1)
June 2009
(11)
May 2009
(3)
April 2009
(10)
March 2009
(17)
February 2009
(9)
January 2009
(1)
December 2008
(3)
November 2008
(19)
October 2008
(14)
September 2008
(11)
August 2008
(18)
July 2008
(8)
June 2008
(6)
May 2008
(5)
April 2008
(9)
March 2008
(5)
February 2008
(5)
January 2008
(11)
December 2007
(3)
October 2007
(7)
September 2007
(3)
August 2007
(1)
July 2007
(5)
June 2007
(2)
May 2007
(1)
April 2007
(2)
March 2007
(5)
February 2007
(4)
January 2007
(6)
December 2006
(3)
November 2006
(3)
October 2006
(3)
September 2006
(2)
July 2006
(2)
May 2006
(1)
March 2006
(9)
January 2006
(1)
November 2005
(1)
October 2005
(1)
September 2005
(10)
August 2005
(5)
July 2005
(6)
June 2005
(4)
May 2005
(4)
April 2005
(8)
March 2005
(2)
February 2005
(1)
January 2005
(3)
December 2004
(6)
November 2004
(1)
Browse by Tags
MSDN Blogs
>
Marcelo's WebLog
>
All Tags
>
xml
Tagged Content List
Blog Post:
Reference of namespaces in OData
Marcelo Lopez Ruiz - MSFT
This post is a simple overview of namespaces you will run into when working with OData in the ATOM format. The list is not comprehensive, but you can get pretty far with it. http://www.w3.org/2005/Atom This is the Atom namespace, defined in RFC 4287 . It's used for all "regular" ATOM things like entry...
on
12 Jan 2011
Blog Post:
Testing with XPathNavigator.Evaluate
Marcelo Lopez Ruiz - MSFT
Continuing from yesterday's post , we'll use XPathNavigator.Evaluate to sketch some helper functions that can be used to test components. For example, if we're testing the results of a transformation or of some custom XML from a REST-ful service, we would probably want to make sure that some elements...
on
14 Jul 2010
Blog Post:
Using XPathNavigator.Evaluate
Marcelo Lopez Ruiz - MSFT
Today I simply want to call out a somewhat obscure but very useful method: XPathNavigator.Evaluate . Many users of XML components are familiar with APIs such as SelectNodes or SelectSingleNodes . These are declared on the XmlNode class, and are thus available in its subclasses, for example XmlDocument...
on
13 Jul 2010
Blog Post:
InfoPath and SharePoint = sophisticated automation without code
Marcelo Lopez Ruiz - MSFT
Today I want to talk about how InfoPath and SharePoint allow non-developers to develop some very sophisticated systems. Someone I know was just stepping into a new job, a startup-like organization currently in the process of defining many of their internal business processes. In particular, the process...
on
5 Jul 2010
Blog Post:
Layering enumerators
Marcelo Lopez Ruiz - MSFT
Now that I've touched upon XmlReader and how it can be used to stream data while allowing clean layering at the same time, I want to touch on the layer-able interface by excellence in the .NET Framework: IEnumerable<T> . You may have also seen the term 'composing' enumerables, but I tend to...
on
30 Apr 2010
Blog Post:
Catching streaming exceptions with streaming readers
Marcelo Lopez Ruiz - MSFT
About two years ago, I put up a post discussing how exceptions are streamed in WCF Data Services (called ADO.NET Data Services at the time). Today I want to continue from yesterday's post and discuss how the client implements support for this, but first a quick note. I'd like to make sure I clarify...
on
29 Apr 2010
Blog Post:
Layering XML readers
Marcelo Lopez Ruiz - MSFT
If you've spent any time looking at the new Open Data Protocol Client Libraries on CodePlex, you may have run into the internal XmlWrappingReader class. I'll look into why this was a useful thing to have and what important OData processing aspect it helps with in the future, but for today I want to touch...
on
28 Apr 2010
Blog Post:
Add an attribute to an MSXML node
Marcelo Lopez Ruiz - MSFT
This question came up in the forums, and I thought it was worth blogging about because there are a number of considerations "off to the side". The original question was whether it's possible to add an attribute to an IXMLDOMNode , without having to downcast to an IXMLDOMElement . The straightforward...
on
5 Apr 2010
Blog Post:
DataSet does not validate XML Schema (XSD)
Marcelo Lopez Ruiz - MSFT
If you're working with the DataSet class and loading and saving data in XML format, you may have run into a bit of a surprise. Even when you specifically read an XSD schema into your DataSet, when you load data into it, it seems that validation doesn't work - you're still able to pass in data with extra...
on
2 Apr 2010
Blog Post:
Moving XML nodes from one document to another
Marcelo Lopez Ruiz - MSFT
Today's topic might be of interest for developers that work both in native and managed code, or who are transitioning from one to another. Moving XML nodes from one document to another is a common operation when you're merging content, for example, or when a piece of code produces a standalone document...
on
31 Mar 2010
Blog Post:
MSXML 4 SP2 goes out of support in April
Marcelo Lopez Ruiz - MSFT
Learn more about SP2 going out of support on the XML team blog. MSXML4 SP3 has been around for over a year now and has had a very positive reception. Get it! Share the good news with your friends! Of course, we're still encouraging everyone to migration to MSXML6 whenever possible, as that's our...
on
31 Mar 2010
Blog Post:
Loading a document from a string using XSD
Marcelo Lopez Ruiz - MSFT
This question came up recently in the forums, and I thought I'd post some sample code to show how to do it. The idea is this: you can an XML document in a string variable, and you want to load it into a document. You also have an XSD that you want to make sure the XML conforms to. How do you do this...
on
25 Mar 2010
Blog Post:
Evil encoding configuration
Marcelo Lopez Ruiz - MSFT
This post is the final one for the XmlWriter and StreamWriter encoding series (see parts one and two first). If you ran the original example, you'll notice that the last combination of encodings we wrote produced this output. Stream Encoding: (no stream) XML Encoding: Norwegian (IA5) Unhandled...
on
19 Mar 2010
Blog Post:
Encoding fun with XmlWriter and StreamWriter
Marcelo Lopez Ruiz - MSFT
This post provides the results for yesterday's post , where we discussed encoding for XML, Unicode and the presence of the Byte Order Mark (BOM). Without further ado, here they are. Let's starts with the first two. The first is an XmlWriter directly over a stream, with Encoding.UTF8. The second is...
on
18 Mar 2010
Blog Post:
XmlWriter, encodings and BOM
Marcelo Lopez Ruiz - MSFT
Today I want to talk about XmlWriter and the generation of a Byte Order Mark (BOM). XmlWriter provides an API that generates, unsurprisingly, XML. This XML will typically end up as a managed string of characters or possibly a sequence of bytes. Of course, text transformed into bytes implies an encoding...
on
17 Mar 2010
Blog Post:
Consuming OData with Office VBA - Part IV (Access)
Marcelo Lopez Ruiz - MSFT
Check out parts one , two and three if you haven't - good stuff there! In today's post, we're going to import data into Microsoft Access. I'm going to focus on having the building blocks in place, although in real-life use, you would either make this more general or more specific - more on this later...
on
19 Feb 2010
Blog Post:
Consuming OData with Office VBA - Part III (Excel)
Marcelo Lopez Ruiz - MSFT
This is part three of a series - you should read part I and part II to have the code snippets handy and follow along. Today we won't be doing anything special with OData itself, instead we'll see how the snippets work across different Microsoft Office products. Just start up Excel, paste in the OData...
on
18 Feb 2010
Blog Post:
Consuming OData with Office VBA - Part II
Marcelo Lopez Ruiz - MSFT
In case the title didn't give the fact away, this is the second part of a series - the first part is here . This post builds on the code from that post, so make sure you've gone over that before continuing. Last time, we simply got an XML document in the form of a DOMDocument object, and wrote out...
on
17 Feb 2010
Blog Post:
Consuming OData with Office VBA - Part I
Marcelo Lopez Ruiz - MSFT
This post is the first of a series describing how you can leverage OData information in your Microsoft Office documents and applications using Visual Basic for Applications (VBA). If you're using the newer programming APIs based on the .NET Framework, then you have plenty of support for OData in the...
on
16 Feb 2010
Blog Post:
When using an XSLT transformation many times, compile it
Marcelo Lopez Ruiz - MSFT
Public-service-announcement type of thing today: if you're going to be applying an XSLT transformation multiple times, be sure to compile the transformation and then reuse it. This saves you CPU time to re-compile them, memory used during the recompilation, memory fragmentation from the increased memory...
on
10 Feb 2010
Blog Post:
XslCompiledTransform and large template elements
Marcelo Lopez Ruiz - MSFT
When loading / compiling an XSLT document into an XslCompiledTransform instance, we've seen some customers hit an interesting gotcha. In this case, a particular stylesheet had grown over time, through a series of, erm, clipboard operations, to about a 300KB file with a single template . Rather than...
on
1 Dec 2009
Blog Post:
MSXML XHTML DTDs - making the web better
Marcelo Lopez Ruiz - MSFT
The fix to requests for XHTML DTD files from the W3C Web server has been recently released. Windows Update should offer the fix automatically, but you can download and install the fix manually from the following links for various MSXML versions: http://support.microsoft.com/?kbid=973688 [MSXML4 SP2...
on
30 Nov 2009
Blog Post:
MSXML4 SP3, now with a CAB
Marcelo Lopez Ruiz - MSFT
Yep, the redistributable CAB for MSXML4 SP3 is now available for download. Now you can deploy the latest / greatest version MSXML4 along with your app. http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=7F6C0CB4-7A5E-4790-A7CF-9E139E6819C0&displaylang=en Remember, of course, that MSXML4...
on
1 Oct 2009
Blog Post:
Problems when installing SQL Server 2005 on an upgraded Windows XP SP3 with MSXML6 SP2
Marcelo Lopez Ruiz - MSFT
As mentioned in the SQL Server Support Blog , you may find an issue installing SQL Server 2005 if you install MSXML Core Services 6.0 Service Pack 2 on Windows XP SP2, then upgrade to Windows XP SP3, then try the SQL install. Check out that post for more details, along with the KB for the problem...
on
31 Aug 2009
Blog Post:
XSLT Timer Released on Code Gallery
Marcelo Lopez Ruiz - MSFT
Over this past weekend, the XSLT Timer tool has been released on Code Gallery. This is a very simple tool, that will simply allow you to type / paste in a document and an XSLT stylesheet, and then tell you how long it takes on average to do the transform using the XslCompiledTransform class. Very...
on
16 Jun 2009
Page 1 of 3 (68 items)
1
2
3