--- In svg-developers@yahoogroups.com, "waynehet" <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> 
> I'm having a little trouble with a svg document created in Illustrator
> that I need to adjust to reflect some external data.  I'm applying a XSL
> transformation in .NET to update the node attributes (particularly fill
> color).  Everything works fine except for some whitespace in
> particularly long <d> attributes.
> 
> For example, this svg node...
> 
> <path id="Section5" fill="#BFDAB6" stroke="#000000" stroke-width="0.216"
> d="M306.694,
>
301.283c-4.751,3.024-9.981,5.276-15.563,6.219c0,14.792,0,29.583,0,44.375\
> c5.936,
>
0.625,11.793,2.141,17.281,4.469c8.978,3.563,16.779,9.245,23.094,16.281c4\
> .723-3.052,
>
9.46-6.081,14.188-9.125c14.373-0.437,28.888-0.409,43.406-0.344v-29.969L3\
> 06.694,
> 301.283z"/>
> which comes from Illustrator nicely formatted with line wraps (I have
> adjusted the wrapping for this message, but you get the idea), will come
> out of the transformation similar to this...
> 
> <path id="Section5" fill="#BFDAB6" stroke="#000000" stroke-width="0.216"
> d="M306.694,&#xD;&#xA;           


> The transformation has inserted "&#xD;&#xA" for the whitespace in the
> attribute value.  I've tried everything but cannot seem to find a way to
> get rid of this.  Of course it messes up the viewer 

Here is a static SVG document
<http://www34.brinkster.com/libertydevelop/svg/test2006080502.svg>
with &#xD;&#xA; in the d attribute value, Adobe SVG viewer in IE
renders that just fine so it really seems the display problem might be
caused by some other issue. See my other post if you use .aspx pages
to dynamically serve the SVG.







-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to