alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

jEdit example source code file (dsssl.xml)

This example jEdit source code file (dsssl.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - jEdit tags/keywords

begin, begin, delegate, end, function, function, keyword1, keyword2, keyword3, markup, span, span, type, type

The jEdit dsssl.xml source code

<?xml version="1.0"?>

<!DOCTYPE MODE SYSTEM "xmode.dtd">

<!-- DSSSL is the Document Style Semantics Specification Language,
     used by the Jade SGML documentation generation tool -->

<MODE>
	<PROPS>
		<PROPERTY NAME="commentStart" VALUE="<!--" />
		<PROPERTY NAME="commentEnd" VALUE="-->" />
		<PROPERTY NAME="lineComment" VALUE=";" />
	</PROPS>
	<RULES IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE">
		<!-- EOL comment -->
		<EOL_SPAN TYPE="COMMENT1">;

		<!-- SGML comment -->
		<SPAN TYPE="COMMENT1">
			<BEGIN><!--
			<END>-->
		</SPAN>

		<!-- LISP stuff -->
		<SEQ TYPE="NULL">'(

		<MARK_FOLLOWING TYPE="LITERAL1">'

		<SPAN TYPE="LITERAL1">
			<BEGIN>"
			<END>"
		</SPAN>

		<!-- DSSSL stuff -->
		<SPAN TYPE="KEYWORD2" NO_LINE_BREAK="TRUE">
			<BEGIN>$
			<END>$
		</SPAN>

		<SPAN TYPE="KEYWORD2" NO_LINE_BREAK="TRUE">
			<BEGIN>%
			<END>%
		</SPAN>

		<MARK_FOLLOWING TYPE="LITERAL2">#

		<!-- DTD Entity declarations -->
		<SPAN TYPE="KEYWORD2" DELEGATE="xml::ENTITY-TAGS">
			<BEGIN><!ENTITY
			<END>>
		</SPAN>

		<!-- CDATA sections -->
		<SPAN TYPE="KEYWORD2" DELEGATE="xml::CDATA">
			<BEGIN><![CDATA[
			<END>]]>
		</SPAN>

		<!-- DTD instructions -->
		<SPAN TYPE="KEYWORD2" DELEGATE="xml::DTD-TAGS">
			<BEGIN><!
			<END>>
		</SPAN>

		<!-- markup tags -->
		<SEQ TYPE="NULL"><=

		<SPAN TYPE="MARKUP" DELEGATE="xml::TAGS">
			<BEGIN></style-specification
			<END>>
		</SPAN>

		<SPAN TYPE="MARKUP" DELEGATE="xml::TAGS">
			<BEGIN></style-sheet
			<END>>
		</SPAN>

		<SPAN TYPE="MARKUP" DELEGATE="xml::TAGS">
			<BEGIN><style-specification
			<END>>
		</SPAN>

		<SPAN TYPE="MARKUP" DELEGATE="xml::TAGS">
			<BEGIN><external-specification
			<END>>
		</SPAN>

		<SPAN TYPE="MARKUP" DELEGATE="xml::TAGS">
			<BEGIN><style-sheet
			<END>>
		</SPAN>

		<!-- SGML entities -->
		<SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
			<BEGIN>&
			<END>;
		</SPAN>

		<KEYWORDS>
			<KEYWORD1>and
			<KEYWORD1>cond
			<KEYWORD1>define
			<KEYWORD1>else
			<KEYWORD1>lambda
			<KEYWORD1>or
			<KEYWORD1>quote
			<KEYWORD1>if
			<KEYWORD1>let
			<KEYWORD1>let*
			<KEYWORD1>loop
			<KEYWORD1>not
			<KEYWORD1>list
			<KEYWORD1>append
			<KEYWORD1>children
			<KEYWORD1>normalize

			<KEYWORD2>car
			<KEYWORD2>cdr
			<KEYWORD2>cons
			<KEYWORD2>node-list-first
			<KEYWORD2>node-list-rest

			<KEYWORD3>eq?
			<KEYWORD3>null?
			<KEYWORD3>pair?
			<KEYWORD3>zero?
			<KEYWORD3>equal?
			<KEYWORD3>node-list-empty?

			<FUNCTION>external-procedure
			<FUNCTION>root
			<FUNCTION>make
			<FUNCTION>process-children
			<FUNCTION>current-node
			<FUNCTION>node
			<FUNCTION>empty-sosofo
			<FUNCTION>default
			<FUNCTION>attribute-string
			<FUNCTION>select-elements
			<FUNCTION>with-mode
			<FUNCTION>literal
			<FUNCTION>process-node-list
			<FUNCTION>element
			<FUNCTION>mode
			<FUNCTION>gi
			<FUNCTION>sosofo-append
			<FUNCTION>sequence

			<LABEL>attributes:
			<LABEL>gi:
		</KEYWORDS>
	</RULES>
</MODE>

Other jEdit examples (source code examples)

Here is a short list of links related to this jEdit dsssl.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.