Sign in to follow this  

Custom XML Content Importer Issues

Recommended Posts

Hi, I've been trying to read in a file of XML with my custom content importer.
<?xml version="1.0" encoding="utf-8" ?> 
  <ScrollBar name="scroll"> 

The issue is that when the content compiler goes to compile the file it gets to an int and fails returning: Error 10 Building content threw ArgumentNullException: Value cannot be null. I parse the int with max = int.Parse(node2.Value), but this is failing, without this (and the other int parses) the build completes. Without seeing the values that its reading I don't know where to start. I'm not serializing the data as I believe it would be unwieldy for what I'm doing (the example above is much simpler than other data sets). Thanks in advance for any help. -R [Edited by - lord_balron on May 4, 2010 5:36:47 AM]

Share this post

Link to post
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

Sign in to follow this