Refer to Masters with multiple shapes from shapes

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Stigur (Stigur_at_discussions.microsoft.com)
Date: 12/01/04


Date: Wed, 1 Dec 2004 03:07:03 -0800

Hi,

I am developing XML for Visio in an outside environment.
When I load simple masters with only one shape included and some
connect-points, I have no problems placing shapes on the drawing.
But when I load masters with multiple shapes, ex. square+circle, Visio will
not open the file.
My shapes in the drawing are coded like this (+ some variables set)
"<Shape ID="1030" NameU="2fordeler" Type="Group" Master="2">
< Some Variables>
</Shape>
"

The error-message I get is:
"The name in the end tag of the element must match the element type in the
start tag"

Suggestions Anyone?

Best regards,
Stigur



Relevant Pages

  • Re: Visio 2003 File Size Limits?
    ... I was talking about deleting unused masters. ... I don't know of any hard limits to the Visio file size. ... Yes, this is a significantly complex drawing, with several complex icons ... Visio has a "feature" where by master shapes dragged into a drawing bring ...
    (microsoft.public.visio.general)
  • Re: Visio: Error Dragging Master from Stencil onto Drawing Window
    ... You didn't put any shapes inside! ... This is the normal work-flow for creating Visio masters. ... you'll have to look at the local stencil - the ...
    (microsoft.public.visio.general)
  • Re: Aligning Text Blocks
    ... and a Visio stencil also contains shapes (but they are called masters). ... So Paul's suggestion about using the stencil would be changes to a small set ...
    (microsoft.public.visio.general)
  • Re: visio internal error 2123
    ... I am not sure of the specific issue caused by adding shapes in the ... Why does Visio prohibit delete from within a delete event? ... Thus changes to the drawing can potentially disrupt the action. ... > called BeforeShapeDeleteEvent. ...
    (microsoft.public.visio.developer)
  • Re: visio internal error 2123
    ... I have got rid of the visio error 2123. ... deleted all those additional shapes that were added through code in an event ... shape.then i do undo. ... The undo unit observed in the Edit box just after deleting all ...
    (microsoft.public.visio.developer)