Skip to content

Question #176

Description

@rastaman111

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?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions