Skip to main content
Microsoft
Visual Basic
Visual Basic
  • Home
  • DevBlogs
    • Visual Studio
    • Visual Studio Code
    • Visual Studio for Mac
    • DevOps
    • Developer support
    • CSE Developer
    • Engineering@Microsoft
    • Azure SDK
    • IoT
    • Command Line
    • Perf and Diagnostics
    • Dr. International
    • Notification Hubs
    • Math in Office
    • DirectX
    • PIX
    • SurfaceDuo
    • Startups
    • Sustainable Engineering
    • Windows AI Platform
    • C++
    • C#
    • F#
    • Visual Basic
    • TypeScript
    • PowerShell Community
    • PowerShell Team
    • Python
    • Q#
    • JavaScript
    • Java
    • Java Blog in Chinese
    • .NET
    • .NET MAUI
    • Blazor
    • ASP.NET
    • NuGet
    • Xamarin
    • #ifdef Windows
    • Apps for Windows
    • Azure Depth Platform
    • Azure Government
    • Bing Dev Center
    • Microsoft Edge Dev
    • Microsoft Azure
    • Microsoft 365 Developer
    • Old New Thing
    • Windows MIDI and Music dev
    • Windows Search Platform
    • Azure Cosmos DB
    • Azure Data Studio
    • Azure SQL Database
    • OData
    • Revolutions R
    • SQL Server Data Tools

    Visual Basic Blog

    A group blog from members of the VB team

    VB XML Cookbook - Visual Basic Blog

    VB XML Cookbook, Recipe 7: Enumerating Large XML Files (Doug Rothaus)
    VB XML Cookbook, Recipe 7: Enumerating Large XML Files (Doug Rothaus)
    June 7, 2010 Jun 7, 2010 06/7/10
    VB XML Cookbook, Recipe 7: Enumerating Large XML Files (Doug Rothaus)It’s been a while since I wrote one of these XML cookbook entries. Here’s some info on a common problem: Really big XML files.I’m going to show you two things in this recipe. The first is a tip on reading very large XML files while still being able to use ...

    0
    VB XML Cookbook, Recipe 6: Writing an XSLT Transform in VB (Doug Rothaus)
    VB XML Cookbook, Recipe 6: Writing an XSLT Transform in VB (Doug Rothaus)
    October 6, 2008 Oct 6, 2008 10/6/08
    Most XSLT programmers are familiar with this XSLT transform to copy an XML file. <?xml version="1.0" encoding="utf-8"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">    <xsl:output method="xml" indent="yes"/>     <xsl:template match="@* | node()"> ...

    0
    VB XML Cookbook, Recipe 5: The “Halloween” Problem (Doug Rothaus)
    VB XML Cookbook, Recipe 5: The “Halloween” Problem (Doug Rothaus)
    May 8, 2008 May 8, 2008 05/8/08
    In the last two XML cookbook entries, we talked about the technique of using the ReplaceWith method to perform an identity transform. While this technique may meet your needs, it can introduce a problem in your code commonly referred to as the “Halloween” problem. Let’s take a look at what the problem is, and how to solve it. (For ...

    0
    VB XML Cookbook, Recipe 4: Get Inner XML from the Nodes Property (Doug Rothaus)
    VB XML Cookbook, Recipe 4: Get Inner XML from the Nodes Property (Doug Rothaus)
    May 1, 2008 May 1, 2008 05/1/08
    Recipe 3 showed one way to work with mixed XML content using the XML Descendant axis property and the ReplaceWith method. This is one way to do an identity transform and we’ll look at another method in a later post. There is a key capability not mentioned in Recipe 3 that you will need for fully-functioning identity transforms. That is ...

    0
    VB XML Cookbook, Recipe 3: Identity Transforms (Doug Rothaus)
    VB XML Cookbook, Recipe 3: Identity Transforms (Doug Rothaus)
    April 25, 2008 Apr 25, 2008 04/25/08
    An identity transform in XSLT does just what the name implies: replace the identity of an element or attribute with a new identity. Identity transforms are especially critical when dealing with XML markup that is less rigid in its structure. Consider a documentation structure for news articles. Whenever a title is referred to within an article...

    0
    VB XML Cookbook, Recipe 2: Descendants and Ancestors (Doug Rothaus)
    VB XML Cookbook, Recipe 2: Descendants and Ancestors (Doug Rothaus)
    March 19, 2008 Mar 19, 2008 03/19/08
    This entry in the cookbook shows how you can access descendant and ancestor elements in an XML document using Visual Basic, XML Axis properties, and LINQ to XML objects.DescendantsVisual Basic provides XML Axis properties that enable you to easily refer to child nodes and attributes. As is often the case with XML, you may need to reference sub...

    0
    VB XML Cookbook, Recipe 1: XML Transformations using XML Literals (Doug Rothaus)
    VB XML Cookbook, Recipe 1: XML Transformations using XML Literals (Doug Rothaus)
    February 21, 2008 Feb 21, 2008 02/21/08
    I was working on a blog entry about replacing XSLT transforms with Visual Basic XML Literals. As the entry progressed, I noticed that it was really, really long. So, Avner Aharoni and I talked things over and we decided to break it up into multiple entries and start a series, much like the LINQ Cookbook that was started a few months back. ...

    0
    Topics
    .NETAdam BradenAlan BermanAlex TurnerAlexandre MouraAmanda SilverAnalyzersAnders HejlsbergAndroidAngularannouncementAnthony D. Greenasyncasynchronous programmingAvner AharoniawaitBeth MassiBill HorstBinary LiteralsByRef ReturnC#C# 6.0Cameron McCollClickOnceConverting SQL to LINQCorrina BarberCross PlatformDaniel WalzenbachData_DesignDebuggerdebuggingDeploymentDid you know?DLRDoug RothausDustin CampbellEdit and ContinueEncodingEncryptionEntity Framework CoreEric KnoxExtension_MethodsF#F# 4.0GitHubGlobalizationHidden Gems in VB10I'm A VB!IDEInterviewiOSIQueryableJared ParsonsJay SchmelzerJoe BinderJohn RivardJohn StalloJonathan AnejaKaren LiuKasey UhlenhuthKathleen McGrathKevin HalversonKinnectKit GeorgeKlaus LoeffelmannLanguage FeaturesLINQ CookbookLINQ/VB9Lisa FeigenbaumLive Unit TestingLuca BologneseLucian WischikMary LeeMatt GertzMessage LoopmetadataMicroframeworkMilind LeleMS Open TechMSINET CoreNET StandardNetduinoObject IDOffice DevelopmentOpen SourceOrcasOSSPagesparallel programmingPatrick DenglerPaul VickPaul YuknewiczPDC2008PerformancePInvokePower PacksPromisesRoslynSamplesSarika CallaScott TuckerScott Wisniewskiscreen saversShyam NamboodiripadSilverlightSilverlight 4 FirestarterSlavi MarinovSmart DevicesSMBSophia SalimSpot the Bug!Spotty BowlesSQLSteve SteinSyntax VisualizerTasktask cancellationTDDTechEd2008TechEd2009threadsTimothy NgTodd ApleyTroubleshootingTuplesTyler WhitneyUnit TestinguniversalUWPVBVB XML CookbookVB_ExpressVB2005VB2008VB2010VB2015VB2017VB6_Migration/InteropVisual BasicVisual Basic HistoryVisual Basic KinectVisual StudioVladimirWCFWebWebMatrixWindows PhoneWindows StoreWorkflowWPFXBox 360XMLXNAYoung Joo
    Top Bloggers
    Archive
  • March 2020
  • November 2018
  • June 2018
  • October 2017
  • September 2017
  • August 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • May 2015
  • April 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • June 2014
  • May 2014
  • April 2014
  • January 2014
  • December 2013
  • July 2013
  • September 2012
  • June 2012
  • May 2012
  • April 2012
  • February 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007
  • November 2006
  • October 2006
  • September 2006
  • July 2006
  • June 2006
  • April 2006
  • March 2006
  • January 2006
  • December 2005
  • November 2005
  • October 2005
  • September 2005
  • July 2005
  • June 2005
  • May 2005
  • April 2005
  • March 2005
  • January 2005
  • November 2004
  • October 2004
  • September 2004
  • August 2004
  • July 2004
  • June 2004
  • May 2004
  • Stay informed

    Login
    Code Block
    What's new
    • Surface Pro 8
    • Surface Laptop Studio
    • Surface Pro X
    • Surface Go 3
    • Surface Duo 2
    • Surface Pro 7+
    • Windows 11 apps
    • HoloLens 2
    Microsoft Store
    • Account profile
    • Download Center
    • Microsoft Store support
    • Returns
    • Order tracking
    • Virtual workshops and training
    • Microsoft Store Promise
    • Flexible Payments
    Education
    • Microsoft in education
    • Devices for education
    • Microsoft Teams for Education
    • Microsoft 365 Education
    • Education consultation appointment
    • Educator training and development
    • Deals for students and parents
    • Azure for students
    Business
    • Microsoft Cloud
    • Microsoft Security
    • Azure
    • Dynamics 365
    • Microsoft 365
    • Microsoft Advertising
    • Microsoft Industry
    • Microsoft Teams
    Developer & IT
    • Developer Center
    • Documentation
    • Microsoft Learn
    • Microsoft Tech Community
    • Azure Marketplace
    • AppSource
    • Microsoft Power Platform
    • Visual Studio
    Company
    • Careers
    • About Microsoft
    • Company news
    • Privacy at Microsoft
    • Investors
    • Diversity and inclusion
    • Accessibility
    • Security
    English (United States)
    • Sitemap
    • Contact Microsoft
    • Privacy
    • Manage cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2022