forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross Gardler (JIRA)" <>
Subject [jira] Closed: (FOR-637) Inserting an html document into a project
Date Wed, 17 Aug 2005 20:41:54 GMT
     [ ]
Ross Gardler closed FOR-637:

    Resolution: Invalid
     Assign To: Ross Gardler

Please use the user mailing list to discuss how to use Forrest. The issue tracker is for reporting
bugs and requesting new features.

Just this once though I'll answer your question here.


Forrest supports <xi:include ...> so all you need to do is include the content you want
in the relevant location.

For example: <xi:include href="cocoon://myIncludedFile.xml"/>

Even though your source file is HTML you should still request the xml version of the file,
this will force Forrest to convert the file to xdoc format before including it within yuor
XDoc source.

Don't forget to add the namespace to your document:


If you need any more assistance please use the user mailing list

> Inserting an html document into a project
> -----------------------------------------
>          Key: FOR-637
>          URL:
>      Project: Forrest
>         Type: Test
>   Components: XML grammars & validation
>     Versions: 0.7
>  Environment: Windows XP Professional
>     Reporter: William Buker
>     Assignee: Ross Gardler
>     Priority: Minor

> I have this code below. Right below the code that says Admin Documentation I want to
insert an html documement that will open on the webpage for users to follow, by pushing the
'Admin Documentation' button. The file is called Users_doc.html and is found in the same directory
where the code below is found. 
> <?xml version="1.0"?>
> <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "">
> <document> 
> <header> 
> <title>Administrative Documentation</title> 
> <authors><person name="Jeremy Wilson" email=""/>

> </authors> 
> <notice>Initial documentation</notice> 
> </header> 
> <section>
> <title>Admin Documentation</title>
> <p> Push the blue "Admin Documentation" bar above for user information on the Adminstration
> </section>
> <footer> 
> <legal>© 2004 ESRG LLC.</legal> 
> </footer>
> </document>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message