|
From: Brian W. <bw...@st...> - 2002-10-02 22:41:09
|
At 02:03 3/10/2002, Gilles Detillieux wrote:
>According to Jessica Biola:
> > Actually, to append to this problem I'm running into,
> > it doesn't appear to be the text WITHIN the anchor tag
> > -- rather, there is text between the beginning <A> and
> > the ending </A> of the anchor tag that contains the
> > word "large".
>
>Ah! Well that certainly explains why I was unable to reproduce the
>problem earlier, based on your first message. Yes, indexing text
>between the <A ...> and </A> tags as link description text for the
>referenced document is normal behaviour for htdig.
This is a common XML/SGML terminology problem - people get "tag" and
"element" confused
"<a href='blah'>" is an "A" start *tag*
"</a>" is an "A" end *tag*
"<a href='blah'>LARGE</a>" is an "A" *element*, which is made up of a
start tag, content and end tag.
So: correct, the "A" tag does not contain "LARGE", but the "A" element does.
-------------------------
Brian White
Step Two Designs Pty Ltd
Knowledge Management Consultancy, SGML & XML
Phone: +612-93197901
Web: http://www.steptwo.com.au/
Email: bw...@st...
Content Management Requirements Toolkit
112 CMS requirements, ready to cut-and-paste
|