eed3si9n/scalaxb — Issue #141: capture element name as type
Author: eed3si9n
Created: 2012-02-21 15:38:58+00:00
State: open
Labels: enhancement

## steps
1. see [#138](https://github.com/eed3si9n/scalaxb/issues/138#issuecomment-4071525).

## problem
The element names needs to be entered as `String`, which is not safe:

```scala
val address = Address(scalaxb.DataRecord(None, Some("internalAddress"), internalAddress));
```

## expectations
Provide some way to capture the element name as type.
Maybe DataRecord subtype.