IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  specifying DTD in xml document

    Posted Wed July 12, 2006 04:22 AM

    Hi,
    I have to create an xml schema from an existing xml document.
    I know the procedure of creating an xml schema.
    But by xml document doesnt have a dtd tag in it.
    sample Xml code in my file is as below:

    <?xml version="1.0"?>

    <doctype

    00
    success
    The service has executed sucessfully


    how to enclose a dtd?
    the xml schema can be created from an xml document , proveded the xml document ponts to a valid dtd.
    how to have a dtd to solve my problem?

    Can anyone plz respond to this at the earliest

    Thanks,
    Chowdari


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: specifying DTD in xml document

    Posted Wed July 12, 2006 07:19 AM

    Hi Chowdari

    You can use xml spy to create schema from xml file.

    Gajanand


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: specifying DTD in xml document

    Posted Wed July 12, 2006 07:21 AM

    Hi Chowdari

    you can include dtd in your xml file via :

    PFA a sample xml and dtd file for reference.

    Filename : Request.xml

    <?xml version="1.0" encoding="UTF-8"?> gggg

    Filename: Request.dtd

    For more information on dtd/schemas refer : [url]http://www.w3schools.com/dtd/[/url]

    Regards,
    Puneet Saxena


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: specifying DTD in xml document

    Posted Wed July 12, 2006 08:45 AM

    Thanks Puneet for the detailed explanation


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods