XML external entity for shape definitions

P

Phil

Hi

I have saved a visio document in XML that contains all the masters I need for my shapes. I would like to create a second file which contains just the <shape> portion of the schema and reference it from the original XML document. I am a newb to XML and I have tried to figure it out from the W3c standards. I haven't been able to get it to work yet

Can someone tell me

Where would I declare the external entity (file) and what the syntax would be
What would the syntax would be once I got to the <shape> tag
Is this possible

I am sure there are probably ways which are more simple, but (for reasons I won't bore you with) I need to go this route if possible

Thanks in advance
Phil
 
C

Chris Roth [ Visio MVP ]

I love this site: www.xml.com, and I found this for you:

http://www.xml.com/pub/a/2000/09/xlink/index.html

It looks like page 2 has the examples if you don't want to read the whole
story...

X-Link seems to be the name of the technology that you're looking
for...unless they've come up with something new ;)

--

Hope this helps,

Chris Roth
Visio MVP


Phil said:
Hi,

I have saved a visio document in XML that contains all the masters I need
for my shapes. I would like to create a second file which contains just the
<shape> portion of the schema and reference it from the original XML
document. I am a newb to XML and I have tried to figure it out from the W3c
standards. I haven't been able to get it to work yet.
Can someone tell me:

Where would I declare the external entity (file) and what the syntax would be?
What would the syntax would be once I got to the <shape> tag?
Is this possible.

I am sure there are probably ways which are more simple, but (for reasons
I won't bore you with) I need to go this route if possible.
 
P

Phil

I may not be implementing this correctly

I didn't mention it before, but I would like to reopen the file with visio for viewing. Should this work

Has anyone ever done this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top