(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
Tag: JSON / JAVA / XML
Swordfish: Eclipse’s OSGi-based SOA framework
(Daniel Rubio) It’s a well known fact among those working on SOA projects there is no such thing as “SOA in a box” or a silver bullet for achieving an SOA, so much as it is a combination of software infrastructure, design philosophy, tools and, of course, buy in from the top brass at any organizatio
VB XML Cookbook, Recipe 3: Identity Transforms
(Doug Rothaus) An identity transform in XSLT does just what the name implies: replace the identity of an element or attribute with a new identity. Identity transforms are especially critical when dealing with XML markup that is less rigid in its structure. Consider a documentation structure for news
Stock quotes, CSV, XQuery and Web services
(Minollo) Not long ago I could rely on a variety of free Web services to fetch the semi-live quotes of my preferred stock tickers. Unfortunately, one by one all those Web services have either disappeared or started requiring a subscription… and for writing a few demos now and then, the subscriptio
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
Tracking Events Using a Semi-Structured Repository
(James Leigh) Have you ever used a multi-user system and found yourself wondering, "How did this get changed?" or, "Who created this and why?" Helping your users track the system changes and the reasons for these changes is an important part of running an efficient business. However, these questions
Performing XSLT Transformations inside the Database
Now that you have the employees XSL stylesheet stored in the database and the xmlusr schema is permitted to access the hr.employees table, you can create a script that will instruct the database to build an HTML page based on the data stored in hr.employees.
SQL Server 2005: Reconstructing stored XML Schema definitions
(Chris Randall) A problem when creating an XML Schema collection in SQL Server 2005 is finding a convenient way to see the intact XSD later. XML Schema collections are shredded into system tables, and can’t be viewed in their original form.
Automating XML Updates for Web Services
(Sean Blanton) As a follow up to my article on automating XML updates, I’d like to report that I did use Excel and Perl’s XML::Twig to successfully generate XML descriptors for my web service consumer, and it was a lot easier than I thought. I’m using XFire 1.2.6 web services stack running under JBo
XML Serialization and deSerialization
(mukeshkumar123) This is a sample windows application on how .NET does serialization and deserialization of strongly typed custom collection, while handling derived collection items. Implementers are encouraged to extend this base class instead of creating their own.
