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
867
posted 16 years ago by donkeykong
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
606
posted 16 years ago by tommorris
My Favorites eclipse plugins: PDT, Subversive, Aptana and Symfoclipse
0
613
posted 16 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
1220
posted 16 years ago by neal_grosskopf
Stolen from the mentioned URL - this is used to make SPRY Framework work together with MYSQL.
2
1012
posted 16 years ago by Nils
All you need todo in order to use this is just to add it to your path
0
850
posted 16 years ago by narkisr
Everything is either true or untrue, or both true and untrue, or neither true nor untrue
0
2801
posted 16 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
918
posted 16 years ago by rengber
This is an xml files that allows/disallows the cross domain communication.
1
776
posted 17 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
949
posted 17 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
1323
posted 17 years ago by rengber
Was fiddling around at work one day thought this might be useful.
9
3327
posted 17 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
1262
posted 17 years ago by rengber