how do you put entities in an external dtd?
  ----- Original Message ----- 
  From: Jérôme Tricand de la Goutte 
  To: [email protected] 
  Sent: Tuesday, July 12, 2005 1:32 PM
  Subject: Re: [svg-developers] dtd



  Here are my two cents

  I used Entity, too, because styles are easier to manage if you have 
  different styles that use, for example, the same font . For example
  //definition of constants

  <!ENTITY couleurDominante "#353465">

  <!ENTITY couleurRollOverTexte "#ffff00">

  <!ENTITY couleurFondFiche "#FFFFCC">

  <!ENTITY police "Arial, Verdana, Helvetica, sans-serif">

  //definition of styles using the constants

  <!ENTITY title font-size: 15pt; fill: &couleurRollOverTexte;;font-family: 
&police;; pointer-events:none">
  <!ENTITY otherTitle font-size: 15pt; fill:&couleurFondFiche;;font-family: 
&police;; pointer-events:none">
  You can use entities in the definition of a new entity.

  Jérôme

  >I can't answer that question, but if I were setting styles that don't change 
dynamically, I'd be use a style tag in a defs section, like:
  > 
  ><defs>
  ><style type='text/css'>
  ><![CDATA[
  >.colorText {fill:darkcyan;}
  >.titleText {font-size:22;font-weight:bold;}
  >]]>
  ></style>
  ></defs>
  > 
  >Why are you putting them in the DTD?
  >
  >
  >Erwan TROEL <[EMAIL PROTECTED]> wrote:
  >i try to create an external DTD:
  >
  >the code of my svg:
  >
  >
  ><?xml version="1.0" encoding="iso-8859-1"?>
  ><!-- Creator: ESRI ArcMap 9.0.0.535 -->
  ><!DOCTYPE svg SYSTEM "styles.dtd" >
  ><svg id="princip" x="2" y="3"  width="100%" height="100%"
  >onload="initMap();" onresize="resetFactors(evt);" viewBox="0 0 1024 768"
  >xmlns:a3="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/";
  >a3:scriptImplementation="Adobe" zoomAndPan="magnify">
  >
  >
  >
  >the code of my DTD:
  >
  ><!ENTITY colorText "fill:darkcyan;">
  ><!ENTITY allText "font-family:Helvetica;">
  ><!ENTITY titleText "font-size:22;font-weight:bold;">
  ><!ENTITY subtitleText "font-size:18;font-weight:bold;">
  ><!ENTITY headlineText "font-size:14;font-weight:bold;">
  ><!ENTITY normalText "font-size:12;">
  ><!ENTITY HistoText "font-size:9;font-weight:normal;">
  ><!ENTITY legendText "font-size:11;text-anchor:end;">
  >
  >it seems to find no DTD
  >
  >            
  >---------------------------------
  > Sell on Yahoo! Auctions  - No fees. Bid on great items.
  >
  >[Non-text portions of this message have been removed]
  >
  >
  >
  >-----
  >To unsubscribe send a message to: [EMAIL PROTECTED]
  >-or-
  >visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
  >---- 
  >Yahoo! Groups Links
  >
  >
  >
  > 
  >
  >
  >
  >  
  >



  -----
  To unsubscribe send a message to: [EMAIL PROTECTED]
  -or-
  visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
  ---- 



------------------------------------------------------------------------------
  YAHOO! GROUPS LINKS 

    a..  Visit your group "svg-developers" on the web.
      
    b..  To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]
      
    c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


------------------------------------------------------------------------------



[Non-text portions of this message have been removed]



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to