[dia] Update shape.dtd to include <image/> and <text/>
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] Update shape.dtd to include <image/> and <text/>
- Date: Sat, 23 Jun 2012 11:37:31 +0000 (UTC)
commit 833411baae7be6766f557e61de9e4a8bd9d00e73
Author: Hans Breuer <hans breuer org>
Date: Sat Jun 23 13:37:03 2012 +0200
Update shape.dtd to include <image/> and <text/>
doc/shape.dtd | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/doc/shape.dtd b/doc/shape.dtd
index 278a3ca..3056db1 100644
--- a/doc/shape.dtd
+++ b/doc/shape.dtd
@@ -2,7 +2,8 @@
aspectratio?|textbox?|ext_attributes?|svg:svg)* >
<!ATTLIST shape
xmlns CDATA #FIXED 'http://www.daa.com.au/~james/dia-shape-ns'
- xmlns:svg CDATA #FIXED 'http://www.w3.org/2000/svg' >
+ xmlns:svg CDATA #FIXED 'http://www.w3.org/2000/svg'
+ xmlns:xlink CDATA #FIXED 'http://www.w3.org/1999/xlink' >
<!ELEMENT name (#PCDATA)* >
@@ -48,7 +49,7 @@
description CDATA #IMPLIED >
<!ELEMENT svg:svg (svg:g | svg:line | svg:polyline | svg:polygon | svg:rect |
- svg:circle | svg:ellipse | svg:path | svg:text)* >
+ svg:circle | svg:ellipse | svg:path | svg:image | svg:text)* >
<!ATTLIST svg:svg
width CDATA #IMPLIED
height CDATA #IMPLIED
@@ -56,7 +57,7 @@
viewBox CDATA #IMPLIED >
<!ELEMENT svg:g (svg:g | svg:line | svg:polyline | svg:polygon | svg:rect |
- svg:circle | svg:ellipse | svg:path | svg:text )* >
+ svg:circle | svg:ellipse | svg:path | svg:image | svg:text )* >
<!ATTLIST svg:g
style CDATA #IMPLIED >
@@ -114,3 +115,11 @@
d CDATA #REQUIRED
style CDATA #IMPLIED
stroke-dasharray CDATA #IMPLIED >
+
+<!ELEMENT svg:text (#PCDATA)* >
+<!ATTLIST svg:text
+ x CDATA #REQUIRED
+ y CDATA #REQUIRED
+ style CDATA #IMPLIED
+ textLength CDATA #IMPLIED
+ font-size CDATA #IMPLIED >
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]