-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content stored as XML instead of String #24
Comments
Hey Chris, your point doesn't quite come across, thanks to the fact that your markup has been stripped. Could you try editing to add that markup? |
First I want to say that you ROXML is amazing and easy to use. I am working on putting together an Open Source SIF agent which needs to parse and create XML messages. I need to pull out element values as XML not strings. If you try and obtain the :content from books you get the story of your life twice. I am working on putting together an Open Source SIF agent which needs to parse and create XML messages. I need to pull out element values as XML not strings. If you try and obtain the :content from books you get the story of your life twice - where i would rather obtain it as XML so it might look like this: The story of my life The story of your life I would rather obtain it as XML so it might look like this: <book>The story of my life</book> <book>The story of your life</book> |
I have some deep XML that I would like to store as XML instead of Text.
If xml_accessor :books, :from => :content it is stored like : The story of my life The story of your life
is it possible to store or get the element as XML
<book>The story of my life</book>
<book>The story of your life</book>
Thanks,
Christopher
The text was updated successfully, but these errors were encountered: