Real XPath & XSLT Application

Can any specialist indicate any application in the real world where he used this XPath and XSLT for any logic / presentation?

He creates an excellent request among some people with whom I spoke, and therefore I also want to know about it. I want this question to create a starting point from where new developers will bring home some practical experience.

Any help is greatly appreciated.

If possible, try to indicate how XPath and XSLT interpret your data for your application that you want to share with us. It will be useful for others to understand both the power of XSLT (& XPath) and your application.

+4
source share
8 answers

Amaxus, Sitecore, and Umbraco content management systems use XSLT as a method of rendering content into markup. I often use it for these purposes. Can you more specifically find out what you want to know?

+3
source

My company's main application is a data entry program used by court clerks. The data entered into the ADO.NET data set in memory, and the program generates in the user interface many different data views (including minute orders and substitution orders) for reading. These views are created in HTML by running various XSLT transformations in the XML representation of the dataset.

XSLT and XPath are very well suited for this kind of problem. There is a small part of the preliminary processing that we must perform according to the data (if the defendant is given 18 months on one charge and 25 months on the other, the order should say that he is sentenced to three years and seven months, and although it may be possible to do such a calculation in XSLT is not worth figuring out how), but in general, any business rule that users have thrown at us over the past few years was easy to implement. (“A verdict on an extradition order which indicates that the defendant will be transferred to a new jurisdiction if he is in custody must also indicate that he has been released from future court decisions if there are any planned appearances in which the court required him to appeared "turns out to be something a simple XPath query can handle.)

And it's fast. We regenerate read-only HTML each time the user clicks on the tab containing the view, and you really cannot tell.

+3
source

Not sure if you are trying to return. But I used XPath and XSLT in a mid-sized banking application. Mostly because the architects appointed, we should use SOAP / JMS or SOAP / HTTP, and the platform was WebSphere Process Server and WebSphere Message Broker.

+2
source

OpenOffice.org uses XSLT filters to export its own XML format to a bunch of different formats (including PDF).

+2
source

We use XSLT as almost middleware because we have a lot of data available to us in XML (mainly in articles, etc.). Thus, to convert these XML files to xHTML, or at least some of them, we use XSLT. Thus,

XML File -> (XSLT + some additional HTML) -> xHTML Transition Pages.

In addition, there are some internal comparisons and the conversion of one article format to another.

Hope this helps.

+2
source

I used xslt / xpath in one of my projects. we developed a Windows gadget that receives an xml response to a web service. This xml is then parsed into xhtml.

Check out this open source umbraco project . They use xslt for templates. Check it out for one of the widely used examples.

+2
source
+2
source

I use it to create websites as a replacement for .aspx pages and as a viewing mechanism in MVC:

http://maxtoroq.imtqy.com/myxsl/

+1
source

Source: https://habr.com/ru/post/1310607/


All Articles