Questions on the use of Mathematica to import, modify, and export XML documents.
5
votes
1answer
89 views
What is the proper way to extract XMLElement values?
I have seen and tried many different versions of XML data parsing here on this forum, and even some in the documentation. Is there a tried and true "Best Practice" way to extract all the XMLElement ...
1
vote
1answer
117 views
Extract attribute data from an XMLElement
I'm trying to come to grips with parsing an XML file but I'm having difficulty working out how to extract specific attribute data from an XMLElement. Sample XML file below:
...
1
vote
1answer
282 views
Importing formatted, highlighted text from : HTML vs RTF vs. XML
We would like the ability to import and analyze ASCII documents that have been manually segmented by highlighting and changing font colors of various sections, eg:
The original line breaks, ...
6
votes
1answer
180 views
Converting XMLElement objects to plain text
Short version: How can I convert an XMLElement that represents part of a HTML document to plain text?
Long version: The more general problem is extracting ...
0
votes
1answer
83 views
Importing RSS to Notebook: How to get images instead of long ugly links?
This question on importing news headlines via a RSS feed reminded me of an old question I've been meaning to ask.
Past attempts at finding a use for Mathematica's RSS to Notebook capabilities were ...
6
votes
1answer
225 views
Import numeric values from XML
I am trying to import data from an XML file and then perform calculations on those numeric values. When I import the data the values seem to be stored as strings. I tried using a ToExpression ...
8
votes
1answer
312 views
Why does Export drop namespace prefixes in the exported XML file?
I am trying to generate an Excel-compatible XML file from Mathematica. First, I created a test XML file by saving a Microsoft Excel workbook
as "XML Table". Then I ...
5
votes
0answers
120 views
Consuming a SOAP service that requires a complexType authentification header
Short version: Why do I get a $RecursionLimit error when calling NewSchemaInstance[SomeInstalledType] and how do I fix it?
...
13
votes
3answers
447 views
How to scrape the headlines from New York Times and Wall Street Journal?
How to scrape headlines from New York Times, Wall Street Journal main pages to create datasets similar to this service?
Importing HTML from nyt.com (HTML4) results in a ...
8
votes
2answers
168 views
Why doesn't Cases match all instances of XMLElement, given Infinity levelspec?
Why doesn't Cases match all instances of XMLElement, given Infinity levelspec?
...


