[xslt] xsltproc xalan:write problem
- From: Aaron Gray <aaronngray lists gmail com>
- To: xslt gnome org
- Subject: [xslt] xsltproc xalan:write problem
- Date: Tue, 27 Feb 2018 23:59:26 +0000
Hi,
I am trying to get xalan:write to work with libxslt's xsltproc. I have looked at the source code and found code pertaining to its implemetation but cannot get it to work from input. Heres my code :-
extension-element-prefixes="xalan"
<xsl:output method="html"/>
<xsl:for-each select="/book/chapter">
<xalan:write select="concat('chapter', position(), '.html')">
<title><xsl:value-of select="title"/></title>
<h1><xsl:value-of select="title"/></h1>
<xsl:apply-templates select="para"/>
and heres what xsltproc is giving me :-
C:\Users\aaron\Tests\xslt>xsltproc document-write.xsl test.xml
runtime error: file document-write.xsl line 12 element write
xsltApplySequenceConstructor: failed to find extension write
runtime error: file document-write.xsl line 12 element write
xsltApplySequenceConstructor: failed to find extension write
Would appreciate it if anyone has got this feature working or has any idea why its not working please.
Many thanks in advance,
Aaron
--
Aaron Gray
Independent Open Source Software Engineer, Computer Language Researcher, Information Theorist, and amateur computer scientist.
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]