[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Adding sheets and shapes, pulling hair out...



On Wed, 2002-02-13 at 12:26, Al Banks wrote:
> Thanks, Cyrille!
> 
> Warning:  I'm an XML neophyte....
> 
> I added the xmlns parameters back into the <sheet> tags, same result.
> 
> Is there anything I need to change in those tags?  Should I go back to
> adding this object to an existing sheet? 
> 
> Here are the current .shape and .sheet:
> 
> CiscoSystems.sheet:
> <?xml version="1.0" encoding="iso-8859-1"?> <!-- -*- xml -*- -->
> 
> <sheet xmlns"http://www.lysator.liu.se/~alla/dia/dia-sheet-ns";>

Should be xmlns="http://www.lysator.liu.se/~alla/dia/dia-sheet-ns"; 

> <name>CiscoSystems</name>
>  <description>Objects to design CiscoSystems Networks</description>
>   <contents>
>     <object name="Cisco 7200 Router">
>       <description>Cisco 7200 Series Router</description>
>     </object>
>   </contents>
> </sheet>
> 

> 7200.shape:
> <?xml version="1.0"?>
> <shape xmlns="http://www.daa.com.au/~james/dia-shape-ns";
>        xmlns:svg="http://www.w3.org/2000/svg";>
>   <name>CiscoSystems - 7200</name>
>   <icon>7200.png</icon>
>   <connections>
>     <point x="0" y="0"/>
>     <point x="10" y="0"/>
>     <point x="5" y="0"/>
>     <point x="10" y="4"/>
>     <point x="0" y="4"/>
>     <point x="5" y="4"/>
>     <point x="0" y="3"/>
>     <point x="10" y="3"/>
>     <point x="5" y="3"/>
>     <point x="2" y="1"/>
>     <point x="10" y="1"/>
>     <point x="6" y="1"/>
>     <point x="2" y="2"/>
>     <point x="10" y="2"/>
>     <point x="6" y="2"/>
>     <point x="0" y="4"/>
>     <point x="0" y="0"/>
>     <point x="0" y="2"/>
>     <point x="10" y="4"/>
>     <point x="10" y="0"/>
>     <point x="10" y="2"/>
>     <point x="2" y="3"/>
>     <point x="2" y="0"/>
>     <point x="2" y="1.5"/>
>     <point x="6" y="0"/>
>     <point x="6" y="3"/>
>     <point x="6" y="1.5"/>
>   </connections>
>   <aspectratio type="fixed"/>
>   <svg:svg>
>     <svg:line style="stroke-width: 0.1; stroke: #000000" x1="0" y1="0"
> x2="10" y2="0"/>
>     <svg:line style="stroke-width: 0.1; stroke: #000000" x1="10" y1="4"
> x2="0" y2="4"/>
>     <svg:line style="stroke-width: 0.1; stroke: #000000" x1="0" y1="3"
> x2="10" y2="3"/>
>     <svg:line style="stroke-width: 0.1; stroke: #000000" x1="2" y1="1"
> x2="10" y2="1"/>
>     <svg:line style="stroke-width: 0.1; stroke: #000000" x1="2" y1="2"
> x2="10" y2="2"/>
>     <svg:line style="stroke-width: 0.1; stroke: #000000" x1="0" y1="4"
> x2="0" y2="0"/>
>     <svg:line style="stroke-width: 0.1; stroke: #000000" x1="10" y1="4"
> x2="10" y2="0"/>
>     <svg:line style="stroke-width: 0.1; stroke: #000000" x1="2" y1="3"
> x2="2" y2="0"/>
>     <svg:line style="stroke-width: 0.1; stroke: #000000" x1="6" y1="0"
> x2="6" y2="3"/>
>   </svg:svg>
> </shape>
> 
> 
> Thanks!
> -Al





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK