Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

xsql, xsl:include and relative/absolute file path

5611Jan 8 2002
I am having trouble with xsl:include

foo.xsql includes an xml-stylesheet tag:
<?xml-stylesheet type="text/xsl" href="foo.xsl" ?>

foo.xsl includes an xsl:include tag:
<xsl:include href="/another_path/table.xsl" />

and another_path does not point to the current virtual path 5I
mean foo.xsl and table.xsl are not located under the same
virtual path).

I get error:
XSQL-011: Error processing XSLT stylesheet: foo.xsl
file:/E:/eContent04/catalog/public_html/foo.xsl: XSL-1002:
(Error) Error while processing include XSL file
(/econtent/common/table.xsl).

So, I understand xsl:include cannot follow file path using
another virtual directory. Is that normal ?

Is that a question of XSL, or Oracle/XSL, of XSQL ?

I tried to use absolute path:
<xsl:include href="http://server/econtent/common/table.xsl" />
or
<xsl:include href="file://e:/econtent04/common/table.xsl" />
or some other form of relative path like this
<xsl:include href="file://../../common/table.xsl" />
I always get the same kind of error.

Is there any workaround ?

I definitely need to include a virtually pathed external xsl
file. How should I do this ?

(Using Oracle XDK 9i)

Thank you for help.


Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 6 2002
Added on Jan 8 2002
1 comment
740 views