- From: David Carlisle <d.p.carlisle@g...>
- To: Roger L Costello <costello@m...>
- Date: Fri, 28 Jan 2022 11:56:03 +0000
On Thu, 27 Jan 2022 at 23:59, Roger L Costello < costello@m...> wrote:
Assume the XML document has no CDATA sections, PIs, comments, or DOCTYPE.
1. You are shown just a slice of an XML document:
> some text (possibly whitespace) not containing the less than symbol </
That is, you see a greater-than symbol, some text, and then a less-than symbol followed by a forward slash. You are not shown the stuff before > nor the stuff after </
What is it? Does the slice signify an element: the part before > is the start tag, the part after </ is its end tag, and
text is the content of the element?
You mean something like
<x
a="
> text without less than " b="2"> zzz </x
>
so the slice is "the end of an attribute value, some other
attributes in a start tag, then element content followed by the start of
an end tag".
David
- References:
- XML Quiz
- From: Roger L Costello <costello@m...>
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
|