From: Jens Ø. P. <oe...@gm...> - 2012-10-26 14:41:28
|
Hi Immanuel, The reference to the stylesheet in hello.xml, <?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?> is relative to hello.xml. Perhaps it would be best to import the xsltforms folder found in webapp/xforms (along with hello.xml) to the database and refer to the stylesheet in this way: <?xml-stylesheet href="/exist/rest/db/xsltforms/xsltforms.xsl" type="text/xsl"?>. Best, Jens On Oct 26, 2012, at 3:22 PM, Immanuel Normann <imm...@go...> wrote: > Hi, > > I'd like to learn about XForm using XSLTForms. The obligatory hello world > > http://localhost:8080/exist/xforms/hello.xml > > is running well. But when I copy this file to a different directory - say: /db/sandbox/ - then > > http://localhost:8080/exist/db/sandbox/hello.xml > > fails. Why? > > Immanuel > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct_______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open |