|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 2.5.4.1
Last Login: Wednesday, June 2, 2021
Posts: 220,
Visits: 14,736
|
Hello,
I have two questions.
1. Why is in html source code and space between some sentences?
Ivana's father is <Unknown> and her mother was <a href='Ledvinkova-Marie-ind00430.htm' onclick='hidePopUpFrame("");' target='detail'>Marie (Ledvinková)</a>. Her maternal grandfather is <Unknown> and her maternal grandmother was <a href='Rybova-Frantiska-ind00428.htm' onclick='hidePopUpFrame("");' target='detail'>Františka Rybová (Albrechtová)</a>. She is an only child.
Then are two ugly spaces in output. Where is entity defined and how to remove it?
2. How to add entity to the output? I want to join some parts of the output with (for example dates - 1. ledna.1900, prepositions - v kostele). Is possible to add this entity to the xml tags in dictionary or how to do this?
Thanks
Tags:
Edited: Wednesday, October 19, 2011 by
GenoProSupport
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: 2 days ago @ 11:01 PM
Posts: 4,887,
Visits: 22,764
|
GenoPro encodes two spaces as one and the other as a regular space, otherwise the two spaces are consolidated into one space.
If you wish to in the output, simply add &nbsp;
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 2.5.4.1
Last Login: Wednesday, June 2, 2021
Posts: 220,
Visits: 14,736
|
2 does not work: <FmtYMD> [|asi |před datem |po datu ]d.&nbsp;MMMM&nbsp;yyyy</FmtYMD> and the output looks like this 24. března 1834 with source 24.&nbsp;března&nbsp;1834
What is wrong?
Edited: Wednesday, October 19, 2011 by
powery
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: 58 minutes ago
Posts: 3,347,
Visits: 25,639
|
HTML named entities are not good in XML. Try   instead of &nbsp;
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: 2 days ago @ 11:01 PM
Posts: 4,887,
Visits: 22,764
|
Thank you Ron!
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 2.5.4.1
Last Login: Wednesday, June 2, 2021
Posts: 220,
Visits: 14,736
|
I have <FmtYMD> [|asi |před datem |po datu ]d. MMMM yyyy</FmtYMD> in <FmtDateNarrative> and still no
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: 58 minutes ago
Posts: 3,347,
Visits: 25,639
|
When the tag is read from the Dictionary   gets converted to a hard-coded non-breaking space character, in the same way   gets converted to a leading space (a simple leading space would be stripped out, hence the numberic entity is used).
An so the resulting HTML contains the non-breaking space itself, not the HTML entity but the effect should be the same. I have tested it and if for example you resize a generated page in your browser the date parts stay together on a line.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers FamilyTrees.GenoPro.com GenoPro version: 2.5.4.1
Last Login: Wednesday, June 2, 2021
Posts: 220,
Visits: 14,736
|
Yes, that's it. Many thanks for explanation.
|