Welcome To Snipplr
Everyone's Recent Snippets Tagged xml
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Simple usage:
var xmlLoader:LoadXMLUtil = new LoadXMLUtil("path_to_xml.xml");
xmlLoader.addEventListener(Event.COMPLETE, onLoaderComplete);
private function onLoaderComplete(event:Event):void{
trace("Loaded XML: ");
trace(xmlLoader.xml...
2
818
posted 13 years ago by burnandbass
I'm using this out of laziness.
PHP is slowing things down here, since it's not as close to C as XPath.
A better solution would be to have an attribute specifically for search purposes (either in upper or lowercase).
0
889
posted 14 years ago by iroybot
Use this static class to encode and decode HTML Entity Names. For some reason Snipplr doesn't display all the code, so download the ZIP file for a full working demo and source code.
0
2074
posted 14 years ago by adrianparr
These five characters should be replaced with their HTML entity names before being used in XML, otherwise they may cause the XML to be invalid.
0
1270
posted 14 years ago by adrianparr
For instance when you want to leverage the JElements in a admin view form...
0
892
posted 14 years ago by harikaram
This method can execute XML-RPC call and return response. Can be useful for working with XML-RPC API's like Snipplr.com XML-RPC API and other
4
1666
posted 14 years ago by dzr_gregory
I’ve recently had to parse some pretty large XML documents, and needed a method to read one element at a time.
Here’s a fairly simple solution in PHP.
0
1885
posted 14 years ago by dom111
I’ve recently had to parse some pretty large XML documents, and needed a method to read one element at a time.
Here’s a fairly simple solution in Ruby form.
0
895
posted 14 years ago by dom111