Тёмный

Xml Tutorial for Beginners-XML JavaScript-XML Tutorial-Xml JavaScript Tutorial-Xml File-XML-Tutorial 

Software and Testing Training
Подписаться 81 тыс.
Просмотров 52 тыс.
50% 1

Опубликовано:

 

16 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 46   
@prabhudas.k2656
@prabhudas.k2656 9 лет назад
thanks bro, excellent clarity in your voice keep it up its helps many like me....
@ramonamalnupe4324
@ramonamalnupe4324 7 лет назад
Thank you, it was really helpful!
@mpmithun
@mpmithun 8 лет назад
Very nice tutorial. Easy to comprehend. The code example shown is also good.
@akshayr6281
@akshayr6281 7 лет назад
Nice video, how to write custom FetchXml report for dynamics crm, plz share some videos on that. or tell me the difference between XML and FetchXML.
@manognajoshik8465
@manognajoshik8465 4 года назад
Thanks for this student friendly tutorial sir.. please make more videos for us, god bless you.
@QA1
@QA1 4 года назад
@Manogna joshi k - Thank you. Check out my 13 videos related to programming. The RU-vid playlist link is ru-vid.com/group/PLc3SzDYhhiGVqrvE28rlJR75asbujHoUL
@dawnrahul5448
@dawnrahul5448 5 лет назад
Thank you, Sir
@TimelessKibria
@TimelessKibria 7 лет назад
Sir, Your lecture is really helpful. I did not have clear idea on relationship among XML, HTML, JavaScript. Your explanation is student friendly. Do you have any lecture on RDF, and query using SPARQL written on JavaScript or like that ? ...... Thanks in advance.
@upashanabarpatra9867
@upashanabarpatra9867 5 лет назад
Very helpful video. Please share Java Script code to read the Joining date as well!
@QA1
@QA1 5 лет назад
Many thanks. I have explained the JavaScript code in this tutorial from 20:30
@kangemanmaipmokiuah226
@kangemanmaipmokiuah226 9 лет назад
thnaks very much very helpful , good bless your good job
@QA1
@QA1 9 лет назад
Newman MMUah Many thanks for your comment.
@generalkitten2100
@generalkitten2100 6 лет назад
thank you for this informative tutorial!
@QA1
@QA1 6 лет назад
Welcome. The XML tutorial part 1 is at ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-O87VaZAN7As.html
@rw7799
@rw7799 6 лет назад
great...could do with next stage xml where the web user can use a ui search bar to query the xml .. can this be done with xslt and xsl? or would yo unormally put the xml into a database?
@امير-فتر
@امير-فتر Год назад
مشكورررررررررررر
@KillTeamHungary
@KillTeamHungary 3 года назад
I have written the in exactly line by line as you demonstrated but from document.write ("Name... It falls apart saying Element cannot have content, text not allowed here, expected data. I have no pre written java script, typed it all in by hand. Any suggestions?
@QA1
@QA1 3 года назад
Welcome to Software and Testing Training channel. You should know the exact error message by implementing JavaScript try catch. For this: 1) Before the JavaScript code, write try { 2) After the JavaScript code, write } catch(err) { document.write("Error=" + err); } Now, it should give the exact error message.
@Stride_Purple
@Stride_Purple 8 лет назад
Can you do a lesson on Java Script?
@gujarsiddharth07
@gujarsiddharth07 8 лет назад
thnx
@Stride_Purple
@Stride_Purple 8 лет назад
The readEmployees.html file doesn't run when opened in chrome. (Java script is enabled in my chrome browser)
@sharonjsc2310
@sharonjsc2310 7 лет назад
how to dynamically add values to the XML document?
@QA1
@QA1 7 лет назад
Good question! By using the appendChild() method on an existing node (for example name or dateOfJoining nodes shown in this video) in the loaded XML document. insertBefore() method is another way to add a node in the XML DOM.
@enamul1985
@enamul1985 5 лет назад
Hi! Thanks a lot for nice demonstration! I have followed step by step. But when run the html file, no data shows from the xml file. I have used notepad++ would you please suggest how I can successfully view it! Best Regards!
@QA1
@QA1 5 лет назад
Thanks for your comment and like. My readEmployee.html file uses JavaScript to open and read the employee.xml file. You need to check your html file line by line. Then in Notepad++, click Run > Launch in Firefox. If you still get no output, it may mean that there is a JavaScript error somewhere. To find out the error, you can backup your html file and then comment out from the last line onward (run it every time), until you see the error.
@ravikumar-lk5we
@ravikumar-lk5we 8 лет назад
how xml is related with learning automation testing. I have not seen is any tutorial who teaches xml in automation testing..felling confused.
@QA1
@QA1 8 лет назад
XML is used to store and send or receive data. In test automation, we have the choice to store the test data in XML format. Further, we can have the test automation generate test reports in XML format.
@mylearning8955
@mylearning8955 8 лет назад
Are you using a Server to read the xml? cuz I'm getting issues with xmlObject.send line. Thanks!
@QA1
@QA1 8 лет назад
+MyLearning No, I have the XML file available locally. The open() method gives the type of our request. It is the send() method that actually reads the XML.
@mylearning8955
@mylearning8955 8 лет назад
I will need to check what is happening here cuz code it's just not running after that line. var xmlObject, docObject, name, dateOfJoining; xmlObject = new XMLHttpRequest; alert ("new XMLHttpRequest -> complete"); xmlObject.open("GET", "employees.xml", false); alert ("xmlObject.open -> complete"); xmlObject.send(); alert ("xmlObject.send -> complete");
@QA1
@QA1 8 лет назад
+MyLearning Are you sure about the filename? Other than that, your code is working fine. My only suggestion is to call the XMLHttpRequest method with parentheses like so. xmlObject=new XMLHttpRequest();
@mylearning8955
@mylearning8955 8 лет назад
+Software and Testing Training It just worked but only for Firefox, IE & Chrome do not work and I'm not sure why. I have to take a look at that issue. As of now it's working fine.
@QA1
@QA1 8 лет назад
+MyLearning Did you use "Launch in IE" in Notepad++? I opened IE directly and browsed to employee.xml. It took a second but opened the file. I have IE 11.
@technologystrong5190
@technologystrong5190 5 лет назад
When I enter the java script in my html, nothing happens and when I check the console, it shows some kind of policy violation. It does not work for other web browsers either.
@QA1
@QA1 5 лет назад
There are several kinds of "policy violation" errors. You can google with the exact error number, error message and your browser name.
@technologystrong5190
@technologystrong5190 5 лет назад
@@QA1 , Thanks for your reply!
@kolaharish5787
@kolaharish5787 9 лет назад
how do we transport and share the data using xml???
@QA1
@QA1 9 лет назад
+Kola Harish Many software transport data using XML. For example, web services get calls in XML and output results in XML. The XML data is sent to the recipient like a browser, an office application or another server.
@ilmat4180
@ilmat4180 8 лет назад
What is "proper case notation"?
@QA1
@QA1 8 лет назад
+Ilma T The first letter of every word is capitalized e.g. Counter, FirstName, EmployeesArray.
@ilmat4180
@ilmat4180 8 лет назад
+Software and Testing Training Isn't that the same as Camel Case notation?
@QA1
@QA1 8 лет назад
+Ilma T No, in camel case, the first letter is in lower case and the first letter(s) of other words are in uppercase e.g. docObject, dateOfJoining. Therefore, the only difference between proper case and camel case is the very first letter which is capitalized and in lower case respectively. Hope this clarifies it.
@mejiger
@mejiger 7 лет назад
Why give example with European names? give example in Indian names forget those ppl. Good tutorial though
@QA1
@QA1 7 лет назад
Hi Mej, actually, I didn't think on those lines. I used universal names in this video because my viewers are from many countries. Most viewers would understand such simple first names. I am glad that you liked this tutorial. Check out my playlist on common programming concepts at ru-vid.com/group/PLc3SzDYhhiGVqrvE28rlJR75asbujHoUL
@GKLIBRARYBD
@GKLIBRARYBD 4 года назад
Thank you, it was really helpful!
@QA1
@QA1 4 года назад
You are welcome. The important lines of code are the following. Next, I simply queried the docObject variable. xmlObject=new XMLHttpRequest(); xmlObject.open("GET","employee.xml",false); xmlObject.send(); docObject = xmlObject.responseXML;
Далее
Школьник угомонил бандита!
01:00
Holding Bigger And Bigger Dogs
00:18
Просмотров 16 млн
Fetching and Reading XML Data
15:06
Просмотров 117 тыс.
13.6: XML and JSON - Processing Tutorial
18:00
Просмотров 127 тыс.
XML Schema (XSD) Beginner Tutorial with Demo
9:44
Просмотров 352 тыс.
XML Basics -- for Beginners
21:09
Просмотров 406 тыс.
XML Tutorial for Beginners | What is XML | Learn XML
6:39