XML Modules: API | Catalog | Core | CSS | Text Editor | Tools | XSL
XML Project: Home | User | Dev | Links | Features | UML | FAQ | Issues

How to create XML Project web pages

All pages are generated from XML sources to follow same look with links to related pages of different sub-modules. This document briefly describes, how to create new page and how to generate HTML output.
Content:

1. Introduction

  • xml/www/dtds contains all DTD documents for XML web and page-1_0.dtd is main one because it describes common page structure.
  • xml/www/styles contains all XSL transformation used to build XML web pages and page2html.xsl generates from page XML document HTML page with top links to related documents of current sub-module or other XML sub-modules.
  • xml/www/*/data contains XML sources of each sub-module web pages. Pages are generated by Ant script -- each sub-module web page contains build.xml, e.g. xml/www/xsl/build.xml which describes which pages are generated from which source.

Basic structure is following:

  • dev/todo.html - TODO list (smaller TASKs then in IssueZilla).
  • dev/index.html (*) - Module developer pages.
  • uml/index.html - Module UML diagrams.
  • user/faq.html - Module FAQs.
  • user/index.html (*) - Module user pages.
  • user/icons.html - Generated module icons (for UI team).
  • index.html (*) - Main module page.
  • links.html - Module related web links.
  • issues.html - Module specific IssueZilla links.
Files marked by (*) are page documents, others are different types (generated from different types of XML).

All pages should be automatically regenerated at around 1am, 11am and 6pm GMT every day (cron script on my workstation), but it is better if you will generate it yourself when you change XML documents.

It is easy if you have XSLT processor on classpath, just type ant in xml/www. Or you can use Xalan and Xerces (on unix/linux):

    cd xml/bin
    . init-xalan.sh
    cd ../www/xsl
    ant
and it will regenerate all XSL web pages (see xml/www/xsl/build.xml).

Project Features

About this Project

XML was started in November 2009, is owned by dstrupl, and has 54 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close