Jump to content

XML, XSD recommended naming conventions??


sri1025

Recommended Posts

There isn't. In XML, you define the name of your nodes and what's best really depends on what you'll be using the XML for.A pure rule of thumb I can personally give you is to you is to use additional nodes to describe similar pieces of data, rather then making elements with similar names. For example, instead of<element1/><element2/>use something like<element id="1"/><element id="2"/>This will make it a lot easier to create proper and more straight XPath expressions.[edit]Thank you. That's how I wanted my avatar to look :).[/edit]

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...