Solved

Creating XML

Posted on 2001-06-21
6
357 Views
Last Modified: 2013-11-19
Hi all,

New to XML and we have to produce an XML file at the end of the payroll year to conform to the government's schema that they have provided (an XSD document). In beginner's terms, is there a way that I can get my application to look at the schema, look at my data and somehow (magically) produce an XML document that fits the schema?

Do the new XML features in Delphi 6 do this? I was at the Delphi Developer's Conference in Reading (England) this week and it looked like it might.

Thanks,
J.
0
Comment
Question by:jsweby
6 Comments
 
LVL 2

Accepted Solution

by:
DidierD earned 100 total points
ID: 6213979
Hi,

You can find some info about Delphi and XML at http://delphi.about.com/compute/delphi/library/weekly/aa072500a.htm?terms=xml

Didier
0
 
LVL 4

Author Comment

by:jsweby
ID: 6214071
That was a good link, thank you; however, it didn't have anything on creating the XML document based upon a schema. I don't even know if this is possible. But thanks, Didier.

J.
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 6214304
From http://www.borland.com/delphi/del6/featurematrix/bizsnap.html


DELPHI 6 BIZSNAP

New! XML Schema transform tools and utilities provide translation between XML Data, DTD's and XDR schema and datasets automatically - making XML Schema analysis, creation, and XML data transformations a snap!


Btw, only the Enterprise edition has these component.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 4

Author Comment

by:jsweby
ID: 6214380
Epsylon,

Thanks for that, I'm already on the path to getting Delphi 6 because of the DataSnap and BizSnap elements, thanks for the feedback. Didier, I'm going to give you the points fairly soon because I read one of the articles on the link you gave me and I'm now leaps ahead of where I was.

Just to keep this open a while longer though, anyone tried to do what I'm trying? i.e. create an XML doc from a database based upon a schema?

J.
0
 
LVL 2

Expert Comment

by:egono
ID: 6214869
when I started with xml I used these both resources a lot

http://msdn.microsoft.com/xml/default.asp
http://www.netcrucible.com/xslt/msxml-faq.htm

they are both MSXML related
i downloaded the MSXML 3.0 SDK also, it includes a
quite good documentation

http://msdn.microsoft.com/code/sample.asp?url=/msdn-files/027/000/542/msdncompositedoc.xml

the samples are in C++ or VB but it's quite readable

another good resources are these both newsgroups
microsoft.public.xml
microsoft.public.xsl

good luck
0
 
LVL 4

Author Comment

by:jsweby
ID: 6223679
Thanks for the link, it helped a bit although I'm still looking for someone to explain if I can go from schema to new XML document - is this what the XML Mapper is D6 does?

J.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now