Welcome To Snipplr


Everyone's Recent Snippets Tagged xml



« Prev 1 2 3 4 5 ... 8
  1. FAV

    getDoctype.inc.php

    With this snippet you will have the ability to display the `<DOCTYPE>` while sending the correct headers with support for content type negotiation. It also will correct itself for the W3C validator which does not send the correct Accept header for...
    PHP 40 views posted 4 months ago by daemondevin
  2. FAV

    Convert XML to Array in PHP

    Convert easily XML File or String to Associative Array in PHP
    PHP 8 views posted 4 years ago by kavikms
  3. FAV

    Creating an RSS Feed From Your Site

    If you syndicate your content with an RSS feed it can help to drive additional traffic to the content pages.
    PHP 3 views posted 4 years ago by COBOLdinosaur
  4. FAV

    read txt file with windows phone

    Note: change build Action of file to resource
    C# 2 views posted 5 years ago by vhdm
  5. FAV

    Parse xml in SQL

    Parse xml (passed as a parameter) in SQL
    SQL 3 views posted 5 years ago by rralhan
  6. FAV

    Groovy object's marshalling/unmarshalling via JAXB

    Example of JAXB-annotated POGO, marshalled and unmarshalled via static methods of JAXB object.
    Groovy 8 views posted 5 years ago by alces
  7. FAV

    Implement Simple Mail Merge or MailMerge with Regions in Cloud Using PHP

    Mail merge allows you to produce document (potentially large numbers of documents) from a single template and a structured data source. The letter may be sent out to many recipients with small changes, such as a change of address or a change in the g...
    PHP 3 views posted 6 years ago by johansonkatherine
  8. FAV

    C# & VB.NET Code Samples for Exporting Microsoft Visio Diagram to XML

    This technical tip shows how .NET developers can export Microsoft Visio diagram to XML inside their own applications using Aspose.Diagram for .NET. Aspose.Diagram for .NET lets you export diagrams to a variety of formats: image formats, HTML, SVG, SW...
    Java 6 views posted 6 years ago by johansonkatherine
  9. FAV

    capitals.xml XML Reader

    Stores country name code and capital in an array and returns it. (not completed)
    Java 2 views posted 6 years ago by bluesh34
  10. FAV

    xml test library

    Simple C# library that can be used to test xml. Test rules are defined in the form of xml file.
    C# 5 views posted 6 years ago by ashvin8085hotmail
  11. FAV

    Parse XML with PowerShell

    Loads an XML file and iterates through its nodes. Uses Sample XML file from [http://msdn.microsoft.com/en-us/library/ms762271(v=vs.85).aspx](http://msdn.microsoft.com/en-us/library/ms762271(v=vs.85).aspx) ` <?xml> <catalog> <book>...
    Other 2 views posted 6 years ago by telltec
  12. FAV

    XmlDocument extension method to create CData sections with CData terminators inside

    XmlDocument will not behave when you try to CreateCDataSection passing it a string that contains "]]>" This extension method returns an array of XmlCDataSection, each of which will contain the parts separated by "]]" and ">". Example: For the s...
    C# 1 views posted 6 years ago by thedark
  13. FAV

    XMLNodeList to HTML Table based on Ektron Smartform data

    Ektron smartform data contains a xml nodelist which I put in a data table and parse out into an html table
    C# 4 views posted 6 years ago by dego89
  14. FAV

    Lambda function to create XML from Array

    This snippet is a lambda function (anonymous function) to create an xml from an array. It uses recursiveness.
    PHP saved by 3 people 3 views posted 6 years ago by abrahamsustaita
  15. FAV

    create XElement from string

    Reading xml from file and create XElement from string
    C# 3 views posted 6 years ago by samilce
  16. FAV

    Parsing XML File with PHP

    This code shows how to parse XML file in easy way using PHP.
    PHP 5 views posted 6 years ago by apphp-snippets
  17. FAV

    Fix CDATA blocks in XML files after reformatting with Tidy

    For some reason tidy inserts new lines before/after <![CDATA[ content in XML files. Since I like the benefits of a reformatted, readable XML... ... i run tidy first, then remove the spaces before/after the CDATA block:
    PHP 7 views posted 7 years ago by iroybot
  18. FAV

    Read/Write data to an XML file

    A simple code to read/write an XML file by using Cakephp 1.3.
    PHP 11 views posted 7 years ago by tucq88
  19. FAV

    android Plist parser xml Assets

    http://kpbird.blogspot.hk/2011/08/android-plist-parser.html
    Java 4 views posted 7 years ago by l01241
  20. FAV

    Creating a report of Twitter hashtag activity

    The program uses the XML LIBNAME engine, FILENAME URL, SGPLOT procedure, and a simple PROC PRINT to create a report of recent Twitter activity around a specified hashtag.
    SAS 5 views posted 7 years ago by webonomic
  21. FAV

    Minimalist WCF Client-side Config File

    Again, A-B-C. All the Behaviour garbage that "Add Service Reference" inserts for the TCP binding is unnecessary, especially if the Operation Contract is only for simple value types.
    C# 7 views posted 8 years ago by rengber
  22. FAV

    Minimalist WCF Server-side Config File

    ABC - Address Binding Contract Note that the Service Name and Contract must match a real live type (case Sensitive) Binding name is also case sensitive.
    C# 3 views posted 8 years ago by rengber
  23. FAV

    AS3 Parse TimedText (TT) XML Captions File

    TimedText (TT) XML captions files can have namespaces that cause problems when parsing them in AS3. To get around this you can use this code to remove the namespace from the root XML node using Regex. This example uses
    ActionScript 3 2 views posted 8 years ago by adrianparr
  24. FAV

    Extract PitchFX from MLB.com

    Open PHP file and enter User Credentials for localhost. The default dates are set to negotiate the 2011 season, but change the date variables to match your desired season data. The start date should be the day before opening day, and the end date t...
    PHP 4 views posted 8 years ago by wa-rufio
  25. FAV

    Using svg images into JasperReport

    Replace the normal <image...> XML with the following code (be sure to adjust the width and height accordingly):
    XML 5 views posted 8 years ago by wnasich
  26. FAV

    Log down all loaded layout handles in Magento on each request

    Snippet for getting the layout handles in Magento on each request, helpful for front-end developers.
    PHP saved by 4 people 3 views posted 8 years ago by zoranmk
  27. FAV

    How to log all xml layout updates in Magento on each request

    Snippet for logging down all of the layout updates loaded on each request in Magento.
    PHP saved by 4 people 4 views posted 8 years ago by zoranmk
  28. FAV

    PHP - cURL receives xml

    PHP 3 views posted 8 years ago by focal55
  29. FAV

    Convert Apple .plist file to from XML / binary

    A pair of handy terminal commands for converting Apple .plist preference files from binary to XML format [allowing for easy editing with a text editor] and then back to binary again, afterwards.
    Bash 2 views posted 8 years ago by stiobhart
  30. FAV

    Image files to xml

    Checks for image files in directory and creates a XML file of the contents
    PHP 2 views posted 8 years ago by Don_Jarmo
« Prev 1 2 3 4 5 ... 8