DictionaryXMLTransforms Object

Ee785042.c++_off(en-US,CS.10).gifEe785042.vb_on(en-US,CS.10).gif

Use this object to transform data from a Dictionary object into Extensible Markup Language (XML) and vice-versa, using a specified XML Data Reduced (XDR) schema.

ProgID:   Commerce.DictionaryXMLTransforms (Externally creatable)
COM Class Name:   DictionaryXMLTransforms
COM Interface Name:   _DictionaryXMLTransforms
Interface ID Constant:   None
Header File:   None
Type Library Name:   Microsoft Commerce 2000 DictionaryXMLTransform Type Library
DLL Name:   DictionaryXMLTransforms.dll
Threading Model:   Apartment

Ee785042.important(en-US,CS.10).gif Important

  • The DictionaryXMLTransforms object is only capable of processing dictionary keys with names that would be allowable as XML Node names. Allowable characters include A-Z and the underscore "_" character. Disallowed characters include"*", "\", etc., and foreign-language characters.

  • Every dictionary key value must be URL-encoded.

In C++, use the _DictionaryXMLTransforms interface to access the properties and methods of the DictionaryXMLTransforms object.

The methods of the DictionaryXMLTransforms object are shown in the following table.

Method Description
GenerateSampleXMLInstanceFromDictionary Produces an XML instance based on the specified Dictionary object.
GenerateXMLForDictionaryUsingSchema Extracts an XML instance from the specified Dictionary object that conforms to the specified schema.
GetXMLFromFile Generates an XML Document Object Model (DOM) document from the specified file.
ReconstructDictionaryFromXML Transforms the specified XML instance (which must comply with the specified schema) into a Dictionary object.

Remarks

The example code that calls this method can be found in the payment.asp and _recvpo.asp files. An example of the use of a XML schema can be found in the POSchema.xml file in the Solution Sites.

See Also

General Purpose Objects

Dictionary Object


All rights reserved.