Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #24315
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Data retrieving from html text on a webpage |
| Date | 2014-05-21 17:55 +0200 |
| Organization | PointedEars Software (PES) |
| Message-ID | <2712204.XrRk9J9qZ2@PointedEars.de> (permalink) |
| References | (2 earlier) <537a7de1$0$6653$9b4e6d93@newsspool3.arcor-online.net> <0.fafab0c7006db4827180.20140520004016BST.87wqdhxrq7.fsf@bsb.me.uk> <537b39bd$0$6664$9b4e6d93@newsspool3.arcor-online.net> <1636414.i5R9Cm98m3@PointedEars.de> <0.7e3f6ab9ff9c0c2b3551.20140521135136BST.87oayruwfb.fsf@bsb.me.uk> |
Ben Bacarisse wrote: > Thomas 'PointedEars' Lahn <PointedEars@web.de> writes: >> Christoph Michael Becker wrote: >>> Indeed, using XSLT might be a good idea, but this *can* also be used >>> from an ECMAScript implementation. >> >> True. However, it appears to me that it is still proprietary. [0] > > As it happens, I was replying to the "better alternatives to javascript" > part. I wasn't suggesting a specific JS library. The tool I'd found > useful was the xsltproc command, built with libxslt which seems to be > part of GNOME. There is no “JS library” involved in using XSLT with (Mozilla|V8) JavaScript and Apple JavaScriptCore at least. It is a built-in feature of the Gecko DOM and WebCore. Follow the reference. >> The explanation for the abbreviation is correct, which is why XSLT is >> probably *not* a good approach here. XSLT can be used to *transform* >> *XML*-based markup to other markup or plain text. [1] The original >> markup here is neither [2]. It would have to be cleaned-up and converted >> to XHTML in order to apply XSLT to it. > > I used xsltproc on some pretty dreadful HTML texts. The command has a > flag to signal that the input is HTML, but I have no idea what it really > does. Obvious. In order to process HTML, it must include an HTML parser which a true XSLT processor does not. See above. -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not Cc: me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Data retrieving from html text on a webpage FAISAL ISMAIL <faesal19@gmail.com> - 2014-05-18 01:18 -0700
Re: Data retrieving from html text on a webpage Denis McMahon <denismfmcmahon@gmail.com> - 2014-05-18 15:41 +0000
Re: Data retrieving from html text on a webpage "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-05-18 17:41 +0200
Re: Data retrieving from html text on a webpage FAISAL ISMAIL <faesal19@gmail.com> - 2014-05-18 12:52 -0700
Re: Data retrieving from html text on a webpage Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-05-18 23:29 +0200
Re: Data retrieving from html text on a webpage John Harris <niam@jghnorth.org.uk.invalid> - 2014-05-19 11:04 +0100
Re: Data retrieving from html text on a webpage Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-05-19 13:11 +0200
Re: Data retrieving from html text on a webpage John Harris <niam@jghnorth.org.uk.invalid> - 2014-05-20 10:43 +0100
Re: Data retrieving from html text on a webpage Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-05-21 14:34 +0200
Re: Data retrieving from html text on a webpage John Harris <niam@jghnorth.org.uk.invalid> - 2014-05-22 10:42 +0100
Re: Data retrieving from html text on a webpage FAISAL ISMAIL <faesal19@gmail.com> - 2014-05-22 09:07 -0700
Re: Data retrieving from html text on a webpage Denis McMahon <denismfmcmahon@gmail.com> - 2014-05-19 21:44 +0000
Re: Data retrieving from html text on a webpage Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-19 23:55 +0200
Re: Data retrieving from html text on a webpage "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-05-20 00:04 +0200
Re: Data retrieving from html text on a webpage Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-20 12:59 +0200
Re: Data retrieving from html text on a webpage "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-05-20 17:13 +0200
Re: Data retrieving from html text on a webpage Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-05-20 00:40 +0100
Re: Data retrieving from html text on a webpage Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-20 13:17 +0200
Re: Data retrieving from html text on a webpage Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-05-21 14:19 +0200
Re: Data retrieving from html text on a webpage Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-05-21 13:51 +0100
Re: Data retrieving from html text on a webpage Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-05-21 17:55 +0200
Re: Data retrieving from html text on a webpage Denis McMahon <denismfmcmahon@gmail.com> - 2014-05-20 10:05 +0000
Re: Data retrieving from html text on a webpage Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-20 13:03 +0200
csiph-web