Tag: XSLT

  • Convert XML to JSON using XSLT

    Convert XML to JSON using XSLT

    With increasing use of separate services on the same data, the need for portable data formats aroused. XML was one of the first widely used, but lately JSON is blooming.

    I don’t have a particular bias here, both serve well in appropriate environment, although JSON carrying the same data could result in about 20% size reduction.

    So can they be interchangeable? Just recently, I needed to convert XML data into a JSON format for easier consumption on the client.

    The fastest and (sometimes) easiest way to process XML to another format is XSLT.

    (more…)
  • Matchpoint

    Matchpoint

    During 2007 and 2008 I worked on a document analysis tool called “Matchpoint”.

    The idea is to parse the document by identifying content blocks and then find certain keywords within the context. The document is tagged based on the found information.

    I did the software architecture first, creating the concepts, entities and relations,and identifying crucial parts of the system.

    The heart of the system is the parsing engine that identifies segments of document, for example education, experience, and so on. All the permutations of the segments are used, and the one that matches the most segments is selected for further analysis. Each of the recognized segments is then searched for the keywords. Each keyword has appropriate tags assigned, and this way the document is in the end tagged.

    Since the algorithm has to analyze documents in different languages, using semantic algorithms seemed a bit too complicated, so I went with regular expressions.

    The documents can be emailed or uploaded by FTP to the web server, where is a Windows service monitoring configured folder. A .NET console application is then run to convert document to plain text using IFilters, and then to run the analysis, and upload the data to the Microsoft SQL Server database in the end.

    Users can use a web application built on ASP.NET Web Forms to search and view indexed documents.

  • Adverto Mystery Shopping

    Adverto Mystery Shopping

    In the winter of 2008, I collaborated with my old friend Goran Petrović, to create a website for his company “Adverto Mystery Shopping”.

    We brainstormed the information architecture, and afterward I created a rudimentary CMS to maintain the content.

    As he was using an application for his business that was written using ASP.NET 1.1, it was a requirement for the web site as well. The markup is XHTML compatible as much as ASP.NET 1.1 WebForms allow, styled using CSS, and interaction improved using JavaScript and MooTools.

    You can have a look in more detail at www.adverto-ms.rs.

  • GTECH (formerly Finsoft)

    GTECH (formerly Finsoft)

    Finsoft is an international company producing large scale software systems. Main line products are dealing with sports betting specific demands, real-time transactions and information management.

    During my engagement, the company was acquired by the GTECH Corporation.

    I worked as a senior analyst programmer on web-oriented products – sports betting, affiliate programs, real-time data usage, payment services integration.

    For more details about the company, have a look at Finsoft and GTECH portfolios.

  • Spider

    During 2003, I was asked to create a interesting tool, a spider to walk the web pages and extract data.

    I have made an analysis of how to achieve this, and implemented it fully. My focus was to parse HTML, collect the HTTP request parameters and values, and extract the data.

    The tool can use a page with links as well as a form as a source to create possible request parameter value combinations. Then, the links within the each page will be located and parsed to append to the list of pages to be processed.

    Configurations and results are saved as XML files. I also made a viewer for the results which can be sorted on any attribute.