Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need help to open other files..

Status
Not open for further replies.

RK9

Programmer
May 20, 2006
1
CA
Hello guys, I don't know much about XML. And I was hoping you guys could help me out a bit.

There is a device that does svg, and from observing the code, it looks like xml. This code is supposed to show 10 pictures a second on the screen of the device. Here is working code for the first 3 frames or first 0.3 seconds:


<?xml version= 1 standalone=?>

<!DOCTYPE svg[

<!ENTITY IMG0000000 "pic0000000.jpeg">
<!ENTITY IMG0000001 "pic0000001.jpeg">
<!ENTITY IMG0000002 "pic0000002.jpeg">

]>

<svg x="0" y="0" width="640" height="480" xmlns:svg=" xmlns:xlink="
<image xlink:href="&IMG0000000;" x="0" y="0" width="640" height="480" visibility="hidden">
<set attributeName="visibility" begin="0000.0" to="visible"/>
<set attributeName="visibility" begin="0000.1" to="hidden"/>
</image>

<image xlink:href="&IMG0000001;" x="0" y="0" width="640" height="480" visibility="hidden">
<set attributeName="visibility" begin="0000.1" to="visible"/>
<set attributeName="visibility" begin="0000.2" to="hidden"/>
</image>

<image xlink:href="&IMG0000002;" x="0" y="0" width="640" height="480" visibility="hidden">
<set attributeName="visibility" begin="0000.2" to="visible"/>
<set attributeName="visibility" begin="0000.3" to="hidden"/>
</image>

</svg>


But because of a limitation, it can only do a limited number of frames. So what I'm hoping to do is make it open a new file when it finishes executing this code. So my question is what code can would I need to place between </image> and </svg> so it goes to lets say "file2.svg" ? (same directory)when it's done with this file..

My current best guess woulf be some kind of link, but I hae little xml knowlage, so please help me.

I've been researching this and found little info, so replies for be great.

Thanks for your time..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top