Subject: Re: [xsl] double spaces how do i keep them From: Michael Schäfer <michael.schaefer@xxxxxxxxxxx> Date: Tue, 06 Mar 2012 10:42:29 +0100 |
I ran your XSLT (slightly corrected for typos and missing namspace) in oXygen 13.1 against the bundled Saxon 9.3.0.5 HE and Xalan transformers.
The output was correct in any case, but formatting the single-line XML in oXygen normalised the double spaces into one!
Using <xsl:output method="xml" indent="yes"/> produced an XML output that was indented (except for the root element start tag that stayed on line 1) and had all spaces preserved.
OMG...thx....they are actually there you just don't see them in oxygen. Thanks a lot !
Have a nice day everyone...
. . . . . . . . . . . . . . . . . . . . . . . . . . Ing. Patrick Szabo XSLT Developer LexisNexis A-1030 Wien, Marxergasse 25
mailto:patrick.szabo@xxxxxxxxxxxxx Tel.: +43 1 53452 1573 Fax: +43 1 534 52 146
-----Urspr|ngliche Nachricht-----
Von: Michel Hendriksen [mailto:michel.hendriksen@xxxxx] Gesendet: Dienstag, 06. Mdrz 2012 10:13 An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Betreff: Re: [xsl] double spaces how do i keep them
Maybe try notepad(++) or some other plain text editor to be sure
On Tue, Mar 6, 2012 at 10:11 AM, Szabo, Patrick (LNG-VIE) <patrick.szabo@xxxxxxxxxxxxx> wrote:Thanks for your response. I'm viewing the result in oxygen so I guess that's not it.
. . . . . . . . . . . . . . . . . . . . . . . . . . Ing. Patrick Szabo XSLT Developer LexisNexis A-1030 Wien, Marxergasse 25
mailto:patrick.szabo@xxxxxxxxxxxxx Tel.: +43 1 53452 1573 Fax: +43 1 534 52 146
-----Urspr|ngliche Nachricht-----
Von: Andrew Welch [mailto:andrew.j.welch@xxxxxxxxx] Gesendet: Dienstag, 06. Mdrz 2012 10:09 An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Betreff: Re: [xsl] double spaces how do i keep them
<docinfo:custom-metafield name="citation-metadata">TY - CASE</docinfo:custom-metafield>
What I get is this:
<docinfo:custom-metafield name="citation-metadata">TY - CASE</docinfo:custom-metafield>
Once space is missing.
Can anyone tell me why ?
Is html or a browser involved... how are you viewing the result? html collapses multiple spaces down to a single space.
-- Andrew Welch http://andrewjwelch.com
-- _____________________________________
michael.schaefer@xxxxxxxxxxx www.destatis.de
DESTATIS wissen.nutzen. | Statistisches Bundesamt
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
AW: [xsl] double spaces how do i ke, Szabo, Patrick \(LNG | Thread | Re: AW: [xsl] double spaces how do , Wendell Piez |
[xsl] question on filtering a one-t, Robby Pelssers | Date | Re: [xsl] question on filtering a o, Michael Kay |
Month |