XSLT - Transformation of XML

  Рет қаралды 36,298

Mike Møller Nielsen

Mike Møller Nielsen

5 жыл бұрын

Transform your existing XML documents to HTML, PDF or a new XML document with a XSL file. XSLT is very handy and an elegant way of converting data into other formats.

Пікірлер: 40
@jota_coelho
@jota_coelho 3 жыл бұрын
Thank you for all your videos and for being so attentive, always coming back and helping ppl on the coments section. Your channel is pure gold. A big thank you from 🇧🇷. Wishing you all the best!
@MikesTechCorner
@MikesTechCorner 3 жыл бұрын
Thank you. Im happy to help ppl and messages like that gives energy :)
@danstoian7721
@danstoian7721 3 жыл бұрын
Wow, believe it or not I actually had a whole "XML Technologies" course at university, they never told us a browser is capable of making XSLT transformations, we did it in some web app.... Thanks!
@MikesTechCorner
@MikesTechCorner 3 жыл бұрын
Im happy to hear so. Just use IntelliJ community edition and you will be happy. :-)
@ranaphadiboys5516
@ranaphadiboys5516 3 жыл бұрын
@@MikesTechCorner hi do you have a idea of Table of cases from multiple chapters. Send me a logic on rananeeraj15dec@gmail.com
@saransrinivas8551
@saransrinivas8551 8 ай бұрын
Very nice Mike. Got the concept in a very little time. Thanks,
@MikesTechCorner
@MikesTechCorner 8 ай бұрын
Thank you for watching
@alonsoquinones6979
@alonsoquinones6979 3 жыл бұрын
Another interesting topic (candidate for a youtube video) would be to go from one XSL to modularize XSL in terms of using or . This is very good when code grows and you want to split your solution in smaller chunks..
@MikesTechCorner
@MikesTechCorner 3 жыл бұрын
Great suggestion! Added to backlog
@teachmehowtodoge1737
@teachmehowtodoge1737 3 жыл бұрын
This is great. Thanks for sharing. :)
@MikesTechCorner
@MikesTechCorner 3 жыл бұрын
My pleasure! Thank you for watching
@user-jm9iw6mm9o
@user-jm9iw6mm9o 7 ай бұрын
Thanks
@MikesTechCorner
@MikesTechCorner 7 ай бұрын
Welcome
@alonsoquinones6979
@alonsoquinones6979 3 жыл бұрын
Great video. Would be great to have a video that walks through XSLT automation, thus triggering the XSLT, say from terminal, so the transformation does not depend on a Java IDE.
@MikesTechCorner
@MikesTechCorner 3 жыл бұрын
Good idea. Added to backlog
@medtube1223
@medtube1223 4 жыл бұрын
thanks that is really helpful for me
@MikesTechCorner
@MikesTechCorner 4 жыл бұрын
Glad to hear that
@salonygupta5096
@salonygupta5096 Жыл бұрын
hi, lets suppose i have xmlns attribute in one of the parent tag : //child tags so, i am facing issue in getting the child tag value. how to resolve this?
@MikesTechCorner
@MikesTechCorner Жыл бұрын
I don't know
@gk1556
@gk1556 2 жыл бұрын
thank you for the helpful content, I have the problem that my browser, after describing the type, doesn't convert the xls, its only show me my xml content, do you maybe know where is the issue?
@MikesTechCorner
@MikesTechCorner 2 жыл бұрын
I hope you find the solution. The transformation is very sensitive. First try with a very simple example and see if it works.
@alanhorton2478
@alanhorton2478 3 жыл бұрын
I am receiving large data returns from an API (114 MB). I have tried ADO - failed abysmally. I tried reshaping the data using LiNQ for XML - not much better at performance! So, now I am interested in the performance of XSLT against Big Data API. I use NewtonSoft to deserialize the JSon into XML. I have a result document that looks like: about 30 data elements record repeats between 10,000 records to ~ 50,000 records. The DOM naturally goes to sleep chewing on these files. I have tried converting the JSon to XDocuments containing XElements and LiNQ doesn't perform all that well on these unformatted chunks of data. Would XSLT perform any better? Or, would this best be served to throw it up on AWS to a DocumentDB resource? Upsize it, index it and transform it with the Horsepower of AWS?
@MikesTechCorner
@MikesTechCorner 3 жыл бұрын
You should add support for paging in your api. So you can page 7 with a for instance a pagesize of 1000 records.
@amirulazmy1059
@amirulazmy1059 3 жыл бұрын
Hi do you have any tutorial on generating bar chart using XSL ?
@MikesTechCorner
@MikesTechCorner 3 жыл бұрын
No :-) Sorry.
@macton182
@macton182 Жыл бұрын
Hello Mike. Thank you for the videos, very helpful! I have a tricky question: Instead of having this XML: Cactus Coconut Palms Grass you have this XML: 1 2 3 Every Plant in the XML is shown as a code (1, 2, 3) The Plant values of the code is stored in an external-file (plant.json or plant.xml) In external-file the plants are listed with the "Key" and "Value" (for example: Key "1" = Value "Cactus", ...) Is it possible to link in the xsl-File to the external-file (plant.json or plant.xml) and get the values from the content? It happens to work with a large amount of data so the idea was to keep the XSL lightweigt and store the "plant"-Data in a external-file. Other xsl-Files can then also use to the extern-file. thank you, tom
@MikesTechCorner
@MikesTechCorner Жыл бұрын
You need an XML file with the data with a transformation declaration in the top. Then the browser will take the transformation template and apply it to the XML and generate a new file from that.
@MikesTechCorner
@MikesTechCorner Жыл бұрын
It sounds like you want to code a small python or javascript program that does that. :) Npm can run your javascript.
@macton182
@macton182 Жыл бұрын
@@MikesTechCorner Thanks for your reply. I am a beginner in xml and xsl, but still looking for ways to simplify. When i am deeper into the topic, i try it with js. npm is running :)
@MikesTechCorner
@MikesTechCorner Жыл бұрын
@@macton182 Sounds good.
@kaanbahadir1636
@kaanbahadir1636 Жыл бұрын
I would really appreciate if you could do a video about creating an Output with : Xslt into Spreadsheet(Excel-Output). Unfortunatelly There are only videos about XSLT into HTML.
@MikesTechCorner
@MikesTechCorner Жыл бұрын
Added to backlog. Can't promise when I have time to do it.
@sivakokkeragadda1869
@sivakokkeragadda1869 4 жыл бұрын
I Mike..it's really great explanation..Now i have to add a image in top left html report..please suggest any explanation..
@MikesTechCorner
@MikesTechCorner 4 жыл бұрын
Just add the html-tag for an image. Add
@joewarwick430
@joewarwick430 Жыл бұрын
xsl:template match= is replace a for loop also.
@MikesTechCorner
@MikesTechCorner Жыл бұрын
Good point.Yes. I might make another XSLT video soon
@joewarwick430
@joewarwick430 Жыл бұрын
@@MikesTechCorner yeah cool; with the apply-templates * in :)
@akhilraj-lb3xj
@akhilraj-lb3xj 4 жыл бұрын
Hi Mike I've a requirement that i have to convert a CSV file to a xml file with xslt. I have to us that xslt file to load as a transform file in my AX Aif File system adapter services. i have tried couple of code that i got from a blog, couldnt worked out well, all i have a ax table that need to be filled with values of a csv file from a shared parth on a network by aif concept in AX 2012.
@MikesTechCorner
@MikesTechCorner 4 жыл бұрын
That is an interesting problem. You can by default only convert xml as source with xslt. I would write a small java converter that uses OpenCSV to handle the .csv source file. Then I would convert it to XML with Jackson. I have made both videos on OpenCSV and Jackson XML which are available on my channel.
@akhilraj-lb3xj
@akhilraj-lb3xj 4 жыл бұрын
@@MikesTechCorner thanks a lot Mike..I'll definitely refer those.. Thanks for considering my concern...
Xml Schema Defintion - XSD
34:21
Mike Møller Nielsen
Рет қаралды 35 М.
11. Transform XML to HTML by using XSL/XSLT
15:57
Brandan Jones
Рет қаралды 71 М.
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 10 МЛН
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 44 МЛН
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 18 МЛН
XML and XSLT Transformation Explained
36:00
Chris Lam
Рет қаралды 136 М.
Webinar: Introduction to XSLT using Oxygen XML Editor
1:21:07
oxygenxml
Рет қаралды 12 М.
XSLT XPath Tutorial
1:08:20
arbitrarytechnology
Рет қаралды 44 М.
Fetching and Reading XML Data
15:06
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 116 М.
Transform JSONtoXML Message in IBM Datapower using xslt
24:36
TechMart
Рет қаралды 4,1 М.
Школа программистов: XSLT, XPath
1:41:10
XML Schema (XSD) Beginner Tutorial with Demo
9:44
Automation Step by Step
Рет қаралды 344 М.
XSL and XSLT for XML (XML Tutorial - Part 5)
21:11
QAFox
Рет қаралды 27 М.
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 10 МЛН