How to have an instance of anonyme class from reflection?

I have this string :  

`"<object name='hello' id='654' />"` 

with an **indetermined attribute parameters number**(and name)
from this I want to have an instance of anonyme class with a mapping between attribute and properties, and attributes values and properties values.

```
var anObject = new{name="hello",id=654};

```

I took the xml format for the string to ilustrate my words but I need a solution **from any string format**(I don't want to Xml Serialisation).

For Reed Copsey (please make abstraction of the context where I need it).
I plan to use this to inject DefaultRoute to the map route of an asp.net MVC 3 application

```
 routes.MapRoute(
        "",
        "superweirdurlwithnostructure.whatever",
        new { controller = "Home", action = "Products", id = 500 }
    );

```

referering to my question [File to define route in MVC3](https://stackoverflow.com/questions/13135633/file-to-define-route-in-mvc3#comment17866274_13135633)