Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# XML Silverlight
hi
 
i am new to xml in silverlight.i have one small xml file below
 
<FlowActivities>
 
 <SequenceFlow >
 
  <FlowWriteLine>
 
         hiiii
 
  </FlowWriteLine>
 
 </SequenceFlow>
 
</FlowActivities>
 
in this i want to hardcode some namespace in rootnode.like
 
<FlowActivities x:Class="WorkflowConsoleApplication1.modify" 
      xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" 
      mc:Ignorable="sap2010"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      sap2010:ExpressionActivityEditor.ExpressionActivityEditor="C#"
      xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation"
      xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib"   
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
 
 <SequenceFlow >
 
  <FlowWriteLine>
 
         hiiii
 
  </FlowWriteLine>
 
 </SequenceFlow>
 
</FlowActivities>
can't add attribute .bcse its not take hexadecimal value like ":" as a attribute value.
 
for getting this wht i have to do..? pls sort this out..?
Posted 23-Jan-13 20:31pm
nixen09197
Edited 23-Jan-13 20:40pm
v2
Comments
Sergey Alexandrovich Kryukov at 24-Jan-13 2:34am
   
There is no "XML in Silverlight". XML is XML. Read about namespaces. W3 and elsewhere.
—SA

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi, you should learn about XAML[^].
 
Best regards.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CHill60 590
1 Sergey Alexandrovich Kryukov 467
2 OriginalGriff 285
3 PIEBALDconsult 285
4 BillWoodruff 173


Advertise | Privacy | Mobile
Web04 | 2.8.141015.1 | Last Updated 4 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100