Next in thread → Next in month →

Re: [xml-dev] A question for parsing experts: How to recognize that '<' denotes the beginning of a start tag?

From
David Carlisle <>
To
Roger L Costello <>
Date
2021-02-16T20:32:18Z
ID
<CAEW6iOgJ7m7j230=>
Thread
Re: [xml-dev] A question for parsing experts: How to recognize that '<' denotes the beginning of a start tag?
On Tue, 16 Feb 2021 at 20:15, David Carlisle <> wrote:
>

> In HTML then it's ... more complicated.
>
> David

For HTML have a look at
https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=8935


<x z=a"<b>">  < </z>
<<<x
<b></b>
<!-- <b></b> -->
<xmp>
<b>
</xmp>


Here, < starts a start tag if it is followed by x, all the others do not.
Next in thread → Next in month →