XmlAdviceAnswers to XML QuestionsXPath-Based Filtering With Pull-Based XML Parsing- February 16, 2004 Some very interesting work has been going on with the classes in the System.Xml namespace. Daniel Cazzulino blogs about an XseReader implementation he has been working on for providing XML Streaming Events. I had been using a similar implementation for trying to write a .NET version of an RssValidatingReader awhile back, but gave up due to the complexity of managing an ambiguous stack for co-occurrence validation. Oleg commented on the implementation and notes the use of an...http://xmladvice.com/blogs/kaevans/archive/2004/02/16/5936.aspx Anonymous Methods and Higher-Order Procedures in C- February 12, 2004 Steve Maine has a great article on using anonymous methods and higher-order procedures in C. A point not necessarily highlighted in the article's text but rather through the code examples is that not all problems are solved through inheritance. Suppose you have a class that provides methods for working with a certain datastructure. You might prefer thhe consumer of the class not be required to inherit from your class to effectively use it, and it is not feasible to.http://xmladvice.com/blogs/kaevans/archive/2004/02/12/5935.aspx Assembly Caching and XmlSerializer- February 11, 2004 Paul Wilson emailed me with some questions regarding perceived memory leaks related to System.Xml.Serialization.XmlSerializer. I questioned whether it would be a &8220;memory leak&8221;, but pinged Christoph Schittko for some backup evidence. He said he doubted it as well, else web services everywhere would be falling on their faces. I pointed him to Doug Purdy's post on inspecting theXmlSerializer'sinterim assembly, and Chris Sells' utility for precompiling XmlSerializer types. Paul emailed...http://xmladvice.com/blogs/kaevans/archive/2004/02/11/5934.aspx Project Management- February 9, 2004 I thought I would add a category for rants on Project Management practices. Misinformed PM quote of the week: &8220;Our business model simply does not allow confirming requirements before construction. The software development team is helping to shape requirements by confirming newly introduced functionality.&8221; Share this post: email it! bookmark it! digg it! reddit! kick it! live it!http://xmladvice.com/blogs/kaevans/archive/2004/02/08/5933.aspx XML Validation Against a Schema and a DTD With Namespaces- February 9, 2004 Steven Livingstone has a great tip on validation using DTDs and Schemas against an instance document that includes namespaces. Share this post: email it! bookmark it! digg it! reddit! kick it! live it!http://xmladvice.com/blogs/kaevans/archive/2004/02/08/5932.aspx Set Property in XsltArgumentList Extension Object: Ugly Hack- February 8, 2004 Paul Duncan asks in the microsoft.public.xsl list how to set a property for an XSLT extension object. Yes, there is a way to do set the property of an XSLT extension object in .NET. But... This is such an ugly hack, I feel dirty posting the solution. First, the XSLT transformation that allows the user to set a property in an XSLT extension object. Note that I use an xsl:variable to contain the result of the method call. This allows me to store the method...http://xmladvice.com/blogs/kaevans/archive/2004/02/08/5931.aspx |