Skip to content

What is Normalization in XML?

Can anyone please explain me what exactly is normalization with some simple example.Please explain all the things that are done in the process of Normalizing in XML?

Also about the java API in org.w3c.dom.Node public void normalize().What this method will do.Please explain clearly.
What is the use of normalizing ? What is the advantage of normalizing?

32 Comments

  1. iluxa wrote:

    xml like this

    <text>hello world!!!</text>

    could be represented by a tree like this:

    - Node: type=node, name=text
    — Node: type=text, value=""
    — Node: type=text, value="hello"
    — Node: type=text, value=" "
    — Node: type=text, value="world!!!"
    — Node: type=text, value=""

    or like this
    - Node: type=node, name=text
    — Node: type=text, value="hello world"
    — Node: type=text, value="!!!"

    or like this
    - Node: type=node, name=text
    — Node: type=text, value="hello world!!!"

    and they all describe the same XML. now, the last example is normalized, the first two are not. A normalized node is such where there are no Text children with empty text (since they can be thrown away), and no adjacent Text chlidren (since they can be merged into one).

    ***

    the reason it’s useful is that in normalized form, queries like

    "get all nodes whose text is like "*ello worl*" will fail, but in normalized form, they’ll work

    Wednesday, February 24, 2010 at 1:23 am | Permalink
  2. SAgirl wrote:

    Normalization in XML or UML?
    There is a big difference

    Wednesday, February 24, 2010 at 1:23 am | Permalink
  3. This is really interesting, You’re a very skilled blogger. I have joined your feed and look forward to seeking more of your magnificent post. Also, I’ve shared your website in my social networks!

    Wednesday, November 9, 2011 at 6:26 am | Permalink
  4. yes this article is true ! visit us auvergne conseil

    Thursday, November 10, 2011 at 10:00 pm | Permalink
  5. Thank you for the auspicious writeup. It in fact was a amusement account it. Look advanced to more added agreeable from you! However, how can we communicate?

    Saturday, November 12, 2011 at 8:27 pm | Permalink
  6. Wonderful blog! I found it while browsing on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Many thanks

    Monday, November 14, 2011 at 4:30 am | Permalink
  7. Lena Hovey wrote:

    Need to share this regard for ones kindness for anyone that requirement guidance on this particular one discipline. Your special persistence for moving the answer along has been exceptionally functional and possesses frequently empowered the majority of people just like me to quickly attain their dreams. Your own incredible informative details will involve a great deal to me and also in order to this competitors. Thank you quite a bit; from all of people.

    Thursday, November 17, 2011 at 12:41 am | Permalink
  8. Bonjour from Cannes, France – We know for sure that our French members will appreciate what you are writing here with this post, What is Normalization in XML? | Learn XML. This is why your website, http://www.learnxmlws.com/what-is-normalization-in-xml is now promoted on our ultimate website list – go and see by yourself on http://www.prix-maison-en-bois.fr/top-sites/. Well done for the good work

    Thursday, November 17, 2011 at 11:33 pm | Permalink
  9. Apple now has Rhapsody as an app, which is a great start, but it is currently hampered by the inability to store locally on your iPod, and has a dismal 64kbps bit rate. If this changes, then it will somewhat negate this advantage for the Zune, but the 10 songs per month will still be a big plus in Zune Pass’ favor.

    Wednesday, November 23, 2011 at 11:55 am | Permalink
  10. Rodrick thanks for sharing this! My extensive google search has already been paid using top quality awareness to share with you together with my own relatives.

    Wednesday, November 23, 2011 at 9:30 pm | Permalink
  11. Hi there! It seems as though we both have a interest for the same thing. Your blog, “What is Normalization in XML? | Learn XML” and mine are very similar. Have you ever thought of authoring a guest post for a related blog? It will definitely help gain publicity to your website (my website recieves a lot of targeted traffic). If you’re interested, email me at: Treen@gmail.com. Appreciate it

    Thursday, November 24, 2011 at 8:59 am | Permalink
  12. Nicky Slivka wrote:

    I not to mention my guys have been taking note of the nice thoughts found on your web page and so at once came up with a terrible suspicion I had not thanked you for those tips. Most of the people are already absolutely thrilled to read through them and already have in reality been loving them. Thanks for turning out to be really thoughtful and also for having these kinds of cool useful guides most people are really needing to be aware of. My honest regret for not expressing appreciation to you sooner.

    Saturday, November 26, 2011 at 2:40 am | Permalink
  13. A thoughtful insight and ideas I will use on my website. You’ve obviously spent a lot of time on this. Congratulations!

    Sunday, November 27, 2011 at 8:07 am | Permalink
  14. Hello from Paris, France – We know that our French readers will enjoy what you propose here with this post, What is Normalization in XML? | Learn XML. This is the reason why your blog, http://www.learnxmlws.com/what-is-normalization-in-xml/ is now featured on our best website list – check it by yourself on http://www.prix-maison-en-bois.fr/top-sites/. Well done for the good work

    Tuesday, November 29, 2011 at 8:50 am | Permalink
  15. Odell wrote:

    It is a awesome site!

    Wednesday, December 7, 2011 at 4:24 pm | Permalink
  16. A person created some reasonable factors there. I seemed online for that problem along with situated the majority of people will go in conjunction with along with your site.

    Wednesday, December 7, 2011 at 4:44 pm | Permalink
  17. I agree completely with what you wrote. Good stuff. Keep it going..

    Thursday, December 8, 2011 at 3:10 am | Permalink
  18. Hi there I am so grateful I found your webpage, I really found you by accident, while I was searching on Bing for something else, Anyhow I am here now and would just like to say kudos for a marvelous post and a all round thrilling blog (I also love the theme/design), I don’t have time to read through it all at the moment but I have book-marked it and also included your RSS feeds, so when I have time I will be back to read much more, Please do keep up the fantastic work.

    Sunday, December 11, 2011 at 11:57 am | Permalink
  19. Awesome Site , guys! Rewarding Information aswell. Bookmarked

    Sunday, December 11, 2011 at 6:48 pm | Permalink
  20. women shoes wrote:

    My neighbor and I were simply debating this specific subject, hes normally in search of to show me incorrect. Your view on that is nice and precisely how I actually feel. I simply now mailed him this website online to indicate him your individual view. After trying over your web site I guide marked and shall be coming again to read your new posts!

    Monday, December 12, 2011 at 6:28 am | Permalink
  21. I was curious if you ever thought of changing the page layout of your blog? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having 1 or 2 pictures. Maybe you could space it out better?

    Monday, December 12, 2011 at 7:01 am | Permalink
  22. Wonderful site. Lots of helpful info here. I am sending it to a few buddies ans also sharing in delicious. And of course, thanks to your sweat!

    Monday, December 12, 2011 at 9:51 am | Permalink
  23. With havin so much written content do you ever run into any problems of plagorism or copyright violation? My website has a lot of completely unique content I’ve either written myself or outsourced but it looks like a lot of it is popping it up all over the internet without my authorization. Do you know any ways to help protect against content from being ripped off? I’d really appreciate it.

    Monday, December 12, 2011 at 1:24 pm | Permalink
  24. Woah! I’m really digging the template/theme of this site. It’s simple, yet effective. A lot of times it’s tough to get that “perfect balance” between superb usability and visual appeal. I must say you have done a very good job with this. Also, the blog loads extremely fast for me on Chrome. Outstanding Blog!

    Monday, December 12, 2011 at 4:47 pm | Permalink
  25. attorneys wrote:

    About Nursing Licensed Practical Nurses are commonly known as LVNs Licensed Vocational Nurses in Texas & California, as RPNs Registered Practical Nurses in Ontario, Canada. They are also known as ENs Enrolled Nurses in countries like New Zealand & Australia along with SENs State Enrolled Nurses in the United Kingdom.

    Monday, December 12, 2011 at 6:44 pm | Permalink
  26. My developer is trying to convince me to move to .net from PHP. I have always disliked the idea because of the expenses. But he’s tryiong none the less. I’ve been using WordPress on various websites for about a year and am nervous about switching to another platform. I have heard very good things about blogengine.net. Is there a way I can import all my wordpress content into it? Any help would be really appreciated!

    Tuesday, December 13, 2011 at 12:54 am | Permalink
  27. An interesting discussion may be worth comment. I think that you can write more on this topic, it might be considered a taboo subject but normally consumers are too little to chat on such topics. To another location. Cheers

    Tuesday, December 13, 2011 at 10:48 am | Permalink
  28. I was very pleased to find this site. This is an intelligent and well written article, you must have put a fair amount of research into writing this. Thank you

    Wednesday, December 14, 2011 at 10:31 am | Permalink
  29. I’m not sure why but this website is loading incredibly slow for me. Is anyone else having this issue or is it a problem on my end? I’ll check back later and see if the problem still exists.

    Wednesday, December 14, 2011 at 10:36 am | Permalink
  30. Astraweb wrote:

    Hello! I know this is kinda off topic but I was wondering which blog platform are you using for this site? I’m getting tired of WordPress because I’ve had issues with hackers and I’m looking at options for another platform. I would be great if you could point me in the direction of a good platform.

    Wednesday, December 14, 2011 at 4:30 pm | Permalink
  31. wii softmod wrote:

    Does your website have a contact page? I’m having a tough time locating it but, I’d like to shoot you an e-mail. I’ve got some creative ideas for your blog you might be interested in hearing. Either way, great site and I look forward to seeing it grow over time.

    Wednesday, December 14, 2011 at 7:27 pm | Permalink
  32. inetesrting Tir przygniótl samochód. Ogromny korek na DK zwrot podatku z wielkiej brytanii stosunek ilosci slów kluczowych powyzej 10 pozycji zwrot podatku z wielkiej brytanii Witam Serdecznie, Pracuje na umowe zlecenie P60 this Aby zmienic adres IP dla subdomeny, nalezy ja dodac do panelu DirectAdmin zwrot podatku z holandii zwrot

    Wednesday, December 14, 2011 at 7:33 pm | Permalink

Post a Comment

Your email is never published nor shared.