forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Terrence Brannon" <metaperl.opensou...@gmail.com>
Subject including javascript on a page (help needed)
Date Thu, 29 Jun 2006 15:24:31 GMT
Between a FAQ entry
(http://forrest.apache.org/docs_0_80/faq.html#javascript--- please
note that this FAQ entry contradicts itself. It says that the
directory is skins yet then says the URIs are /skin) and an old email msg (
http://www.mail-archive.com/user@forrest.apache.org/msg00993.html) I tried
to include a hunk of javascript in my 0.7 forrest XML file:

<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "
http://forrest.apache.org/dtd/document-v20.dtd">
<document>
  <header>
    <title>Magick</title>
  </header>
  <body>
    <section id="live">
      <title>Live from Chaosmagic.com</title>

      <xi:include src="/skin/chaosmagic.js"/>
    </section>


  </body>
</document>

However, the error has to do with Forrest not knowing what <xi:include> is:

validate-xdocs:
/C:/Documents%20and%20Settings/Administrator/My%20Documents/domains/org/livingcosmos/dev/src/documentation/content/xdocs/magick.xml:11:46:
Element type "xi:include" must be declared.
/C:/Documents%20and%20Settings/Administrator/My%20Documents/domains/org/livingcosmos/dev/src/documentation/content/xdocs/magick.xml:11:46:
The prefix "xi" for element "xi:include" is not bound.

Mime
View raw message