![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Where are these pesky and superfluous xmlns="" coming from? Where are these pesky and superfluous xmlns="" coming from?To: NULL Date: 8/6/2008 12:34:00 AM
Here is a fragment of my xml (input) file:
<keys>
<key-row id="kr1">
<key position="1" row="1" id="esc" scan="110"> <outline x="249.9690"
y="419.7360" width="34.2310" height="34.2180" /> </key>
<key position="2" row="1" id="f1" scan="112"> <outline x="304.1550"
y="419.7360" width="34.2310" height="34.2180" /> </key>
<key position="3" row="1" id="f2" scan="113"> <outline x="358.3410"
y="419.7360" width="34.2310" height="34.2180" /> </key>
</key-row>
</keys>
Here is a fragment of my xsl file:
<xsl:template match="key">
<Rectangle RadiusX="3" RadiusY="3" Stroke="#FFFF0000"
StrokeMiterLimit="4" Canvas.Left="{outline/@x}" Canvas.Top="{outline/@y}"
Width="{outline/@width}" Height="{outline/@height}" StrokeThickness="1"
ToolTip="row:{@row} position:{@position} id:{@id} scan:{@scan}" />
</xsl:template>
Here is a fragment of the output:
<Rectangle RadiusX="3" RadiusY="3" Stroke="#FFFF0000" StrokeMiterLimit="4"
Canvas.Left="249.9690" Canvas.Top="419.7360" Width="34.2310"
Height="34.2180" StrokeThickness="1" ToolTip="row:1 position:1 id:esc
scan:110" xmlns="" />
Where is this 'xmlns=""' coming from! How do I surpress it? It is screwing
up my xaml and IE/silverlight does not like it! It happens with both xalan
and System.Xml.Xsl;
Thanks!
Siegfried
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||
|
