The operation takes any object (anObject
) and tries to map it to an XML fragment. The fragment structure is given by the class definition of anObject
. If this is not possible an error is raised (e.g. XML parser errors, invalid mappings, etc.)
Multiexcerpt include |
---|
MultiExcerptName | mapping_rules |
---|
nopanel | true |
---|
PageWithExcerpt | classToXML |
---|
|
Info |
---|
|
A conversion with operation classToXMLFragment() always returns an object of type Blob. To display this data as a String you need to transcode it first (see transcodeToString). |