[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML output ugly

Subject: Re: XML output ugly
From: "Michele R Combs mrrothen@xxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 11 Jan 2018 21:36:47 -0000
Re:  XML output ugly
Aha!  Not on a Mac, but yes, it does seem to depend on what Ibm using to
open/view the xml.

Viewed in plain old vanilla Notepad, it looks fine (no extra lines).
Viewed in Notepad++ it has the extra lines.

In MSWord, if I change the extension to *.txt to fool it and open it directly,
it looks fine.
(The *.txt extension does not fool Notepad++, however.  It still sees the
extra lines.)

If I open it in Notepad (no extra lines), copy it, and then paste it into
Notepad++ or into MSWord, the extra lines magically appear.
If I flip the switch in Word to show spaces, tabs, etc. I do in fact see two
of the B6 B6 symbol..
And yet if I then copy it out of Word and then paste it back into Notepad, the
extra lines magically disappear.

So, I guess this means itbs not really an XML question at all, itbs our
ancient enemy CR/LF.  Grrrr.

Thanks, everyone.

Michele

From: Rick Quatro rick@xxxxxxxxxxxxxx
[mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx]
Sent: Thursday, January 11, 2018 3:50 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  XML output ugly

Hi Michele,

Are you viewing the output on a Mac? I think Windows uses a carriage return +
line feed sequence (or vice versa), whereas the Mac just uses one of them.
There may be a line ending flag for xalan that you can set for Mac/Unix line
endings.

Rick

Rick Quatro
Carmen Publishing Inc.
rick@xxxxxxxxxxxxxxx<mailto:rick@xxxxxxxxxxxxxxx>
585-366-4017

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.