This sounds very good. If you could send more info that would be excellent. Thank you for taking the time to help me out with this!!
-Jose On Tue, Jan 12, 2016 at 1:08 PM, Bill T <[email protected]> wrote: > Jose, > I don't know if this will help, but I have done the same thing using a > very different approach. Overriding page-structure.xsl, I have altered the > template matching dri:document. Within the <body> element, I have added a > test looking for a $request-uri of length 0. Upon finding one, I call a > template that draws my custom home page.. The template I call outputs > plain html for the most part, but I am still able to leverage all the xml > page source to my liking. > > If you are interested I can send a little more detailed explanation. > > Cheers! > Bill > > On Monday, January 11, 2016 at 3:57:19 PM UTC-6, Jose Blanco wrote: >> >> 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. > -- 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.
