You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Cory Isaacson (Compuflex)" <ci...@compuflex.com> on 2001/03/30 07:28:20 UTC

Entities Question

Is it possible to include ENTITIES and <!DOCTYPE> tags in XSL output?

For example I want to generate an SVG document output, and it has the code
below in the header. I also need to include references to the entities in
the output, such as:

<line style="&stTick;"...

Thanks in advance,

Cory

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN"
"http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd"

[
  <!ENTITY stgraphBG "fill:url(#gradientGraphBG);opacity:.6;">
  <!ENTITY stBar01 "fill:#980F08;stroke:#000000;stroke-width:0.5;">
  <!ENTITY stBar02 "fill:#BBBCC7;stroke:#000000;stroke-width:0.5;">
  <!ENTITY stBar03 "fill:#323366;stroke:#000000;stroke-width:0.5;">
  <!ENTITY stTick "stroke:#000000;stroke-width:0.5;stroke-miterlimit:4;">
  <!ENTITY stText
"font-family:'Verdana-Bold';fill:#000000;stroke:none;font-size:12;text-ancho
r: middle;">
]>