Hi Bill,

I'd actually trust "?XML" more than "/DRI" as it has all the "rend" attributes, etc which are rendered in XSLT.

IIRC, these options *used* to be identical. But, it looks like "/DRI" is performing some (minor) XSLT translations prior to showing you the XML. That's why the "rend" attributes are missing on some tags, and the I18N keys are filled out.

When in doubt here, I'd honestly use ?XML since it looks more correct to me. But, "/DRI" looks like it does a nifty trick of translating all those I18N keys (if you don't want to look them up manually)

- Tim


On 10/9/2015 10:55 AM, Bill T wrote:
Hmmm...  They don't appear identical.  Here is a snip including a list
from the options section as rendered by ?XML
<options>
<list id="aspect.viewArtifacts.Navigation.list.browse" n="browse">
<head rend=" h6">
<i18n:text
catalogue="default">xmlui.ArtifactBrowser.Navigation.head_browse</i18n:text>
</head>
<list id="aspect.browseArtifacts.Navigation.list.global" n="global">
<head rend=" h5">
<i18n:text catalogue="default">
xmlui.ArtifactBrowser.Navigation.head_all_of_dspace
</i18n:text>
</head>
<item>
<xref target="/community-list">
<i18n:text catalogue="default">
xmlui.ArtifactBrowser.Navigation.communities_and_collections
</i18n:text>
</xref>
</item>
<item>
<xref target="/browse?type=dateissued">
<i18n:text
catalogue="default">xmlui.ArtifactBrowser.Navigation.browse_dateissued</i18n:text>
</xref>
</item>
<item>
<xref target="/browse?type=author">
<i18n:text
catalogue="default">xmlui.ArtifactBrowser.Navigation.browse_author</i18n:text>
</xref>
</item>
<item>
<xref target="/browse?type=title">
<i18n:text
catalogue="default">xmlui.ArtifactBrowser.Navigation.browse_title</i18n:text>
</xref>
</item>
<item>
<xref target="/browse?type=subject">
<i18n:text
catalogue="default">xmlui.ArtifactBrowser.Navigation.browse_subject</i18n:text>
</xref>
</item>
<item>
<xref target="/browse?type=type">
<i18n:text
catalogue="default">xmlui.ArtifactBrowser.Navigation.browse_type</i18n:text>
</xref>
</item>
</list>
<list id="aspect.browseArtifacts.Navigation.list.context" n="context"/>
</list>

Here is the same section as rendered by /DRI...

<options>
<list id="aspect.viewArtifacts.Navigation.list.browse" n="browse">
<head>Browse</head>
<list id="aspect.browseArtifacts.Navigation.list.global" n="global">
<head>All of DSpace</head>
<item>
<xref target="/community-list">Communities & Collections</xref>
</item>
<item>
<xref target="/browse?type=dateissued">Dates</xref>
</item>
<item>
<xref target="/browse?type=author">Authors</xref>
</item>
<item>
<xref target="/browse?type=title">Titles</xref>
</item>
<item>
<xref target="/browse?type=subject">Subjects</xref>
</item>
<item>
<xref target="/browse?type=type">Types</xref>
</item>
</list>
<list id="aspect.browseArtifacts.Navigation.list.context" n="context"/>
</list>

At the very least some processing has taken place to render the i18n
text -- which led me to believe (perhaps mistakenly) that the document
produced by /DRI was a tad closer to what the theme layer uses.
Bill

On Friday, October 9, 2015 at 8:46:34 AM UTC-5, Bill T wrote:

    DSpace 5.3 (although I don't think the version matters...) and xmlui:

    Will someone please explain the difference between the document
    produced by

       /DRI/handle/123/456

    vs that produced by

       /handle/123/456?XML

    which one is the last version before it hits the theme layer?

    Thanks!
    Bill

--
You received this message because you are subscribed to the Google
Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

--
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

--
You received this message because you are subscribed to the Google Groups "DSpace 
Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to