PC Review


Reply
Thread Tools Rate Thread

How to create new element for XML file?

 
 
Brett
Guest
Posts: n/a
 
      23rd Mar 2005
I have a .XML file in a project (solution). With that file open, I click
the XML menu item and "create schema". Now I open the schema file, which
has all the different elements defined. I right click in an empty area and
select add | new element. I type in "CurrentVersion" and then tab down to
the second row. I select Element, type in "CurrentVersionElement" and put
it as a string. Then I save.

Now when I go back to the XML file and type the open carrot symbol "<", I
only see the existing elements but not the new one I just added. It seems I
need to link this new addition some how.

Any suggestions?

Thanks,
Brett


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Element 'ElephantTreeView' is not a known element. This can occur ifthere is a compilation error in the Web site, or the web.config file ismissing. Dave Microsoft C# .NET 4 7th Jul 2010 02:11 AM
Element 'ElephantTreeView' is not a known element. This can occur ifthere is a compilation error in the Web site, or the web.config file ismissing. Options Dave Microsoft ASP .NET 0 5th Jul 2010 04:54 PM
Dynamically Create File Upload Element eric.anderson@wachovia.com Microsoft ASP .NET 0 8th Jan 2007 02:42 PM
Element 'Element Name Here' is not a known element. This can occur if there is a compilation error in the Web M Noreen Microsoft Dot NET 3 17th Apr 2006 07:28 AM
how to create xml files out of an xml file based on an element ALI-R Microsoft C# .NET 2 17th Dec 2004 10:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:07 AM.