BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

ReBlogger Contents

 
WSE
SOA
XML

 
 
Buzz index BUZZ INDEX : xml
 
Buzz index

XML

Learn more about XML here...
Tags found in the posts on this page : XML Search for XML on Wikipedia.Search for XML on Technorati
Page 2 of 91

2008 Nov 23

51 of 4530 | ISA/IGA and OWASP Vulnerabilities - Hi All, In 2007, OWASP (Open Web Application Security Project) published their Top 10 most serious web application vulnerabilities at http://www.owasp.org/index.php/Top_10_2007.   A summary of their Top 10 is outlined in the table below with a brief mitigation approach for each.  You will quickly see that a primary component of mitigating these vulnerabilities is the Intelligent Application Gateway (IAG) product. IAG runs on top of ISA to provide higher-level security closer to the application level than that provided by ISA alone.  Attack Type Description Mitigation ......

52 of 4530 | Scripting DBA Actions - Last Thursday morning @ the PASS Summit I participated in a panel discussion on automating DBA tasks. It was a great discussion and I was humbled by the other panel members. During the discussion I jotted down a few notes that I didn’t get to mention during the talk. The talk was recorded and will likely be available on Quest’s site in the next few days or so. The first distinction to draw is the difference between scripting and automating tasks. Scripting tasks simply means there is some programmatic representation of the task you want to perform. The program can be in any language you choose: Python, PowerShell, C#, Perl, T-SQL, SSIS, etc. The script does all of the necessary work. Auto......

2008 Nov 22

53 of 4530 | Importing Multiple Scripts using DTE - We have had a lot of requests from folks that would rather not go through the Import Script Wizard when they have multiple T-SQL source scripts. Fortunately Visual Studio provides the ability to execute parameterized commands by using the Design Time Extensibility (DTE) framework. For a typical list of such commands visit this MSDN Library entry. In this blog I’ll lead you through a useful command provided by General Distribution Release (GDR) for Visual Studio Team System 2008 Database Edition which allows you to bypass the Import Script Wizard and import your scripts directly into your project system. Step 1: Create a script Create a script as c:\myScript.txt with the following content......

54 of 4530 | InfoPath ????????????????????????? To:?CC:???????? - ??? InfoPath ??????????????????????????????? CC ??????? InfoPath ?????????????????????????? ??????????????????? InfoPath ??????????????? HTML ??????????????????????? ?????????????????????? HTML ????? InfoPath ????????????????? ??????????????????????????????????????????? ?????????????????????????????(???? HTML ? InfoPath ? XML ????)?????????????????? ??????????????????????????????????????????????????????? ?????????????????????????????????????????????????????????????????????????????? ?????????????????????????????????????????????????????????????...(read more)...

55 of 4530 | Office Open XML File Formats Published as ISO/IEC 29500:2008 Final Standard - ISO announced the publication of the Office Open XML File Formats specification as an ISO/IEC joint standard. ISO/IEC 29500 specifies a family of XML schemas, collectively called Office Open XML, which define the XML vocabularies for word-processing, spreadsheet, and presentation documents, as well as the packaging of documents that conform to these schemas. A new Document Interoperability WG will help align ISO/IEC 29500 with ISO/IEC 26300 (OpenDocument)....

2008 Nov 21

56 of 4530 | jQuery Intellisense in VS 2008 - Last month I blogged about how Microsoft is extending support for jQuery.  Over the last few weeks we've been working with the jQuery team to add great jQuery intellisense support within Visual Studio 2008 and Visual Web Developer 2008 Express (which is free).  This is now available to download and use. Steps to Enable jQuery Intellisense in VS 2008 To enable intellisense completion for jQuery within VS you'll want to follow three steps: Step 1: Install VS 2008 SP1 VS 2008 SP1 adds richer JavaScript intellisense support to Visual Studio, and adds code completion support for a broad range of JavaScript libraries. You can download VS 2008 SP1 and Visual Web Develo......

57 of 4530 | Links about Visual Studio 2010 and C# 4.0 - A while ago we announced Visual Studio 2010 and C# 4.0. In case you'd like to catch up and read articles or watch videos about the upcoming new features, I wanted to gather some links here. PDC http://channel9.msdn.com/pdc2008/ is a great link about PDC, where you can watch a lot of interesting videos, such as: The Future of C# - a perfect talk by Anders. Must see. Panel: The Future of Programming Languages Microsoft Visual C# IDE- Tips and Tricks - some great tips from Dustin Campbell Natural Interop with Silverlight, Office and Python in Microsoft Visual C# and Microsoft Visual Basic An Introduction to Microsoft F# Future Direction......

58 of 4530 | printf(“Hello MSBuild!\n”); - Hello everyone. I’m Marian Luparu and I am a Program Manager in the Visual C++ IDE team. Last week I was in Barcelona attending TechEd EMEA 2008 where I had two talks delving into the areas where the VC++ IDE team is making major investments in the upcoming release: ·         Building Visual C++ Applications - focusing on the Build System and the Project System changes and ·         Taming Massive Codebases using the Visual C++ IDE - discussing the architectural changes in the IDE Design Time experience (C++ editor, Intellisense and Browsing).   In this post I want to go through some of the key points......

59 of 4530 | Split large XML files into small files - Read any size XML docuement and split it into small supporting files....

2008 Nov 20

60 of 4530 | Inner Join of Two Excel Tables - I recently posted some code that allows you to use LINQ to query Excel tables.  The source for these queries is the Open XML document – you don’t need to involve the Office clients to query the data in these tables.  In that post, I presented a few examples of queries of various types.  This post shows an inner join of two tables. The source for this post is the Northwind data that I imported into two sheets of a workbook. var q = from c in spreadsheet.Table("Customer").TableRows()         join o in spreadsheet.Table("Order").TableRows() on             (string)c["CustomerID"] equals ......

61 of 4530 | New Version of Error Logging Modules and Handlers (ELMAH) Available - ELMAH is a free, open-source library created by Atif Aziz for logging errors that occur in an ASP.NET application. I've written about ELMAH many times before; its one of the first things I setup when creating a new ASP.NET application. A new version - ELMAH 1.0 BETA 3 - was recently released. With just a few minutes of setup and configuration you can have ELMAH automatically log unhandled exceptions to a number of different data stores - SQL Server, Oracle, a Microsoft Access database, an XML file, to an e-mail address, and so on. You can also write code to proactively record an error via the ELMAH library. Granted, ASP.NET provides some built-in support for logging errors via its health m......

62 of 4530 | Tip#25: Did you know... You can have canonical URLs and Redirects with IIS 7.0 - Canonical URLs help you to make your links Search Engine Optimized (SEO). For human it is easy to understand that http://www.contoso.com is same as http://contoso.com. But many search engines will not make this assumption and treat them as two separate entries. This will split the rankings among them and lower the overall relevance of the site. In IIS7.0 you can use URL Rewrite to solve this problem. The following rule when added in the "Web.config" file in the root of your web site will automatically direct all the people using http://contoso.com to http://www.contoso.com. <configuration> <system.webServer> <rewrite> <rules> &l......

2008 Nov 19

63 of 4530 | Call for Review: Scalable Vector Graphics (SVG) Tiny 1.2 Specification Proposed Recommendation - 2008-11-19: The SVG Working Group has published the Proposed Recommendation of Scalable Vector Graphics (SVG) Tiny 1.2 Specification.This specification defines the features and syntax for Scalable Vector Graphics (SVG) Tiny, Version 1.2, a language for describing two-dimensional vector and mixed vector/raster graphics in XML. The specification enables the creation of graphical content, from static images to animations to interactive Web applications. SVG 1.2 Tiny is a profile of SVG intended for implementation on a range of devices, from cellphones and PDAs to desktop and laptop computers, and thus includes a subset of the features included in SVG 1.1 Full, along with new features to extend......

64 of 4530 | How to pass C# object to sql procedure? - I'll give a sample in TSQL: Here is the TSQL statement for getting a Case object that was Xml serialized: DECLARE @xmlCase XMLSET @xmlCase = '<case xsi="<a href=">http://www.w3.org/2001/XMLSchema-instance</a>"><id>3b98cf5a-6faa-dd11-9299-001e0b8014eb</id><court> <id>00000000-0000-0000-0000-000000000000</id>     <courtregionid>00000000-0000-0000-0000-000000000000</courtregionid> </court><createdon>2008-11-07T13:54:44.727+02:00</createdon><assignedon nil="true"></case>';SELECT Cases.fields.value('(Id/text())[1]', 'UNIQUEIDENTIFIER') [Id_Cases], Cases.fields.value('(Court/Id/text())[1]', 'UNIQUEIDENTIFI......

65 of 4530 | How to use Report Designer editor in VS2008 to edit .RDL files in non-report server project - If you try to open.RDL file in VS2008 in, let's say, C# project, it will open it in XML editor. To Enable Report Designer, you have to set following registry key:  [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Editors\{46F6D2A1-5E86-4080-A799-01F3D0E23796}\Extensions]"rdl"=dword:00000028  Then you can do"Open With", select "Report Designer" and make it default    ...

66 of 4530 | Internet Explorer 8 ? ?????????????? ???????????????? ????????????? - ????? ? ????? ??? ??????? Internet Explorer 8 Beta 1, ? ??????? ?????? ? ??????? ?????????????? ???????????????? ?????????????, ??????? ?? ???????????? ? ?????? ???????. ???, ? ???????, ???? ???????????? ???????? Creative Commons ??? ?????????? ????????? ????, ? ??? ?? ?????????? ?? ??????????????? Microsoft Open Specification Promise (OSP). ??????, ????? ?????? Beta 2, ? ? ???????? ???????? ? ?????????????? ???????? ?????? ?????????????. ? ?? ??????? ?? ???????? ????????? ? ????????????? ????? ?????? ?????, ??? ????????????. ????????????? Creative Commons License ? ????????????? Search Suggestions ??? Search Suggestions ?? ???????????? ????? ?? ????????????? ???????????? ??????? XML Search......

67 of 4530 | Mocking and stubbing easier than ever with Moq 2.6 - I've just released a new version of Moq which contains a few bug fixes but two extremely useful features: recursive mocks and mocked default values. Recursive mocks Quite often you have a root mock object from which other mocks should "hang" through property accesses, such as HttpContextBase.Response: you want the response object returned to also be a mock. Setting such hierarchies before this release was quite verbose:var context = new Mock<HttpContextBase>(); var response = new Mock<HttpResponseBase>(); context.Expect(c => c.Response).Returns(response.Object); response.Expect(r => r.ContentType).Returns("application/xml"); In this new release, it's possible to jus......

68 of 4530 | Multi Target Support - I've now enabled "multi target" support. This means that you can compile multiple assemblies at once. One of the advantages this has is that it makes dealing with circular dependencies much easier, but even if there aren't any circular dependencies, it can make building much easier because you don't have to do any dependency analysis. As an example I compiled the jars from the JBoss lib directory: ikvmc -target:library { commons-codec.jar } { commons-httpclient.jar } { commons-logging.jar } { concurrent.jar } { getopt.jar } { jboss-common.jar } { jboss-jmx.jar } { jboss-system.jar } { jboss-xml-binding.jar } { log4j-boot.jar } The curly brace......

69 of 4530 | Publication of ISO/IEC 29500 (Office Open XML) - It's official: ISO announced today the publication of the final text of ISO/IEC 29500, the Office Open XML specification. This includes all of the changes agreed to at the BRM, including the strict-vs-transitional structure and many others from the various national bodies involved. This has been a global process, with participation from dozens of countries and hundreds of individuals. The final text, reflecting all of those contributions, was prepared by project editor Rex Jaeschke and his BRM assistant Tristan Davis in recent months. Great work, guys! Going forward, the IS29500 standard will be maintained by Working Group 4 (WG4) of SC 34. This working group was formed at the SC 34 ple......

2008 Nov 18

70 of 4530 | Astuce Silverlight : comment charger un contrôle XAML depuis un fichier ou une chaîne de caractères ? - #S004 -    Si vous avez un contrôle écrit en XAML qui est inclus dans votre projet, vous pouvez le charger et le créer directement depuis le fichier en utilisant la méthode : System.Windows.Markup.XamlReader.Load() Cette méthode peut également être utilisée pour créer directement un contrôle Silverlight depuis une chaîne de caractères. Pour le démontrer j’ai créé deux fonctions appelées LoadFromXAML(). La première fonction prend en paramètre une URI qui pointe vers le fichier XAML que vous voulez charger dans votre projet. La seconde prend en paramètre une chaîne de caractères qui représente le contrôle.public static object LoadFromXaml(Uri uri){ System.Windows.Resources.StreamRes......

71 of 4530 | Detailed Description of PowerTools for Open XML cmdlets - [Blog Map] This post contains a detailed description of each of the PowerTools for Open XML cmdlets.  For an overview and screen cast of PowerTools for Open XML, see Automated Processing of Open XML Documents using PowerShell.  For more information on the cmdlets, see: www.codeplex.com/powertools. Set-OpenXmlCustomXmlData The Set-OpenXmlCustomXmlData cmdlet sets or replaces the specified custom XML part in the document. Remove-OpenXmlComment The Remove-OpenXmlComment cmdlet locates and removes comment contents and references from Wordprocessing documents. Add-OpenXmlDocumentTOC The Add-OpenXmlDocumentTOC cmdlet creates a Table of Contents based on the headings found ......

72 of 4530 | Generating Enums - In a recent post, Deepak describes how to generate enums using Linq to Sql and SqlMetal. 1. Generate dbml using SqlMetal. 2. Find reference columns in the dbml that will be used as enums in code. Change their type to the enum name. 3. Generate code using SqlMetal. I find this pretty interesting, but there would need to be some kind of conventions or configuration to denote which tables will be used as enumerations in the code. I think the way to tackle this is to create a custom msbuild task that will replace the enums for you based on either an item group or an xml property. This whole thing could be wrapped up in msbuild and applied in a separate proj file or in the AfterBuild or Be......

73 of 4530 | Links for 11-17-2008 - Zeyad Rajabi has started a series of very useful hands-on posts over on Brian Jones's blog about working with the Open XML SDK. Recent posts include a Document Assembly Solution for SpreadsheetML and Reading Data from SpreadsheetML. Alex Brown has two posts in the last week on the ongoing discussions between JTC1, SC34 and OASIS regarding maintenance of ODF: The Maintenance of ODF – an Aide-mémoire and ODF – OASIS and JTC 1 Get It Together. Eric White continues to blog on many Open XML dev topics, demonstrating the power and elegance of Linq and functional programming techniques as they can be applied to common document processing tasks. His latest posts include Inserting / Deleting / M......

74 of 4530 | Map Test Fails with 'Value cannot be null' - I have a biztalk map which uses a custom XSLT file rather than the graphical mapper. This map makes use of methods held in a custom dll, accessing via a custom extension XML file.   I created this map a while ago, came back to it today (on a new vm) and found that I was unable to run a successful test - right click the btm in solution explorer and hit 'test map'. On trying this I was presented with a lengthy error message - the important bit being:   Value cannot be null. Parameter name: extension   My first though was that the custom dll probably hadn't been gac'd on the new VM, so I remedied this. Still the problem persisted. The solution was to simply restart Visual Studio - it......

75 of 4530 | My eye friendly Visual Studio dark theme - I am not sure about how you guys feel about your IDE look & feel. First few years it was alright for me. However the more I used Visual Studio, the more I experienced problem with my eyes as well as monotony of the same old white background IDE. So, I made a dark theme of Visual Studio which stopped hurting my eyes again. I also tried to keep the syntax yet readable and make careful selection of colors so that important IDE benefits of syntax highlighting was not overlooked. I also tried to avoid absolutely black background, because that demands your eyes to have extra attention to the text since they were prepared to see nothing. So I choose deep navy blue so that it does not hurt your......

76 of 4530 | Silverlight Tip of the Day #12 - Full Implementation of a Silverlight Policy Server. - Before a Silverlight application can connect to a server it must first successfully connect to a policy server on that machine in order to proceed with the connection. In this tip I will take you through every step you need to create and run your own policy server. To start, create a new C# console application.  Then, create a new XML file called “clientaccesspolicy.xml” and add it to your project. This is the file your Policy Server will send to a client giving it permission to proceed with the connection. The contents of the “clientaccesspolicy.xml” are as follows: <?xml version="1.0" encoding="utf-8" ?> <access-policy> &l......

77 of 4530 | SSL Send Port - Had to configure a send port today to post an XML message to a website secured over HTTPS. The send was failing, with the following being written to the even log:   "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."   This got me thinking that we must be missing the public key for the site but I was able to browse to it from Internet Explorer and could confirm that the key could be found in the expected certificates stores on the client (my) server.   In the end, the problem turned out to be caused by the fact that 'Enable chunked encoding' was enabled in the 'General' tab of the HTTP transport properties page for the send......

2008 Nov 17

78 of 4530 | I'll Be Freezing... uh... Speaking at DevTeach Montreal in December - I'll be speaking at DevTeach in Montreal December 1st - 5th this year.... brrrrr!!!! I guess I need a winter coat! Seriously though, this Canadian .NET/SQL conference is always jam-packed with high caliber speakers, take a look. I'll be speaking on Visual Basic 6 to .NET Migration (similar to this webcast I did with Rob) and I'm doing a fun session on manipulating Office Documents using the Open XML SDK and LINQ. Check out all the sessions here. Plus, they have some awesome goods to give away this year -- every attendee will get Visual Studio 2008 Pro, Expression Web 2 and the TechEd DVD set in their bag! Register today!  Hope to see you there....

79 of 4530 | Mathematical Markup Language (MathML) Version 3.0 Draft Published - 2008-11-17: The Math Working Group has published a Working Draft of Mathematical Markup Language (MathML) Version 3.0, which defines the Mathematical Markup Language, or MathML. MathML is an XML application for describing mathematical notation and capturing both its structure and content. The goal of MathML is to enable mathematics to be served, received, and processed on the World Wide Web, just as HTML has enabled this functionality for text. Learn more about the Math Activity. (Permalink)...

80 of 4530 | Silverlight: ¿Sabía que…puede publicar una aplicación Silverlight con un servicio web? - Como  publicar/implementar el servicio web desde la aplicación Silverlight en el servidor. Por temas de seguridad, para que se pueda comunicar con el servicio web en el servidor, Silverlight necesita solicitar el archivo clientaccesspolicy.xml. Esto previene ataques de falsificación. Si este archivo no está disponible, Silverlight solicita el archivo predeterminado de Adobe crossdomain.xml. Uno de estos archivos deberá estar presente en la raíz del sitio web (c:\inetpub\wwwroot). Si ambos están ausentes, Silverlight produce una excepción. Estas siguientes configuraciones permiten el acceso de otros dominios a todos los recursos del dominio actual. Tendrá que configurar estos archivo......

81 of 4530 | Tools Roundup 2008 - Here is a list of the tools and extensions which I have downloaded and enjoyed this year: XML Notepad 2007 (Microsoft, free) Tail 4.2.12 NUnit for Windows WebServiceStudio/SoapBits BizTalk ScheduleAdapter Microsoft Enterprise Library 3.x ...

82 of 4530 | Visual Studio Windows Installer XML (WiX) - ????Visual Studio Windows Installer XML (WiX) ?????????????? WiX??XML????????Windows ??????????????????????????????CTP (Community Technical Preview) ??????????Visual Studio 2010??????????Visual Studio 2010?CTP??????10?28???????????????????????   Visual Studio 2010 CTP???????????????????????[About Microsoft Visual Studio] ???????????[Installed products]?????????[Windows Installer XML Toolkit CTP Version 3.0]????????   ????????WiX??????????????? 1.    Visual Studio 2010 CTP?????File????? New -> Project ?????? 2.    New Project????????????Project types?WiX????Templates?WiX Project?????? 3.    Create directory for solution???????......

83 of 4530 | VSTS 2010 Architecture: [Part One] Model Project - In my last post, I began talking about the logical structure of the VSTS 2010 Architecture product. I now want to start drilling into the various areas I outlined in that post. In this post, I want to start going deeper in the "Team Collaboration" area, specifically talking about some details around the new project type we've created, currently called ( amazingly enough ), the "Modeling Project". This new modeling project will be container for modeling data, diagram files, and any other artifacts that you'd like to store ( such as Word docs for instance ). The new project can be inserted into any existing or new solution you would like to create, and can sit happily along with your other p......

84 of 4530 | XML Signature Best Practices First Public Draft - 2008-11-17: The XML Security Working Group has published the First Public Working Draft of XML Signature Best Practices. This document collects best practices for implementors and users of the XML Signature specification. Most of these best practices are related to improving security and mitigating attacks, yet others are for best practices in the practical use of XML Signature, such as signing XML that doesn't use namespaces, for example. Learn more about the Security Activity. (Permalink)...

2008 Nov 15

85 of 4530 | Maximum Characters allowed in an xml element - Today I found that in BizTalk, there is a maximum limit for the number of characters that can be sent in an XML element. The limit is 50,000,000 chars. ...

86 of 4530 | Xml Introspection and TreeView. - Xml Introspection, TreeView node and PropertyGrid....

2008 Nov 14

87 of 4530 | Add Search to Your Site Using Updated Live Search SDK - A Live Search team has released a community preview of the next version of its interface for application programmers. The project named Project Silkoad, lets you build applications without restrictions around presentation. The beta version of V2 is now available. Getting started is simple: Decide what search content you want to display on your site. Choose from JSON, SOAP, or XML output, Customize the output according to the needs of your own search application. You can get started at the Live Search Developer Center. The site provides you with links to create the AppID, which is needed to access Live Search, documentation, the software developer kit (SDK), and forums. ......

88 of 4530 | Live Search API "Silk Road" - Yesterday, Microsoft announced the release of Live Search services "Silk Road". Silk Road is Live Search's new set of search APIs (version 2.0 beta) and services for developers. With Silk Road, you can build applications without restrictions around presentation. Getting started is simple: decide what search content you want, choose from JSON, SOAP, or XML output, and then customize them according to your needs to build your own search application. All you need to get going is an AppID. The API is very thorough and will enable some very interesting scenarios as well as an opportunity to monetize your search results (as well as enhancing your site's 404 experience). Earlier this week I wr......

89 of 4530 | Nested output for sqlCommand.ExecuteXmlReader - I'm working on a task to get a sql rows as xml using sqlCommand.ExecuteXmlReader and transform them using XsltCompiled transform.  The sqlCommand is calling a stored procedure that returns a select statement with FOR XML AUTO,ELEMENTS.  The ExecuteXmlReader returns a XmlNodeList which can be fed to the XSLTCompiledTransform but does not produced the desired output.  Here is an example from the AdventureWorks database select top 10  ProductID,[Name],[ProductNumber] from [AdventureWorks].[Production].[Product] Product for xml auto,Elements which returns <Product>   <ProductID>1</ProductID>   <Name>Adjustable Race</Name>   <ProductNumber>AR-5381&......

90 of 4530 | The book of meshification : by Danny Thorpe - Danny Thorpe is a rock star and he’s been working on some great stuff with our team (you can tell by his posts its been the Live Framework Tools) You should read his post which is MASSIVE, how do I mesh thee. I also love he tagged the post with Google Gears which he worked on when he was @ G Small snippet from his post: First, let’s look at what kinds of applications can access user data stored in the user’s mesh (after user consent, of course): Silverlight mesh-enabled web apps DHTML + JavaScript mesh-enabled web apps Server-side web applications (ASP.NET, Apache, PHP, etc) Desktop .NET apps Win32 apps Win64 apps Linux apps Mac apps ......

91 of 4530 | The Wonder of Creator Content - Recently I've begun programming a new game I'm trying to keep under wraps a bit, although most close friends know what it's about already.  Although the game is quite new I'm already excited about the code. In PongRPG, every sprite you see is positioned in code, there are lines that load each sprite personally and set them based on values in the code.  So, if I wanted to change the position of some item on the pause menu, I'd have to go into the code, track down that line, and change the value.  Not only that, but for each menu, I used a swapping method.  For every menu item there were two sprites, one displaying the non-active item, and one as the 'highlighted' version of the item.  Whe......

92 of 4530 | W3C Publishes XML Signature Best Practices First Public Draft - 2008-11-14: The XML Security Working Group has published the First Public Working Draft of XML Signature Best Practices. The XML Signature specification offers powerful and flexible mechanisms to support a variety of use cases. This flexibility has the downside of increasing the number of possible attacks. One countermeasure to the increased number of threats is to follow best practices, including a simplification of the use of XML Signature where possible. This document outlines best practices noted by the XML Security Specifications Maintenance Working Group, the XML Security Working Group, and other ideas cited at the Workshop on Next Steps for XML Security. While most of these best prac......

2008 Nov 13

93 of 4530 | Back to CSV - Convert CSV text to Objects; via JSON - As Json is easier to read and write then Xml. It follows that CSV (comma seperated values) is easier to read and write then Json. CSV also has tools such as Excel and others that make it easy to work with and create. So if you ever want to create a config or data file for your next app, here is some code to convert CSV to JSON to POCO objects. Control Method public void ConvertCsvToObjects() { string csv = File.ReadAllText(@"c:\temp\mycsv.txt"); /* mycsv.txt - Note the doube quotes around strings are required by json. ID, Name, Price 1, "ABC", 1200.00 2, "Zip Co.", 1400 3, "Contoso", 5000 */ // Step 1: Reshape csv to......

94 of 4530 | Monkfish Software has XMLBlueprint 6.2, a $79 payware XML Editor for Windows that features context-sensitive XML completion, schema validation (DTD, XSD, and Relax NG), XSLT, and XPath. - Monkfish Software has XMLBlueprint 6.2, a $79 payware XML Editor for Windows that features context-sensitive XML completion, schema validation (DTD, XSD, and Relax NG), XSLT, and XPath....

95 of 4530 | TechEd 2008: ??????(Spatial), Datatimeoffset, ???(Filestream), ???(Sparse Column)?SQL???? - DAT 331: ????:?SQL Server 2008????????????   ----------------------------------------------------------------- -- ??????? ----------------------------------------------------------------- -- ? declare @point Geometry set @point = Geometry::Parse('POINT(0 0)') select @point.ToString(), @point.STBuffer(10) go -- ?? declare @mpoint Geometry set @mpoint = Geometry::Parse('MULTIPOINT(0 0, 0 80, 80 80, 0 80)') select @mpoint.ToString(), @mpoint.STBuffer(2) go -- ??? -- 1) ??????? -- 2) ??????? declare @polygon Geometry set @polygon = Geometry::Parse('POLYGON((0 0, 0 40, 40 40, 40 0, 0 0))') select @polygon.ToString(), @polygon go DECLARE @g geography; SET @g = ge......

96 of 4530 | WPF RSS Feed Aggregator on CodePlex - Alessandro Del Sole, Visual Basic MVP, has been busy on CodePlex writing a neat WPF learning application that aggregates RSS feeds. In his words: It's developed in Visual Basic 2008 and uses LINQ-to-Xml and XML Literals to read feeds and persist XML data. You'll learn a lot of things like: WPF Styles and control templates; WPF Data-binding; WPF color animations; Creating a Grid to show data in WPF; LINQ-to-Xml query expressions and embedded expressions in Visual Basic 2008; XML Literals in Visual Basic 2008; Enabling IntelliSense for LINQ-to-XML with XML Schema Inference I just started playing with it myself and it's pretty cool. I wrote a mini feed browser to searc......

2008 Nov 12

97 of 4530 | Hello World in Oslo - Ever wondered how you might implement "Hello World" in a non-domain specific language such as in the roots of Oslo looks like.........(I found a snippet from one of the PDC Webcasts....) (This is written in a tool/shell that ships as part of the Oslo SDK - Intellipad) The left hand side is the instance document; the middle is the grammar or transformation; and the right is the Output Graph. This is a pretty specific sample - as in fact its very specific and only takes one input - "Hello World" (as dictated on the syntax line) What's so special about all of this?? I hear you ask..... There's a huge amount of power in being able to 'model' your world/data and......

98 of 4530 | SQL Server Team ?????? Blog List - ?????????????   ??????????????????????? or ?????????SQL Server???????????????????US??????????????????????????US????????????????????????????????????????????????????????????????????????????????URL??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????·?????????????   ??????? SQL Server ??????????????? (A-Z?) ·         http://blogs.msdn.com/adonet - ADO.NET team blog ·         http://blogs.msdn.com/astoriateam - Project Astoria Team Blog ·         http://blogs.msdn.com/data - Data Plat......

2008 Nov 11

99 of 4530 | Community Interview with Doug Rothaus (Beth Massi) - This past month we've been posting interviews with the team from our Italian Visual Basic MVP Alessandro Del Sole. This time we have Doug Rothaus, a writer on the documentation side. Doug has blogged up an XML cookbook here on the team blog with a bunch of "recipes" on how to use different features of XML Literals and LINQ to XML in Visual Basic. Check out the Visual Basic Team page for pictures and bios and visit the home page of the Visual Basic Developer Center for a link to all these interviews as well. Here's the interview with Doug: 1. Nice to meet you Doug! Let’s begin by asking a simple question: where are you from? I live in Woodinville, in Washington State.......

100 of 4530 | Create XML from an Array - Passing arrays as arguments to stored procedures is not currently possible in SQL Server, but you can use XML to accomplish this....

Page 2 of 91

Newest posts Newest posts in xml