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

RE: Difference between <when>x</when> and <when><text

Subject: RE: Difference between <when>x</when> and <when><text>x</text></when>
From: "Markus Karg" <karg@xxxxxxxxx>
Date: Wed, 24 Mar 2010 12:22:31 +0100
RE:  Difference between <when>x</when> and  <when><text
> -----Original Message-----
> From: Bill Michell [mailto:bill.michell@xxxxxxxxxxxxxx]
> Sent: Mittwoch, 24. Mdrz 2010 11:29
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Difference between <when>x</when> and
> <when><text>x</text></when>
>
>
> On 21 Mar 2010, at 13:04, Florent Georges wrote:
>
> > Markus Karg wrote:
> >
> >> In fact you might ask yourself why I need it. The reason is:
> >> Actually I had <when>x</when>, but Eclipse (even the latest
> >> one) reformats it by instering breaks when using "Source >
> >> Format"...
> >
> >  Ouch!  If you want to save time (so money), you'd better use an
> > XML IDE, like oXygen for instance.
> >
>
> Well, I don't know which particular Eclipse XML editor you are using,
> but my IDE has some interesting formatting preferences you can
> choose...
>
> Check out Preferences > XML > XML Files > Editor | Formatting |
> "Preserve whitespace in tags with PCDATA content"  and similar options.

Editor: I am using "Eclipse Java EE DIE for Web Developers", Build ID
20100218-1602. It contains an XSL editor by default provided by "Eclipse XSL
Developer Tools" v. 1.0.2.v200908271520-7R7T8sFIhIehWg454rq_U1 Build ID
20090616035105.

Preferences: Enabled Preferences > XML > XML Files > Editor "Preserve
whitespace in tags with PCDATA content".

Problem still happens: It seems that it ignores this setting for XSL files,
what is rather weird, as for XSL it would even make sense to have it enabled
by default...

Is that a bug in Eclipse or do I incorrectly use it?

Regards
Markus

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.