Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently for XML raw there is support for a header but that comes before the root in this code
if ($header) {
$xml .= $header . "\n";
}
$xml .= "<$root>\n";
foreach ($rows as $row) {
It would be nice if the module in addition to the header supported common elements (xml elements that are in the root and common to the feed, so the code above would become something like
if ($header) {
$xml .= $header . "\n";
}
$xml .= "<$root>\n";
if ($common) {
$xml .= $common . "\n";
}
foreach ($rows as $row) {
Comments
Comment #1
Alexander Allen CreditAttribution: Alexander Allen commentedTagging due to dependency in #1699368: #RVDA: Rewrite Views Datasource's Architecture.
Comment #2
Alexander Allen CreditAttribution: Alexander Allen commentedPostponed. Please refer to #1699368.
Comment #3
Alexander Allen CreditAttribution: Alexander Allen commentedComment #4
kenorb CreditAttribution: kenorb commented