Welcome To Snipplr

Everyone's Recent Snippets Tagged xml

« Prev 1 2 3 4 5 ... 8
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...
0 783 posted 10 months ago by daemondevin
Convert easily XML File or String to Associative Array in PHP
0 226 posted 4 years ago by kavikms
If you syndicate your content with an RSS feed it can help to drive additional traffic to the content pages.
0 146 posted 4 years ago by COBOLdinosaur
Note: change build Action of file to resource
0 127 posted 6 years ago by vhdm
Parse xml (passed as a parameter) in SQL
0 114 posted 6 years ago by rralhan
Example of JAXB-annotated POGO, marshalled and unmarshalled via static methods of JAXB object.
0 202 posted 6 years ago by alces
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...
0 157 posted 6 years ago by johansonkatherine
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...
0 264 posted 6 years ago by johansonkatherine
Stores country name code and capital in an array and returns it. (not completed)
0 104 posted 6 years ago by bluesh34
Simple C# library that can be used to test xml. Test rules are defined in the form of xml file.
0 97 posted 6 years ago by ashvin8085hotmail
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>...
0 118 posted 6 years ago by telltec
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...
0 130 posted 6 years ago by thedark
Ektron smartform data contains a xml nodelist which I put in a data table and parse out into an html table
0 143 posted 7 years ago by dego89
This snippet is a lambda function (anonymous function) to create an xml from an array. It uses recursiveness.
1 138 posted 7 years ago by abrahamsustaita
Reading xml from file and create XElement from string
0 112 posted 7 years ago by samilce
This code shows how to parse XML file in easy way using PHP.
0 140 posted 7 years ago by apphp-snippets
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:
0 124 posted 7 years ago by iroybot
A simple code to read/write an XML file by using Cakephp 1.3.
0 136 posted 7 years ago by tucq88
0 128 posted 8 years ago by l01241
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.
0 177 posted 8 years ago by webonomic
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.
0 126 posted 8 years ago by rengber
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.
0 103 posted 8 years ago by rengber
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
0 131 posted 8 years ago by adrianparr
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...
0 141 posted 8 years ago by wa-rufio
Replace the normal <image...> XML with the following code (be sure to adjust the width and height accordingly):
0 189 posted 8 years ago by wnasich
Snippet for getting the layout handles in Magento on each request, helpful for front-end developers.
1 121 posted 8 years ago by zoranmk
Snippet for logging down all of the layout updates loaded on each request in Magento.
1 120 posted 8 years ago by zoranmk
0 382 posted 8 years ago by focal55
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.
0 237 posted 8 years ago by stiobhart
Checks for image files in directory and creates a XML file of the contents
0 114 posted 8 years ago by Don_Jarmo
« Prev 1 2 3 4 5 ... 8