On Mon, 2008-02-04 at 14:39 -0600, Dorothea Salo wrote:
> On Feb 4, 2008 2:34 PM, Conal Tuohy <[EMAIL PROTECTED]> wrote:
> 
> > I believe there's a namespace cleanup transformer that at least some of
> > the themes use prior to HTML serialisation.
> 
> Oh? How would I recognize this thing?

My memory did serve me correctly - here's what I was thinking of:

<map:transformer 
        name="NamespaceFilter" 
        src="org.dspace.app.xmlui.NamespaceFilterTransformer"/>

It will appear in a pipeline like so:

        <transform type="NamespaceFilter" blah blah blah />

> > BTW, in XSLT, the exclude-result-prefixes feature only prevents the
> > automatic propagation of namespace bindings and doesn't apply if your
> > XSLT uses xsl:copy to copy an element (because the namespace bindings
> > are attached to the element and come with it).
> 
> Yes, I figured this out today and did a sweep. All the copy-ofs I see
> are straight-up text nodes, though; they shouldn't carry a namespace
> along, should they?

Indeed not.

> The problem may have something to do with trying to do an xsl:apply
> templates with a select that marches down from the root instead of
> being relative to the current node. I'm testing this hypothesis now.

Where do the namespace declarations appear? i.e. on which elements? 
-- 
Conal Tuohy
New Zealand Electronic Text Centre
www.nzetc.org


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to