Simulate interface URIResolver while editing
Posted: Thu Dec 14, 2006 11:57 am
Hello all
I'm evaluating oxygen editor plugin 8.0 with Eclipse 3.2.
My web appl run on Tomcat and we use Xalan to transform at runtime.
We use XSLT to generate HTML. The structure of my project is like the one
my XSL Stylesheet "MyFile.xsl" is something like this:
While editing I would like to try to do a transform and test my "MyFile.xsl" in the Oxygen perspective, but the editor tell me that he cannot find the import file "/MyApp/generalsettings.xsl".
In the scenario I did not find any indication where to specify the root path, how to tell the
"URIResolver" interface where is my root, simulate an HTTP request with the root on $myworkspc//MyApp/websource.
Can anyone tell me what the "best practice" for using Oxygen in that context
Thanks in advance
Claudio
I'm evaluating oxygen editor plugin 8.0 with Eclipse 3.2.
My web appl run on Tomcat and we use Xalan to transform at runtime.
We use XSLT to generate HTML. The structure of my project is like the one
Code: Select all
<workspc>--+-MyApp
+--src
+--websource
+--- MyFile.xsl
+--- MyFile.xml
Code: Select all
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="/MyApp/generalsettings.xsl" /> <<<<<<------- Error: IO exception
<xsl:output method="html" indent="yes"/>
<xsl:template match="/">
<xsl:call-template name="baseListe"/>
</xsl:template>
[snip...]
In the scenario I did not find any indication where to specify the root path, how to tell the
"URIResolver" interface where is my root, simulate an HTTP request with the root on $myworkspc//MyApp/websource.
Can anyone tell me what the "best practice" for using Oxygen in that context
Thanks in advance
Claudio