I have this in text.xsl: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/"> <p>This is a test</p> </xsl:template> </xsl:stylesheet> and it gives me this errror: org.dspace.app.xmlui.wing.WingException: Attempting to merge DRI documents but the source document is not compatible with the feeder document. On Mon, Jan 11, 2016 at 4:25 PM, Jose Blanco <[email protected]> wrote: > I think I may need to do something like this: > > <map:match pattern=""> > <map:transform src="file:/dev/config/test.xsl" > type="xslt"/> > <map:serialize type="html"/> > </map:match> > > But, I'm having trouble creating the text.xsl file. Any guidance or > examples I could look at? > > > > > Thank you! > Jose > > > > On Mon, Jan 11, 2016 at 12:48 PM, Jose Blanco <[email protected]> wrote: > >> I want to create a hard coded html page at "/" for my instance. >> >> Is there an example of how I would do this via the sitemap. I would >> suspect it's something like this: >> >> <map:match pattern=""> >> <map:act type="DSpacePropertyFileReader"> >> <map:parameter name="dspace.dir" >> value="dspace.dir" /> >> <map:transform type="Include" >> src="file://{dspace.dir}/config/demo.html" /> >> </map:act> >> <map:serialize type="html"/> >> </map:match> >> > > -- 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 https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
