I will have to look into the behavior of X2V. I think adding '<xsl:strip-space elements="*"/>' would remove the '\n's but i spent alot of time purposely adding them. For things like NOTES and a few others it will convert HTML into plain-text with some basic styling, such as line-breaks and '*' for bullets. I guess i need to look into where/why they get added.
In the original example: \nPaul\n \nHefty\n the '\n's are appearing because of returns in the HTML (which don't seem to be there so it might be an issue with my code handling the comments) as for the issue with comments in the title: TITLE;LANGUAGE=en;CHARSET=UTF-8:InstanceBeginEditable name="title" Head Coach/Offensive Coordinator that SHOULD NOT be the case, so it is an error on the part of X2V, i'll have to look into ignoring those better. -brian Eran wrote: > Here's a good article about whitespace in XSLT: > http://www.xml.com/pub/a/2001/11/07/whitespace.html basically you wanna do > something like > > <xsl:strip-space elements="*"/> > > I think that should do the trick. > Eran. > > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of Faust >> Sent: Monday, May 15, 2006 9:22 AM >> To: Microformats Discuss >> Subject: [uf-discuss] X2V hCard question >> >> Hi, >> >> I am trying to set up some Dreamweaver templates that will >> support microformats without making the user specify all of >> the classes and am running into a few parsing problems. >> >> >> > [...snip...] > >> How can I get rid of the "\n" in the FN? >> >> Is the content of the HTML comments supposed to be picked up in TITLE? >> >> >> Thanks in advance, >> >> Faust >> >> >> _______________________________________________ >> microformats-discuss mailing list >> [email protected] >> http://microformats.org/mailman/listinfo/microformats-discuss >> >> > > _______________________________________________ > microformats-discuss mailing list > [email protected] > http://microformats.org/mailman/listinfo/microformats-discuss > > _______________________________________________ microformats-discuss mailing list [email protected] http://microformats.org/mailman/listinfo/microformats-discuss
