On Wed, Apr 18, 2012 at 16:20, Blanco, Jose <[email protected]> wrote:
> So I should put my variable where we are processing DRI, but where would that 
> be in the item-view.xsl file?  Or would it be in some other file.

It doesn't matter which file (unless you want to override one template
with another), all of them process DRI. It's individual templates that
can match different namespaces. So you can just put it where I put it
in my snippet.

> I would assume each xsl file has one and  only one xml file that is fed to 
> it, and that there must be a hierarchy of xsl files.  Is that right?  I don't 
> have a clear picture how the xsl files get their xml data.  If you can 
> explain that to me, I think it will take me a long way.

When speaking of files, the only thing you need to be aware of is the
difference between include and import. Just Google it, e.g.:
http://xml.apache.org/xalan-j/xsltc/xsl_include_design.html

So you can create a hierarchy by importing, but xsl files don't
override whole xsl files, only templates in the included file override
templates in the including file! So, obviously, templates from the
including file are still available unless overriden by the included
file.

In DSpace, AFAIK, all the XSL files process DRI. To process other
files you can match other namespaces like METS or use the document()
call (I hear the latter is not recommended in Cocoon for efficiency
reasons).

Regards,
~~helix84

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to