Unix Technical Forum

DTD to XSD

This is a discussion on DTD to XSD within the DB2 forums, part of the Database Server Software category; --> I use DTD and DB2 XMLExtender to export XML document from DB2. How can I use XSD to export ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 04:30 AM
nathan
 
Posts: n/a
Default DTD to XSD

I use DTD and DB2 XMLExtender to export XML document from DB2. How can
I use XSD to export XML document from DB2? Please share your wise.
Thanks Nathan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 04:30 AM
teliaz from us ibm com
 
Posts: n/a
Default Re: DTD to XSD

Hi Nathan,

I found in the documentation that you can use the <schemabindings> tag
instead of the <dtdid> to validate using xsds.

If you search the db2 infocenter for schemabindings you can get more
information.

http://publib.boulder.ibm.com/infoce...help/index.jsp

FYI: Some text from release notes of extender v7.2:
You can optionally validate the DAD with a schema. Insert the schema
tags that associate the DAD file with the schema file. For example:

<schemabindings>
<nonamespacelocation location="path/schema_name.xsd"/>
</schemabindings>

You can still validate the DAD by using a DTD instead of a schema:
<dtdid>path/dtd_name.dtd</dtdid>

Remember to specify validation in the DAD whenever you are validating
the DAD with either a schema or DTD:
<validation>YES</validation>

Good luck,

Tom

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:32 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com