Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5844291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:16:19+00:00 2026-05-22T12:16:19+00:00

I have a collection of POCOs that I am serializing to xml using the

  • 0

I have a collection of POCOs that I am serializing to xml using the xmlserializer and streamwriter/streamreader.

My xml file will be on the web for my app to get updates from. I am concerned that if version 2 of my app comes out and needs to change the schema, it breaking the installed version 1 base.

I have read about versioning and find it a little confusing on determining the fool-proof method.

Can someone tell me what the best options are to handle this?

Am I just better off giving my new xml file a new filename with each new version?

Does an xslt address this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T12:16:19+00:00Added an answer on May 22, 2026 at 12:16 pm

    I see two ways of doing this. Depending on how your app determines if the file is newer you can add a tag to the xml specifying the schema version or you can add a code to the filename. The one problem with XSLT I see is you will need to make a new one for each new version and doesn’t really work if you want to add tags to your schema. Hope this gives you something to work with.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a collection of Objective-C classes that get sub-classed at a variety of
I have a collection of POCOs (not entities) on my server that I'd like
I'm planning to have collection of items stored in a TCollection. Each item will
for example I have collection foo of documents like that: {tag_cloud:[{value:games, count:10}, {value:girls, count:500}]}
I have a collection that use as a cache. How can I limit the
I have a model with an object that contains a collection like this: namespace
I'm using Entity Framework 4 and I have created a UnitOfWork class that creates
I am using EntityFramework to persist my entities. The problem I have is that
I have an app that uses EF POCO for accessing data. Everything works great,
I have a grails app using persistence annotated POJOs for domain model. Grails generates

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.