You are confusing content with markup/structure. If you want to
serialize markup, create structure (elements and text nodes), not a
single text node.
You could also hack the serializer code, but then you are essentially
breaking the code to match your model, which is inherently broken.
Dave
Thanks for the reply, but I don't believe I'm confusing them. I'm really
just looking for a way to turn the markup string into elements and text
nodes and to be written to a file as such. Might there be a way to parse a
string into document objects? Just looking for ideas. Thanks.
Greg