summaryrefslogtreecommitdiff
path: root/xmloff/dtd
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-11-09 11:25:32 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-11-09 11:25:32 +0000
commit0ed07843d6b99f091a03d8d3438e59c811f7e3e5 (patch)
tree8f313628ca9d756ef3799055251c66a1d23a2fb2 /xmloff/dtd
parentc3aef7f78f8738b852ea425240663dddd26dd11f (diff)
INTEGRATION: CWS xmlbasic (1.7.374); FILE MERGED
2004/10/22 12:22:25 tbe 1.7.374.3: #i22747# XML filter adaptors and macros 2004/10/21 12:12:28 tbe 1.7.374.2: #i22747# XML filter adaptors and macros 2004/09/30 10:31:49 tbe 1.7.374.1: #i22747# XML filter adaptors and macros
Diffstat (limited to 'xmloff/dtd')
-rw-r--r--xmloff/dtd/script.mod33
1 files changed, 29 insertions, 4 deletions
diff --git a/xmloff/dtd/script.mod b/xmloff/dtd/script.mod
index 6ff4e60abac7..4bc984b03f7d 100644
--- a/xmloff/dtd/script.mod
+++ b/xmloff/dtd/script.mod
@@ -1,5 +1,5 @@
<!--
- $Id: script.mod,v 1.7 2001-08-09 13:22:49 dvo Exp $
+ $Id: script.mod,v 1.8 2004-11-09 12:25:32 hr Exp $
The Contents of this file are made available subject to the terms of
either of the following licenses
@@ -53,18 +53,26 @@
-->
+<!ELEMENT script:libraries (script:library-embedded | script:library-linked)*>
+<!ATTLIST script:libraries xmlns:script CDATA #FIXED "http://openoffice.org/2000/script">
+<!ATTLIST script:libraries xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
+
+<!ENTITY % boolean "(true|false)">
+
<!ELEMENT script:library-embedded (script:module*)>
<!ATTLIST script:library-embedded script:name %string; #REQUIRED>
-<!ATTLIST script:library-embedded script:password %string; #IMPLIED>
+<!ATTLIST script:library-embedded script:readonly %boolean; #IMPLIED>
<!ELEMENT script:library-linked EMPTY>
<!ATTLIST script:library-linked script:name %string; #REQUIRED>
<!ATTLIST script:library-linked xlink:href %string; #REQUIRED>
<!ATTLIST script:library-linked xlink:type (simple) #FIXED "simple">
+<!ATTLIST script:library-linked script:readonly %boolean; #IMPLIED>
-<!ELEMENT script:module (#PCDATA)>
+<!ELEMENT script:module (script:source-code)>
<!ATTLIST script:module script:name %string; #REQUIRED>
-<!ATTLIST script:module script:language %string; #IMPLIED>
+
+<!ELEMENT script:source-code (#PCDATA)>
<!ENTITY % script-language "script:language %string; #REQUIRED">
@@ -77,3 +85,20 @@
%event-name;
%location;
%macro-name;>
+ %location;
+ %macro-name;>
+<!ENTITY % location "script:location (document|application) #REQUIRED">
+<!ENTITY % macro-name "script:macro-name %string; #REQUIRED">
+
+<!ELEMENT script:event (#PCDATA)>
+<!ATTLIST script:event %script-language;
+ %event-name;
+ %location;
+ %macro-name;>
+
+
+<!ELEMENT script:event (#PCDATA)>
+<!ATTLIST script:event %script-language;
+ %event-name;
+ %location;
+ %macro-name;>