Article View: adobe.framemaker.sgml
Article #506Re: Space! The Final Frontier
From: Martti_Poutanen
Date: Thu, 30 Oct 2008 06:44
Date: Thu, 30 Oct 2008 06:44
11 lines
1181 bytes
1181 bytes
Hi David, Looks like a cr/lf problem in XML CDATA-sections from the source data. Are you working with mixed environments Unix/Windows? I'd try additional code in xsl to tweak the output: a) use normalize-space() in text()-match to get rid of extra stuff, it might solve the problem b) bit more complicated is to have recursive template for cdata that uses substring-before (grab cdata before linebreak, usually char "#x0a" )and substring-after (grab all cdata after linebreak) BR, Dr. Spock ..former Martti..;)
Technical Details
Message-ID:
<59b6e2e5.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossingReferences:
<59b6e2e5.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,f422791cca42caa3 X-Google-Attributes: gidfcc08,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Martti_Poutanen@adobeforums.com Newsgroups: adobe.framemaker.sgml Subject: Re: Space! The Final Frontier Message-ID: <59b6e2e5.0@webcrossing.la2eafNXanI> Date: Wed, 29 Oct 2008 23:44:11 -0700 References: <59b6e2e5.-1@webcrossing.la2eafNXanI> Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossing