Welcome To Snipplr
Everyone's Recent Snippets Tagged xml
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This is a simple example of how to read and write XML that includes reading attributes and nodes.
1
1938
posted 18 years ago by donkeykong
example code only... save to [path.to.profile]/searchplugins/
1
1756
posted 18 years ago by rwczippy
REXML does not seem to have a 'lang' method, which is strange since lang is in the XML 1.0 Specification §2.12 'Language Identification', and in many other libraries. Because of Ruby's 'monkey patching', it's pretty easy to add - you just recursivel...
1
1543
posted 18 years ago by tommorris
My Favorites eclipse plugins: PDT, Subversive, Aptana and Symfoclipse
0
1536
posted 18 years ago by jlbfalcao
Serve your xhtml pages correctly with this script and xsl file. Most websites serve their xhtml pages as text and not xml to Internet Explorer. With this it will serve to IE as xml. Your sites will be more valid because they will validate against the...
1
2476
posted 18 years ago by neal_grosskopf
Stolen from the mentioned URL - this is used to make SPRY Framework work together with MYSQL.
2
2383
posted 18 years ago by Nils
All you need todo in order to use this is just to add it to your path
0
1891
posted 18 years ago by narkisr
Everything is either true or untrue, or both true and untrue, or neither true nor untrue
0
4237
posted 18 years ago by zvasanth
This persists the dynamic classes generate by the .net serialize to disk at location
C:\Documents and Settings\A063913\ASPNET\Local Settings\Temp
Note. This will allow you to debug into the serialized classes from VS2005
1
2110
posted 18 years ago by rengber
This is an xml files that allows/disallows the cross domain communication.
1
1747
posted 18 years ago by jitendramr
A database table is basically an array of dictionary objects. As long
as all the fields are valid property list types, you can loop through
the array creating a managed object for each dictionary and setting
the values. If you have an array con...
2
2541
posted 18 years ago by zingo
This is as small as this can go:
'xs:dateTime(sql:variable("@stringDate"))'
It needs to be a literal string for the Value() function.
Xml Datatype
http://msdn2.microsoft.com/en-us/library/ms189887.aspx
Sql:Variable() Function
http://ms...
0
2480
posted 18 years ago by rengber
Was fiddling around at work one day thought this might be useful.
9
5571
posted 19 years ago by djdykes
If there will be multiple sets of these tags in a scanned XML string, you need the '?' after the '*' to specify a non-greedy (lazy) match.
4
2757
posted 19 years ago by rengber