XSLT - Transformation of XML

  Рет қаралды 37,661

Mike Møller Nielsen

Mike Møller Nielsen

Күн бұрын

Пікірлер: 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 :)
@saransrinivas8551
@saransrinivas8551 Жыл бұрын
Very nice Mike. Got the concept in a very little time. Thanks,
@MikesTechCorner
@MikesTechCorner Жыл бұрын
Thank you for watching
@danstoian7721
@danstoian7721 4 жыл бұрын
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 4 жыл бұрын
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
@teachmehowtodoge1737
@teachmehowtodoge1737 4 жыл бұрын
This is great. Thanks for sharing. :)
@MikesTechCorner
@MikesTechCorner 4 жыл бұрын
My pleasure! 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
@macton182
@macton182 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
It sounds like you want to code a small python or javascript program that does that. :) Npm can run your javascript.
@macton182
@macton182 2 жыл бұрын
@@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 2 жыл бұрын
@@macton182 Sounds good.
@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
@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
@Ikbneinmudafcker
@Ikbneinmudafcker 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.
@medtube1223
@medtube1223 4 жыл бұрын
thanks that is really helpful for me
@MikesTechCorner
@MikesTechCorner 4 жыл бұрын
Glad to hear that
@amirulazmy1059
@amirulazmy1059 3 жыл бұрын
Hi do you have any tutorial on generating bar chart using XSL ?
@MikesTechCorner
@MikesTechCorner 3 жыл бұрын
No :-) Sorry.
@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.
@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...
@joewarwick430
@joewarwick430 2 жыл бұрын
xsl:template match= is replace a for loop also.
@MikesTechCorner
@MikesTechCorner 2 жыл бұрын
Good point.Yes. I might make another XSLT video soon
@joewarwick430
@joewarwick430 2 жыл бұрын
@@MikesTechCorner yeah cool; with the apply-templates * in :)
@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
@kaanbahadir1636
@kaanbahadir1636 2 жыл бұрын
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 2 жыл бұрын
Added to backlog. Can't promise when I have time to do it.
@PingpongPoof-c3r
@PingpongPoof-c3r Жыл бұрын
Thanks
@MikesTechCorner
@MikesTechCorner Жыл бұрын
Welcome
Xml Schema Defintion - XSD
34:21
Mike Møller Nielsen
Рет қаралды 36 М.
XSLT XPath Tutorial
1:08:20
arbitrarytechnology
Рет қаралды 46 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
XML Schema Definition Tutorial
1:15:32
arbitrarytechnology
Рет қаралды 42 М.
XSLT XML transformation to HTML with CSS grid styling
28:36
Mike Møller Nielsen
Рет қаралды 3,5 М.
11. Transform XML to HTML by using XSL/XSLT
15:57
Brandan Jones
Рет қаралды 72 М.
9. XPath examples and demonstrations in XML
13:43
Brandan Jones
Рет қаралды 32 М.
Spring Boot  Xml Serialization with Jackson
30:35
Mike Møller Nielsen
Рет қаралды 14 М.
XSL techniques for XML-to-XML transformations
59:39
Scriptorium Publishing
Рет қаралды 41 М.
I built 10 web apps... with 10 different languages
14:23
Fireship
Рет қаралды 1,7 МЛН
XSLT Beginner Tutorial with Demo
14:56
Automation Step by Step
Рет қаралды 224 М.
CSS Crash Course For Absolute Beginners
1:25:11
Traversy Media
Рет қаралды 4,5 МЛН