check out draft-masinter-url-data-* for one way to represent typed data inline. Maybe you could just make your data into URLs, and then use "data:" URLs if you want it inline. Harald sent me a bunch of comments on the "data:" URL draft; I need to update it before it progresses, but it might be useful for you. Larry