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

Question #176

Open
rastaman111 opened this issue Nov 11, 2020 · 0 comments
Open

Question #176

rastaman111 opened this issue Nov 11, 2020 · 0 comments

Comments

@rastaman111
Copy link

Hello!
I have a question
When I parse an e-book, I get a mass of XML files
Then I do as in your example and combine everything in one line

let document = try AEXMLDocument (xml: data)
var parsedText = String ()
// parse unknown structure
for child in document.root.children {
parsedText + = child.xml + "\ n"
}
After that I get one long line of code, realizing that this is XML, how can I convert it to HTML to display it in the WebView, or how to convert it to tex to display it in TextView?

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

No branches or pull requests

2 participants