|
|
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
|
I have now updated the xslt and ecmascript files to fix some bugs including the above and add new features:
1. You can now include backgrounds, photos,images etc. on the generated SVG file.
2. Objects are rendered in the correct order so that overlapping objects appear as in the GenoPro rendering (i.e. same layering)
3. Long comments in the information box are wrapped.
See http://myweb.tiscali.co.uk/ronsweb/genealogy/tools.htm#tool4 for more information.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
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
|
So now I'm confused :? I just tried a simple example and it worked fine. This game of ping pong is getting us nowhere so please email me your genopro xml file and the generated svg file so that I can see the problem directly. Address for now is in.cognito(at)tiscali.co.uk (with the obvious substitution)
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.0.1.5
Last Login: Saturday, March 14, 2020
Posts: 365,
Visits: 3,680
|
I tried this and the viewer sticks like before and won't open completely.
The full title on the top of my file seems to be
GenoPro Beta [skin test tree.gno @ GenoMap1]
With skin test tree.gno as the text, the viewer opens with the error I described when I try GenoMap1, but with GenoMap1 as the text it doesn't even open correctly.
I am getting confused here as I only ever use one GenoMap i.e. GenoMap1
|
|
|
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
|
The text box must contain the name of the GenoMap not the GenoPro file! In your case you say you have a GenoMap called GenoMap1, so the text box on that GenoMap should have the text GenoMap1 and nothing else, no extra spaces no newline etc.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.0.1.5
Last Login: Saturday, March 14, 2020
Posts: 365,
Visits: 3,680
|
Thanks for the reply, but I had noticed the other message after posting mine. I have the text box with the name " skin test tree.gno " which was copied from the file of that name and I have removed all individual boxes which were color coded for each generation. The test tree includes five small generations of my father's family with only 18 people. The gnoxml2svg.vbs file contains the following code:-
set xmlTree = CreateObject("Msxml2.DOMDocument") xmlTree.async=false xmlTree.load "skin test tree.xml"set xsltTree= CreateObject("Msxml2.DOMDocument") xsltTree.async = false xsltTree.preserveWhiteSpace = false xsltTree.load "gnoxml2svg.xsl" set svgTree= CreateObject("Msxml2.DOMDocument") svgTree.async = false svgTree.validateOnParse = True xmlTree.transformNodetoObject xsltTree, svgTree svgTree.save "skin test tree.svg" |
but I still get the same error when I click on GenoMap1
Edited: Saturday, October 1, 2005 by
GenoProSupport
|
|
|
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
|
This looks like the same issue as 'maru-san' reported earlier in this thread. Please see above for cause & remedy.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.0.1.5
Last Login: Saturday, March 14, 2020
Posts: 365,
Visits: 3,680
|
Thanks for the code which I will try later and continue with version 6 for the moment.
I noticed that the gnoxml2svg.esz had been downloaded as gnoxml2svg.esz.htm by error and obviously wouldn't work.
Now it is corrected ,and the sgv window opens completely now, but when I click on genogram1 I get the error:-
'svg.doc.getElementById(...)' is null or not an object
Line:115, Column: 8
So I am getting closer but not yet there.
|
|
|
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
|
If you are getting the same incomplete display with a simple tree I suggest the reason is you have not downloaded the ecmascript gnoxml2svg.esz (see http://myweb.tiscali.co.uk/ronsweb/genealogy/scripts/gnoxml2svg.esz) and placed it in the same folder as the .svg file.
I had a peep at your site and it doesn't look that amateur to me!
The SVGswitch command was not Perl but a simple Windows batch file. Below is a slightly modified version I use, but you can ignore it and stick with the one viewer (Adobe version 6 is best) @echo off cls echo SVGSwitcher by Georg Held October, 2003 :a echo. echo ___________________________________ echo. echo CHOOSE PLUG-IN (after closing all IE/Browser Windows): echo. echo. echo (1) Corel SVG Viewer 2.1 echo. echo (2) Adobe SVG Viewer 3.01 echo. echo (3) Adobe SVG Viewer 6 pre alpha echo. echo Press 'e' to exit echo. echo select 1,2 or 3 set /P choice= if %choice%==1 goto CSV if %choice%==2 goto ASV3 if %choice%==3 goto ASV6 if "%choice%"=="e" goto end cls goto a
:ASV3 %SYSTEMROOT%\system32\regsvr32.exe "%SYSTEMROOT%\system32\Adobe\SVG Viewer 3.0\NPSVG3.dll" echo. echo you are running ASV3 ! echo. goto a
:ASV6 %SYSTEMROOT%\system32\regsvr32.exe "D:\Program Files\Common Files\Adobe\SVG Viewer 6.0\NPSVG6.dll" echo. echo you are running ASV6 ! echo. goto a
:CSV %SYSTEMROOT%\system32\regsvr32.exe "D;\Program Files\Corel\Corel SVG Viewer\NPViewerPlugin.dll" echo. echo you are running CSV 2_1 ! echo. goto a :end |
'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
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.0.1.5
Last Login: Saturday, March 14, 2020
Posts: 365,
Visits: 3,680
|
I did have boxes round the people even on the small test tree so I removed them , but still get the same result with this very small tree. As for trying Perl!- This is getting too complicated and I wouldn't know where to begin and what to do to to get this svg switcher. I went to the link but was non the wiser. I am into family trees and web sites and can find my way round html more or less, have managed to personalise the php for the message forum on my site with some difficulty.(no one has ever used it!) and I can get my head round some java script as long as it is a case of copy-paste. but I need to learn to walk before I can gallop! I am way out of my depth but would like to learn to swim! My site is at http://www.beath.net/tree/index.htm and there you can see my amateur efforts!
Edited: Monday, September 5, 2005 by
iaintait
|
|
|
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
|
Firstly, the SVG generated by my XSL translation will probably not handle as many as 4000 names in one GenoMap. I find it best to break the tree down into smaller GenoMaps, joined by hyperlinks. I tend to break mine down such that each GenoMap is readable when printed on a single landscape A4 page. This size also suits the SVG files, as the names are just readable without having to zoom in. The SVG viewer may still be quite slow with that many individuals in one file. I will be looking at a way to implement GenoPro's external hyperlink facility so that more one than one file can be used with hyperlinks between them.
Secondly I notice Adobe SVG Viewer 6 is more particular over errors in the SVG, and can end up with a window much as you describe when errors are present. Using Adobe version 3 will probably allow you to view the GenoMap, but note no image will appear with either ASV3 or ASV6 until you select a GenoMap. There is a batch file available that allows switching between SVG viewers here http://www.carto.net/papers/svg/utils/SVGSwitch.shtml.
I still will need to determine what the error is. I know there was a problem if your GenoPro file has borders around individuals with a transparent fill. I have posted an updated xsl file on my site that corrects this. If you still have problems let me know. (you can e-mail me at the address at the bottom of the tools page)
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|