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 |
---|
SpaceWithExcerpt | INTERNAL |
---|
MultiExcerptName | classToXML_mapping_rules |
---|
nopanel | true |
---|
PageWithExcerpt | INTERNAL:_designer_excerpts_asl |
---|
shouldDisplayInlineCommentsInIncludes | false |
---|
|
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). |