Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...how to generate xml filehow to generate xml file
Previous
 
Next
New Post
5/11/2011 10:09 AM
 
I am trying to generate an XML file using XML schema, has anyone done this and could you give me sample code please.

Sorry if this is not the right place to post but I figured that is what the general category is for.
 
New Post
5/12/2011 6:52 AM
 
welcome top the forum, I would just point out however this forum is just for dotnetnuke issues, can ou clarify exactly what you are trying to achieve and what the connection is with your schema and dotnetnuke?

Secondly the code yuo need kind of depends on what you've been using to create your schema, did you just straight type it in notepad?

Here is some sample instructions from another site, might help you, but not sure;

Create a project to contain the XML schema file. If you intend to generate Java™ beans from your XML schema, we recommend you create a project that is configured to work with Java source to contain both the XML schema and the beans (the beans must be contained in a project configured to work with Java source, however, the XML schema does not have to be). Otherwise, it does not matter what kind of project you create. 
Select the XML file you want to create the XML schema from. Right-click it and click Generate > XML Schema.
Select the folder or project that will contain the schema. In the File name field, type the name of the schema, for example MyXMLXSD.xsd. You must end the name of your schema with .xsd.
Click Finish.
A dialog box opens, indicating that the XML schema has been successfully generated.
The schema opens automatically in the XML schema editor. It will contain all the elements that were in the XML file you used to create the schema. You can now customize it further, adding new elements and so on.
 
Might be easier for yuo to chcuk your file hrough an xml editor as it sounds like hand coding migt be above your level at this point, I am using Liquid XML Editor but there are plenty of others to choose from if you just google it, good luck
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...how to generate xml filehow to generate xml file


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out