Click here to Skip to main content
15,889,858 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
Is there any way I can add a custom attribute to a paragraph node via the openxml sdk?

ie:
<w:p myid="1" >

The reason is that I would like to include some data in files I generate so that I can import them later and recognize how certain portions of the document relate to data.
Anybody have some information that can help?

I haven't been able to find anything that will do what I need.

thanks,

Danny
Posted
Updated 2-Apr-11 1:50am
v4
Comments
Dalek Dave 2-Apr-11 7:54am    
Edited for readability

1 solution

check following links hope it will work for you--

Using Custom XML Part as a data store[^]

A discussion on msdn on same problem[^]
 
Share this answer
 
Comments
Dalek Dave 2-Apr-11 7:54am    
Good links
pankajupadhyay29 2-Apr-11 9:45am    
thanks
DannyStaten 2-Apr-11 9:44am    
Cool thanks for sharing that information.
pankajupadhyay29 2-Apr-11 9:45am    
your welcome

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900