Click here to Skip to main content
15,907,183 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I just started reading XML,it says it has no predefined tags,then how come inside web.config we have predefined tags like ConectionString,appSettings etc?Web.Config itself is written in XML format right?
Thanks in advance!
Posted

1 solution

Those predefined tags are defined within an XML schema describing what parts needs to be present in the file for an interpreter to make sense out of it in a specific context.

XML itself has no predefined tags. It's when you start using it you define what tags you need and what tags are optional.

If you write your own application you might demand that the tag <ApplicationRegistryKey> is present. But that will not make it predefined in XML. Just in your schema.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900