Suggestions on XML validation and transforms?

[Migrated content. Thread originally posted on 23 August 2011]

Any suggestions for a platform-independent method for:
- Validating an XML file (with XSD)
- Transforming an XML file (using XSL/XSLT)

I am working with AIX and Windows.

Is there support in the Micro Focus toolset for either of these functions?

  • While I'm not familiar with the entire Micro Focus product set, I don't think that Micro Focus has a specific offering for this. However, there are numerous commercial and open source tools in this space.

    If you're looking to develop schemas and transforms, then you can use Visual Studio and several other commercial products on Windows. For cross-platform use, there are some plug-ins available for Eclipse.

    However, for almost all of the XSD and XSLT I've developed within Micro Focus, I have just used the open source Saxon library (written in Java). This has both command-line and programmable interfaces. This has the benefit that it is also ideally suited for production use.
  • Verified Answer

    Hi Mark -

    Thanks for the info. Here is some good info for you...

    I was just reviewing the release notes for the VC 2010 R4 demo and I find mention of support for the RM/Cobol XML extensions. Checking the noted documentation I find this is an insanely great decision! The XML extensions, among other useful things, support validation and transforms!

    I need confirmation that these extensions will be supported going forward for people not using RM syntax.


    XML Extensions
    You can now use XML Extensions, the system that enables your COBOL applications to interact with XML
    documents, with Visual COBOL.
    XML Extensions has many capabilities. The major features support the ability to import and export XML
    documents to and from COBOL working storage. Specifically, XML Extensions allows data to be imported
    from an XML document by converting data elements (as necessary) and storing the results into a matching
    COBOL data structure. Similarly, data is exported from a COBOL data structure by converting the COBOL
    data elements (as necessary) and storing the results in an XML document.
    For more information about XML Extensions, refer to the XML Extensions User's Guide, available from the
    RM/COBOL product documentation set, in the SupportLine section of the Micro Focus Web site.