9. XPath examples and demonstrations in XML

  Рет қаралды 32,380

Brandan Jones

Brandan Jones

Күн бұрын

Пікірлер: 35
@lhxperimental
@lhxperimental 4 жыл бұрын
I have disliked XML for my entire career of 13 years. Partly because I never understood how it was really meant to be used. I just saw it as bloated data container format. Also I never understood the top few lines of XML. I had never worked on a XML heavy project, so never needed to dive deep...until now. Your tutorial series was an eye opener. I now understand what wonderful things XMLs and XSDs are. Thank you!
@discospiff
@discospiff 4 жыл бұрын
Thanks! I appreciate the feedback. I had a similar journey... coming from the flat file or comma separated value world, I didn't fully grasp XML, until I saw it used for data import and interchange. Then, when I saw the role that XSD can play in validating XML data (essentially, a pre-validation step), it became very clear how XML can be used to ensure you have good data coming in. When you look at it through the glasses of HTML, it's even more interesting. There's a DTD for several HTML styles. These describe the rules of HTML which many people know from memory, but may not be aware there's an official validation file for it. While the world has largely moved to JSON lately, and JSON does have a schema, I don't think it's fully as mature as XSD. You have to choose OpenAPI or JSON Schema format, and I rarely see anyone use it as input validation. It's more a matter of, "here's what your JSON should look like" than "this field should be a number greater than 2, less than 6" as you can do in XSD. Granted, you can do that with JSON schema; it's just not often that I see anyone use it that way. I suspect we'll get there over time. Thanks for watching! -Brandan
@GoGroomer
@GoGroomer 5 жыл бұрын
These tips are great! The free online helpful websites are exactly what i needed to validate my code-Thank you:)
@discospiff
@discospiff 5 жыл бұрын
Excellent! Glad it helped. I occasionally go back to this video so I'll remember to use the sites. :)
@prasadkancharlaautomation2874
@prasadkancharlaautomation2874 3 жыл бұрын
Hi, thanks for the video, i am getting XPath set is empty when i try>>:: xmllint --xpath "//string to fetch" filepathxml what could be the problem?
@koffibanan3099
@koffibanan3099 6 жыл бұрын
Thanks Brandan! I'm really learning a lot from this series! Best regards, from Belgium!!
@discospiff
@discospiff 6 жыл бұрын
Excellent, glad to hear it helps! I visited Brussels two years ago!
@ronansullivan5036
@ronansullivan5036 3 жыл бұрын
You probably dont give a damn but does someone know a way to log back into an Instagram account..? I somehow forgot the account password. I would love any tips you can offer me
@finnleykaiden467
@finnleykaiden467 3 жыл бұрын
@Ronan Sullivan instablaster :)
@ronansullivan5036
@ronansullivan5036 3 жыл бұрын
@Finnley Kaiden I really appreciate your reply. I got to the site through google and Im trying it out now. I see it takes quite some time so I will reply here later when my account password hopefully is recovered.
@ronansullivan5036
@ronansullivan5036 3 жыл бұрын
@Finnley Kaiden It did the trick and I now got access to my account again. Im so happy! Thank you so much, you saved my account!
@Maazin5
@Maazin5 Жыл бұрын
This is the video I needed! Could not get my head around xpath until now. Thanks you 😊
@discospiff
@discospiff Жыл бұрын
Awesome! XPATH is a very powerful way to get what you want out of an XML document. I'm glad this video helped you!
@wasabulldog7755
@wasabulldog7755 3 жыл бұрын
Can i use this for text or its only for numbers?
@discospiff
@discospiff 3 жыл бұрын
What do you want to do with the text?
@wasabulldog7755
@wasabulldog7755 3 жыл бұрын
@@discospiff I got this James sunshine Lisa yes James Test I only want to extrude the titles Who have the author James.
@deshpasheeto192
@deshpasheeto192 5 жыл бұрын
Excellent and well explained sir... Thank you for the video. It was exactly what I was looking for...😊
@discospiff
@discospiff 5 жыл бұрын
Glad it helped! Thanks.
@deekshantmalvi4612
@deekshantmalvi4612 6 жыл бұрын
Woah.. thanks a lot..you saved my college exams. and please Keep Uploading : )))
@felipealvarez1982
@felipealvarez1982 5 жыл бұрын
a backslash \ points backwards (left), forward slash / points forward (right)
@discospiff
@discospiff 5 жыл бұрын
Thanks for the explanation. I've found that, even if I understand it, my audience might not. If I say, "backslash", 1/3 wil get it right, 1/3 wil get it wrong, and 1/3 will ask which one it is. :)
@pawemotylski9278
@pawemotylski9278 2 жыл бұрын
I say division/not division sign, to clarify😀
@kobidkunwar627
@kobidkunwar627 2 жыл бұрын
Thank you. It's Exactly what I need.
@discospiff
@discospiff 2 жыл бұрын
I'm glad it helped! Thanks.
@schlomomushnik3162
@schlomomushnik3162 6 жыл бұрын
Brandan! This is excelent! Thanks
@discospiff
@discospiff 6 жыл бұрын
Glad it helped! Thanks for the comments!
@felixforshort9805
@felixforshort9805 3 жыл бұрын
Great stuff
@discospiff
@discospiff 3 жыл бұрын
Thanks! XPath is great for getting information quickly and accurately out of an XML document.
@sachendra06
@sachendra06 3 жыл бұрын
@@discospiff Hi Bradan, Can we update a specific attribute value using xmllint ? if yes, I would like to know the way forward. Thanks in Advance !
@duckman6541
@duckman6541 3 жыл бұрын
practical and helpful
@discospiff
@discospiff 3 жыл бұрын
Glad it helped! Thanks for the comment.
@northkirra
@northkirra 6 жыл бұрын
Good stuff, thanks a lot.
10. Overview of XSLT
7:49
Brandan Jones
Рет қаралды 11 М.
1. XSD Overview: Why use XSD? What is a simple type?
12:12
Brandan Jones
Рет қаралды 49 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
XML Schema Definition Tutorial
1:15:32
arbitrarytechnology
Рет қаралды 42 М.
Java Online Training | Parsing XML using Java DOM Parser
14:10
Firebox Training
Рет қаралды 221 М.
XSLT XPath Tutorial
1:08:20
arbitrarytechnology
Рет қаралды 46 М.
XSLT
30:13
Vidya-mitra
Рет қаралды 12 М.
Xml Schema Defintion - XSD
34:21
Mike Møller Nielsen
Рет қаралды 36 М.
XSL techniques for XML-to-XML transformations
59:39
Scriptorium Publishing
Рет қаралды 41 М.
XPath and C#: Get data from an XML Document
12:40
Brandan Jones
Рет қаралды 21 М.
11. Transform XML to HTML by using XSL/XSLT
15:57
Brandan Jones
Рет қаралды 72 М.
XPath Tutorial For Dummies [New Version Available!]
17:06
Payload
Рет қаралды 26 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН