Jump to content

Save as XML


Jamal Jamea

Recommended Posts

Hi,im a new in xml i just read the tutorials yesterday and i like it.....but im just wondering..if i want to write xml file can i do it in Notepad and just give it the .xml extention..?!!! ok don't luagh on me please..im just askingwhere i can write my XML file and save it OR export it with .xml...?

Link to comment
Share on other sites

Certain charactes will cause XML to be mal-formed, such as <, >, and ".These characters are used by XML as part of its markup, All nodes must begin with a < and end with a >. All attributes must be encased in quotes, i.e. <MyNode MyAttribute="Hello">My Node Text</MyNode>If your text node required the use of <> or "<MyNode MyAttribute="Hello">5 is < 6</MyNode> then your XML will fail. Your text node should actrually contain 5 < 6. This is referred to as 'escaping' the character. The < has been changed to < XML Editors (and parsers) will automatically escape these characters for you, otherwise you need to do so manually using notepad (or any text editor)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...