You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Edwin Pratomo <ed...@poskanzer.org> on 2001/10/26 00:46:54 UTC

xml-stylesheet PI

Hi,

Using XalanTransformer, I've found problem transforming an XML that
contains xml-stylesheet like:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xml" href="foo.xsl"?>
<doc/>

(foo.xsl exists, and Saxon works just fine on it. )

The two-arguments form of transform(), which should do it according to
the documentation, won't work. 
The error message: XSL Error: Failed to process stylesheet!, line -1,
offset -1

any workaround for this?

TIA.

rgds,
Edwin.

-- 
PerlMonks home node: http://perlmonks.org/?node=pope
CPAN home: http://search.cpan.org/search?author=edpratomo