This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Re: Adding Image Map to HTML title page


The error occurs because XSL is XML, in which all start tags have
to be matched with end tags or indicated as empty element.  In
this case AREA elements are not terminated. So correct them as:

<AREA ... />

would solve the promlem. XSLT processor will automatically
convert them to HTML (means those tags become <AREA ... > in
output) by setting 'method' attribute to 'html' in xsl:output
element.

And to be more strict, in XML (or XHML) all element and attribute
names need to be lowercase (I haven't come across applications
that complain about this, though).

Some differences between SGML and XML are explained in TDG.
<http://www.docbook.org/tdg/en/html/appb.html>
-- 
Yoshihiro Toda
<mailto:ystoda@yahoo.co.jp>
__________________________________________________
Do You Yahoo!?
http://bb.yahoo.co.jp/


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]