Working with xml instances with different schemas

P

Paolo

Hi all.
I'm working on a translator from DTD to and from XMLSchema.
The schema part (.dtd and .xsd) is working quite well, but I've some
doubt with the instances (.xml).
After I've translated the schema from DTD to XMLSchema, what I should
change in the instance file? If I work with quite simple schemas and
instances, what I've to change more than:
-------------
<!DOCTYPE cust:Customer SYSTEM "...schema.dtd">
-------------
in:
-------------
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:xmlns:....schema.xsd"
-------------
?

Thanks Very Much for your comments and suggestions


P.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,128
Latest member
ElwoodPhil
Top