Skip to content
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

get updated xml back? #2

Open
cj opened this issue Jul 8, 2014 · 3 comments
Open

get updated xml back? #2

cj opened this issue Jul 8, 2014 · 3 comments

Comments

@cj
Copy link

cj commented Jul 8, 2014

Using your example code in the readme, how would you get the now updated xml back?

p.s. thank you for this lib!

@take-five
Copy link
Owner

@cj I'm sorry, I don't understand what do you mean exactly. What is "updated xml"?

@cj
Copy link
Author

cj commented Jul 10, 2014

So after you have passed the XML and the callbacks triggered which have made changes to the XML, how do you get the complete XML back with the changes made by the callbacks.

Hopefully that makes sense :)

@take-five
Copy link
Owner

@cj ox-mapper cannot help you directly with this task. To do this, we would have to keep the structure of entire document in memory, which eliminates all advantages of SAX-parser.

Maybe you should try XSLT-processing with nokogiri or something similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants