is there an SVG expert in the house?


with vague view bit automation, i'm examining unexciting graphics … ladders/stacks of boxes text labels in, 2 or 3 columns per graphic.

svgquestion.png

i told unexciting :-}

it seems me candidate generated svg. i've got far writing test-file, , i've hit problem: fm , illustrator take file in stride, mozilla , currently-preferred dita tool xml mind complain. far can understand, not happy <use> option, feel ought element …

if in knowledgeable forum can give me writing universally acceptable svg, or can confirm i'm on hiding nothing trying use <use>, i'd grateful. sample code block follows, in case need check.

<svg width="540" height="720" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"> <defs> <g id="boxes"> <rect id="lightbox1" x="3" y="0" height="17" width="108" stroke-weight="0.25px" fill="none" stroke="#ddd"/> <rect id="lightbox2" x="144" y="0" height="17" width="108" stroke-weight="0.25px" fill="none" stroke="#ddd"/> <rect id="lightbox3" x="288" y="0" height="17" width="108" stroke-weight="0.25px" fill="none" stroke="#ddd"/> <rect id="greybox1" x="3" y="0" height="17" width="108" stroke-weight="0.25px" fill="#eee" stroke="#ddd"/> <rect id="greybox2" x="144" y="0" height="17" width="108" stroke-weight="0.25px" fill="#eee" stroke="#ddd"/> <rect id="greybox3" x="288" y="0" height="17" width="108" stroke-weight="0.25px" fill="#eee" stroke="#ddd"/> </g> </defs> <!-- boxes: y offset increments 18 --> <!-- col 1 top --> <use y="0" xlink:href="#lightbox1" /> <use y="16" xlink:href="#greybox1" /> <use y="34" xlink:href="#lightbox1" /> <use y="52" xlink:href="#lightbox1" /> <use y="70" xlink:href="#lightbox1" /> <use y="88" xlink:href="#lightbox1" /> </svg>

cross-posting seemed legitimate, topic outside primary focus of everyday framing … here's answer xml mind support team: needed declaration tell processor <use> tag.

xmlns:xlink="http://www.w3.org/1999/xlink"

did trick, , have neat .svg graphic can use both inside , outside framemaker.



More discussions in Adobe FrameMaker


adobe

Comments

Popular posts from this blog

after effects warning: unable to create drawing surface

Maximum number of authorizations reached!