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
1291
posted 17 years ago by donkeykong
example code only... save to [path.to.profile]/searchplugins/
1
1209
posted 17 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
990
posted 17 years ago by tommorris
My Favorites eclipse plugins: PDT, Subversive, Aptana and Symfoclipse
0
918
posted 17 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
1770
posted 17 years ago by neal_grosskopf
Stolen from the mentioned URL - this is used to make SPRY Framework work together with MYSQL.
2
1688
posted 17 years ago by Nils
All you need todo in order to use this is just to add it to your path
0
1284
posted 17 years ago by narkisr
Everything is either true or untrue, or both true and untrue, or neither true nor untrue
0
3377
posted 17 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
1440
posted 17 years ago by rengber
This is an xml files that allows/disallows the cross domain communication.
1
1171
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
1689
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
1791
posted 18 years ago by rengber
Was fiddling around at work one day thought this might be useful.
9
4448
posted 18 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
2041
posted 18 years ago by rengber