all groups > dotnet xml > august 2005 >
You're in the

dotnet xml

group:

how to embed a control in XML Document


how to embed a control in XML Document jayrm100 NO[at]SPAM yahoo.com
8/17/2005 4:00:14 AM
dotnet xml:
Hi,


I need to add controls like Textbox,Label,Listbox etc dynamically in
a WordML document.


To be more precise, suppose i have doc and docnodes as two xml nodes,
document should be displayed as


<doc>
<docnodes>
Label1 : Textbox1
Label2 : Textbox2
</docnodes>
</doc>


Can someone help me with this.
Re: how to embed a control in XML Document jayrm100 NO[at]SPAM yahoo.com
8/18/2005 6:35:53 AM
Hi,

Consider the following wordML document

<doc>
<docmetadata>
Content ID : 122334 Content type: Text
Language:English Date:18 Aug 2005
Audience:Developers Level:Middle
</docmetadata>
<docbody>
<section>
<sectionbody> Sample Text </sectionbody>
</section>
<docbody>
</doc>

In the above example, Content ID,Content type, Language, Date,
Audience, Level should be Labels, and the corresponding values should
be in Textboxes.

So i need to know if its possible to add controls like labels,
textboxes,list box within WordML

Also i should be able to obtain values for say audience, from a tree
view by double clicking a node.

Hope I am clear in my requirement.

Thanks.
Re: how to embed a control in XML Document jayrm100 NO[at]SPAM yahoo.com
8/18/2005 6:36:29 AM
Hi,

Consider the following wordML document

<doc>
<docmetadata>
Content ID : 122334 Content type: Text
Language:English Date:18 Aug 2005
Audience:Developers Level:Middle
</docmetadata>
<docbody>
<section>
<sectionbody> Sample Text </sectionbody>
</section>
<docbody>
</doc>

In the above example, Content ID,Content type, Language, Date,
Audience, Level should be Labels, and the corresponding values should
be in Textboxes.

So i need to know if its possible to add controls like labels,
textboxes,list box within WordML

Also i should be able to obtain values for say audience, from a tree
view by double clicking a node.

Hope I am clear in my requirement.

Thanks.
Re: how to embed a control in XML Document Oleg Tkachenko [MVP]
8/18/2005 11:23:24 AM
[quoted text, click to view]


Can you elaborate your question any further? Provide complete sample of
inpud XML and desired result.

--
Oleg Tkachenko [XML MVP, MCAD]
http://www.xmllab.net
AddThis Social Bookmark Button