GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Ron's GenoPro Beta XML to SVG Translator

Click to view RSS...
Author Ron's GenoPro Beta XML to SVG Translator
Posted Thursday, April 7, 2005 - Post #7622
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 9:20 PM
Posts: 3,429, Visits: 26,548
From Topic6403-59-1.aspx#1335
I was interested in this discussion on VBScript to convert the xml to svg and followed the instructions ie: made text box, downloaded the two files vbs and xsl, renamed my xml file to match after down loading the viewer but on clicking on the vbs I get an error :-
Script: C:\Complete Family Trees\complete tree\test\gnoxml2svg.vbs
Line: 7
Char: 1
Error: Object required: 'xml'
Code : 800A01A8
Source: Microsoft VBScript runtime error
I am obviously missing something, but as I am a bit of a novice in this stuff I've got a bit lost.
Any ideas where I went wrong.

Sorry Iain, I haven't tested the VBScript for some time (I use msxsl.exe) and you've found the line I slipped in without testing! (slapped wrist :oops: )
Change line 7 from
xml.preserveWhiteSpace = false
to
xsltTree.preserveWhiteSpace = false
. I'll update web page shortly.

P.S. you will also need the 'gzipped' Ecmascript file (gnoxml2svg.esz) that can also be downloaded from my tools page.



'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Saturday, October 1, 2005 by GenoProSupport

Threaded View

Expand / Collapse
Threaded View
Forum Post Ron's GenoPro Beta XML to SVG Translator By genome ( Thursday, April 7, 2005 )
Forum Post I have now updated the xslt and ecmascript files to fix some bugs... By genome ( Thursday, August 18, 2005 )
Forum Post So now I'm confused :? I just tried a simple example and it worked... By genome ( Thursday, August 18, 2005 )
Forum Post I tried this and the viewer sticks like before and won't open... By IainTait ( Thursday, August 18, 2005 )
Forum Post The text box must contain the name of the GenoMap not the GenoPro... By genome ( Thursday, August 18, 2005 )
Forum Post Thanks for the reply, but I had noticed the other message after... By IainTait ( Thursday, August 18, 2005 )
Forum Post This looks like the same issue as 'maru-san' reported earlier in this... By genome ( Thursday, August 18, 2005 )
Forum Post Thanks for the code which I will try later and continue with version 6... By IainTait ( Thursday, August 18, 2005 )
Forum Post If you are getting the same incomplete display with a simple tree I... By genome ( Thursday, August 18, 2005 )
Forum Post I did have boxes round the people even on the small test tree so I... By IainTait ( Thursday, August 18, 2005 )
Forum Post Firstly, the SVG generated by my XSL translation will probably not... By genome ( Thursday, August 18, 2005 )
Forum Post [quote]From Sorry Iain, I haven't tested the VBScript for some time (I... By IainTait ( Thursday, August 18, 2005 )
Forum Post I am happy to receive any comments, complimentary, constructive or... By genome ( Thursday, August 18, 2005 )
Forum Post I don't mind people creating tools and making money if they can. I... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post Have created a svg file with 4 genomaps, linked via hyperlinks.... By maru-san ( Thursday, August 18, 2005 )
Forum Post [quote]And now the bad news: Vertical text is a problem at present... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post Thanks for sorting that so quickly Dan, but see also below. I'll... By genome ( Thursday, August 18, 2005 )
Forum Post Good news for all of you. This morning, I added a new tag named... By GenoProSupport ( Thursday, August 18, 2005 )
Forum Post Thanks for your prompt reply. Followed the instructions this time... By maru-san ( Thursday, August 18, 2005 )
Forum Post When selecting a genomap receive following message:... By genome ( Thursday, August 18, 2005 )
Forum Post First of all thanks to Ron for providing these tools.
By
maru-san ( Thursday, August 18, 2005 )


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 2 - 1 guest, 0 members, 0 anonymous.
Refresh
No members currently viewing this topic!