plugin programming ...
 
Notifications
Clear all

plugin programming question

3 Posts
3 Users
0 Reactions
2,930 Views
Aurbo99
Posts: 2804
Topic starter
(@aurbo99)
Famed Member
Joined: 19 years ago
[#21092]

I've bugged ctmal to often in pm's (with many thanks of course) regarding a few unique Vixen/C# programming questions.

I'll post out here in hopes someone else may have an answer for this one.

using the currently loaded sequence;

I want to use the .InnerText of a setupNode and have it available to any form in the plugin.

anyone have an example of this?


2 Replies
Posts: 2168
(@djulien)
Noble Member
Joined: 19 years ago
Aurbo99 wrote:I want to use the .InnerText of a setupNode and have it available to any form in the plugin.

Wouldn't it just be


XmlNode mynode = setupNode.SelectSingleNode("name");

and then use mynode in the forms? (make it a global variable for easy access)

don


Reply
MacabreRob
Posts: 215
(@macabrerob)
Reputable Member
Joined: 15 years ago

why not just add a new node with your data? Generally not considered all that awesome to mix child nodes and text in Xml, but it does work...


Reply
Share: