P
Pito Salas
I'm generating a xml with Rexml. Pretty straightforward. I have a
question about quoting.
I would like this result (for example)
<outline type="rss" text="Ellen's House" Url="http://www.google.com"/>
But when I do the obvious:
=> <Outline Url='http://www.google.com' text='Ellen's house'/>
Note the quoting is using single quotes and & escapes. What I showed at
the top is also valid xml. How do I ask rexml to generate it?
If you know and can help it would be greatly appreciated!
question about quoting.
I would like this result (for example)
<outline type="rss" text="Ellen's House" Url="http://www.google.com"/>
But when I do the obvious:
=> <Outline Url='http://www.google.com' text='Ellen's house'/>
Note the quoting is using single quotes and & escapes. What I showed at
the top is also valid xml. How do I ask rexml to generate it?
If you know and can help it would be greatly appreciated!