Click here to Skip to main content
16,004,924 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Adding Attributes to XML node using VBA Pin
DaveAuld18-Jul-10 9:51
professionalDaveAuld18-Jul-10 9:51 
GeneralRe: Adding Attributes to XML node using VBA Pin
priyaahh18-Jul-10 10:07
priyaahh18-Jul-10 10:07 
GeneralRe: Adding Attributes to XML node using VBA Pin
DaveAuld18-Jul-10 10:51
professionalDaveAuld18-Jul-10 10:51 
GeneralRe: Adding Attributes to XML node using VBA Pin
priyaahh18-Jul-10 10:59
priyaahh18-Jul-10 10:59 
GeneralRe: Adding Attributes to XML node using VBA Pin
DaveAuld18-Jul-10 11:08
professionalDaveAuld18-Jul-10 11:08 
GeneralRe: Adding Attributes to XML node using VBA Pin
priyaahh18-Jul-10 11:47
priyaahh18-Jul-10 11:47 
GeneralRe: Adding Attributes to XML node using VBA Pin
DaveAuld18-Jul-10 12:10
professionalDaveAuld18-Jul-10 12:10 
GeneralRe: Adding Attributes to XML node using VBA Pin
priyaahh18-Jul-10 13:38
priyaahh18-Jul-10 13:38 
Hi Dave,


Thanks lot.

I tried adding the funtion like :

Function getNodeAttributes(node As String) As String
Dim str_att As String
If node = "Policy_Years" Then
   str_att = "Attribute=" & "1,1,0,1,16711680,2,0,0,1,16711680,0,0,0,0,0,0.5,10,Arial,1"" Attribute2="""
End If
End Function


and also changed

strXML = strXML & "<" & Nodes(t) & getNodeAttributes(Nodes(t)) & ">"


Just tried assigning attribute to only one node. But I am not getting any in the output for the tag Policy_Years.

Please Help..

Regards,
Priya.
GeneralRe: Adding Attributes to XML node using VBA Pin
DaveAuld18-Jul-10 14:00
professionalDaveAuld18-Jul-10 14:00 
GeneralRe: Adding Attributes to XML node using VBA Pin
priyaahh18-Jul-10 19:44
priyaahh18-Jul-10 19:44 
GeneralRe: Adding Attributes to XML node using VBA Pin
DaveAuld18-Jul-10 22:23
professionalDaveAuld18-Jul-10 22:23 
GeneralRe: Adding Attributes to XML node using VBA Pin
priyaahh18-Jul-10 22:59
priyaahh18-Jul-10 22:59 
GeneralRe: Adding Attributes to XML node using VBA Pin
DaveAuld18-Jul-10 23:17
professionalDaveAuld18-Jul-10 23:17 
GeneralRe: Adding Attributes to XML node using VBA Pin
priyaahh18-Jul-10 23:32
priyaahh18-Jul-10 23:32 
GeneralRe: Adding Attributes to XML node using VBA Pin
DaveAuld18-Jul-10 23:48
professionalDaveAuld18-Jul-10 23:48 
GeneralRe: Adding Attributes to XML node using VBA Pin
priyaahh18-Jul-10 23:59
priyaahh18-Jul-10 23:59 
GeneralRe: Adding Attributes to XML node using VBA Pin
DaveAuld19-Jul-10 0:02
professionalDaveAuld19-Jul-10 0:02 
GeneralRe: Adding Attributes to XML node using VBA Pin
priyaahh21-Jul-10 1:26
priyaahh21-Jul-10 1:26 
GeneralMessage Removed Pin
16-Jul-10 16:56
June 19, 201016-Jul-10 16:56 
GeneralRe: Code for Enrollment System Pin
Richard MacCutchan16-Jul-10 23:11
mveRichard MacCutchan16-Jul-10 23:11 
GeneralRe: Code for Enrollment System [modified] Pin
Luc Pattyn16-Jul-10 23:29
sitebuilderLuc Pattyn16-Jul-10 23:29 
GeneralRe: Code for Enrollment System Pin
DaveAuld17-Jul-10 1:33
professionalDaveAuld17-Jul-10 1:33 
QuestionHow can use treenode's checkbox to control other controls whether are visible or not? Pin
sanyexian15-Jul-10 21:05
sanyexian15-Jul-10 21:05 
AnswerRe: How can use treenode's checkbox to control other controls whether are visible or not? Pin
Estys16-Jul-10 0:57
Estys16-Jul-10 0:57 
GeneralRe: How can use treenode's checkbox to control other controls whether are visible or not? Pin
sanyexian16-Jul-10 22:57
sanyexian16-Jul-10 22:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.