Recently the ability to update the base tag of the XML document report type was added:

https://drupal.org/node/2129595

It's possible by adding this into the skininfo file:

FrxXMLDoc[rootElementName] = YourRootElementName

It would be cool if we could add attributes to the base tag in a similar fashion:

FrxXMLDoc[rootElementAttributes][version] = 3.1
FrxXMLDoc[rootElementAttributes][date] = 11-23-2013
etc..

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jamesdixon’s picture

Status: Active » Needs review
FileSize
1.9 KB

Here is a patch we used to achieve the desired results. If it's something you find useful, have a look and consider including it in the XML Document report format.

Thanks,

James

metzlerd’s picture

Status: Needs review » Needs work

Could I ask you to reroll this against 7.x-3.x-dev so that we con consistently implement this accross versions? I will merge this into the 7.x-4.x branch. The patch as written does not apply to the 7.x-3.x-dev branch.

Thanks...

jamesdixon’s picture

No problem, here is a patch for 7.x-3.x, let me know if it works for you.

jamesdixon’s picture

Status: Needs work » Needs review
metzlerd’s picture

Version: 7.x-4.x-dev » 7.x-3.x-dev
Assigned: Unassigned » metzlerd
Status: Needs review » Fixed

Committed and merged to 7.x-4.x-dev branch.

jamesdixon’s picture

Awesome thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.