Ask a Question related to Adobe Indesign Windows, Design and Development.
-
Ben_Marchbanks@adobeforums.com #1
My XML import into inDesign doubles the carriage returns
I am using the following XSL to produce an XML from FileMaker Pro
The resulting import contains double carriage return wherever a single CR is represented in the XSL using <xsl:text> </xsl:text>. Also the usual & # 1 0 ; is completely ignored.
Is there a problem with my encoding ? UTF-8 yields the same results...
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fmp="http://www.filemaker.com/fmpxmlresult">
<xsl:output method="text" version="1.0" encoding="ISO-8859-1" indent="no" standalone="yes"/>
<xsl:template match="fmp:FMPXMLRESULT">
<Root>
<Tag1A>
<xsl:for-each select="fmp:RESULTSET/fmp:ROW"><xsl:value-of select="fmp:COL[3]/fmp:DATA"/><xsl:text>
</xsl:text></xsl:for-each>
</Tag1A>
<Tag1B>
<xsl:for-each select="fmp:RESULTSET/fmp:ROW"><xsl:value-of select="fmp:COL[4]/fmp:DATA"/> </xsl:for-each>
</Tag1B>
<Tag1C>
<xsl:for-each select="fmp:RESULTSET/fmp:ROW">
<xsl:value-of select="fmp:COL[5]/fmp:DATA"/>
<xsl:text> </xsl:text>
</xsl:for-each>
</Tag1C>
</Root>
</xsl:template>
</xsl:stylesheet>
Ben_Marchbanks@adobeforums.com Guest
-
Removing carriage returns...
Here is the code that I am using to try and remove the Carriage Returns and Line Feeds and replace them both with spaces: ... -
replacing carriage returns in file
Hi, I have a file that I want to import into excell. In order to do that it must be delimited in some manner, because currently it is formatted... -
XML, carriage returns and special characters.
Hi, I'm trying to add dinamic content to my site using Flash and XML. Here is an example: <?xml version="1.0" encoding="utf-8"?> <PHOTOS>... -
replacing carriage returns?
so... i'm trying to remove all carriage returns in the input i get from GET, and am trying to replace them with three dots... however, this... -
Extra carriage returns - why?
John Andrews wrote: From previous post in thread: perl -pe 's/NEVERFOUND/NEVERFOUND/g' < foo > bar Hmmmmmm...I was unable to duplicate...



Reply With Quote

