xsl-list
[Top] [All Lists]

[xsl] Re: unwanted ascii newline/cr characters in xml transformation

2006-08-29 13:47:34

                <Component Name="{normalize-space(.)}">
That makes the Name attribute that you want
                                <xsl:attribute name="Name"><xsl:value-of
select="title"/></xsl:attribute>
this replaces it with the one you had before, just delete these lines.

similarly you could write this:
                                        <Problem>
                                                <xsl:attribute
name="Description"><xsl:value-of select="title"/></xsl:attribute>

as
<Problem Description="(title}">
(or  better
<Problem Description="(normalize-space(title)}">
)

David

--~------------------------------------------------------------------
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>