xsl-list
[Top] [All Lists]

Re: spacing issue

2005-06-06 11:24:35
Spencer Tickner writes:
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.

Why don't you use <ins>...</ins> instead of <insert>...</insert>, which
would be valid XHTML (http://www.w3.org/TR/html4/struct/text.html#h-9.4).

-- 
Kevin Rodgers


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>