[microformats-discuss] hCard Help

brian suda brian.suda at gmail.com
Thu Sep 22 15:01:51 PDT 2005

Thanks Greg, that was actually a problem with X2V. It was NOT
normalizing the space in the text string... In your code there were no
returns, but somewhere they were being introduced. I added an XSLT
function to clean up the string (it is on all the other templates, i
just managed to miss ORG), so it is working just fine now. You shouldn't
have to do anything to your HTML.

If anyone else finds problems please feel free to let me know.

With the hCard parsing page being finished-up there are a few sizable
changes to the hCard spec, namely singularization of some properties.[1]

The next version of X2V will parse things even better and conform to the
parsing spec, so be aware you might have to make minor changes to your

For all developers and people who use hCards in their sites, please add
them to the Wiki[2] and when we make any changes i will try to test
against your hCards and let you know if there are any problems, but i
can't do that unless you list your sites.


[1] - http://www.microformats.org/wiki/hcard-parsing
[2] - http://www.microformats.org/wiki/hcard#More_Examples

Greg Falken wrote:

>I have a situation that I don't understand (not an unusual state of affairs)
>and could use some advice.
>I have added an hCard to the page at and
>am using Suda's X2V link to render it. The problem is with the organization
>name, Emerson & Associates. The returned .xcf file looks like this:
>PRODID:-//suda.co.uk//X2V 0.6.18 (BETA)//EN
>NAME: Contact Emerson & Associates
>FN:Linda Emerson
>EMAIL:info at emerson4biz.com
>ORG:Emerson &
>ADR:;;P.O. Box 44;Twain Harte;CA;95383;;
>TEL:(209) 586-4464
>See the line break after the ampersand? This is causing the organization
>name to truncate when imported into MS Outlook. Any ideas on how this can be
>Thanks in advance,
>Greg Falken
>microformats-discuss mailing list
>microformats-discuss at microformats.org

More information about the microformats-discuss mailing list