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

Re: spacing issue

Subject: Re: spacing issue
From: Spencer Tickner <spencertickner@xxxxxxxxx>
Date: Mon, 6 Jun 2005 07:47:11 -0700
Re:  spacing issue
Hi Guys,

Thanks for the advice. Michael, I have set the indent in the output to
'no', this has made no difference.

David, I read over your post, I tried to place <xsl:text> around the
bracket, this didn't help. I realize that if I place the <insert> tag
dirrectly into the para template, this will work just fine. However,
the <insert> tag is used to index new text in our documents. Therefore
it can be anywhere.

This is why I needed to use it as an inline element and use
"apply-templates" instead of explicitly stating it.

Like I said I do have a solution using d-o-e, however as Michael said
I probably shouldn't be using it and little hacks like this are the
kinda thing that keep me up at night. If you have any other
suggestions or I misread either post I'd appreciate any comment.

Cheers,

Spencer

On 6/6/05, David Carlisle <davidc@xxxxxxxxx> wrote:
>
>   space in the brakets due to a carriage return I just cannot get rid
>   of:
>
>
> In this case the end of line is one that you are inserting explictly, so
> the solution is easy, just don't insert it.
>
> <p class="para">(
>        <insert>
>
> That inserts a text node that consists of a bracket, a newline and seven
> spaces into the result tree.
>
> If you only want a bracket do
>
>
> <p class="para">(<insert>
>
> or
>
> <p class="para">
>   <xsl:text>(</xsl:text>
>   <insert>
>
>
> David
>
>
>
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________

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.