How to stop scala from quoting strings in XML expressions
- robin_: hi - does anyone know how to stop scala from turning a " into an " when it's included in an XML expression?
- robin_: e.g. val a = <p>I include "quotes"</p>
- robin_: turns into <p>I include "quotes"</p>
- robin_: and what I want is the literal <p>I include "quotes"</p>
- dobblego: scala> xml.Unparsed("hello\" there")
- dobblego: res8: scala.xml.Unparsed = hello" there
- robin_: ah - nice - thank you very much
- dobblego: scala> <p>{ xml.Unparsed("I include \"quotes\"") }</p>
- dobblego: res9: scala.xml.Elem = <p>I include "quotes"</p>
- robin_: thanks for your help
- dobblego: np
I’ve been using Apple Numbers to help a professor friend of mine with grade calculations. It turns out that if you import a sheet from Excel, it can often get into a state where the performance becomes unacceptable - despite the actual functionality appearing to be fine.
At one point, entering a new number into a sheet with a single table of around 2000 numeric cells and no formulae at all was taking more than 5 seconds.
Exporting the data to CSV and re-importing it cured this problem.
Neither Google spreadsheets nor Apple Numbers handle text at angles other than the normal horizontal. This is understandable with Google Spreadsheets since they are limited by the browser, but an odd limitation for Numbers to have.