Tag: JSON / JAVA / XML

Community

Recursion in XSLT

(Martynas Jusevièius) XSLT, which is great for web templating, is a functional language and has no loops or mutable variables. These constructs have to be replaced with recursion and parameters. For example, if you would like to loop until a certain number and print the counter, you would have to us

Community

LINQ to XML in 3 easy steps

(Shahar A) Linq to xml provides an easy query interface for XML files. In the following example I will demonstrate how to use it for reading and writing data from/to xml file, using the file for persistency maintaining a list of objects. This can be used for storing application settings, storing per