I want to pass complex information into a control. The equivalent of an entire XML document. What would be the best way to accomplish something like this:
<MyPrefix:MyControl runat="server">
<Actions>
<Action Name="Value" SomeParam="SomeValue" AnotherParam="AnotherValue"/>
<Action Name="Value"/>
</Action>
</MyPrefix:MyControl>
Could I just have an "Actions" property as a string, then wrap its contents in a root tag and parse it as XML?
Any guidance on the best practice here?