← Prev in month ← Prev in thread

Problems with Xalan extensions and docbook XSL

From
David White <>
Date
2006-07-05T20:08:03+00:00
ID
00d001c6a06e$bbf77000$
Thread
Problems with Xalan extensions and docbook XSL
Title: KCC Stationery

Hello 
everyone!

 

I am trying to 
use the infamous getWidth() function that norman provides.  However, if I 
turn on use.extensions in my stylesheet I get an error.  Below are code 
snipets.

 

XSLT (name 
space declarations)

<xsl:stylesheet 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 

xmlns:fo="http://www.w3.org/1999/XSL/Format" 

xmlns:exsl="http://exslt.org/common" 

xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" 

xmlns:svg="http://www.w3.org/2000/svg" 

xmlns:xtext="com.nwalsh.xalan.Text" 

xmlns:xlink="http://www.w3.org/1999/xlink" 

xmlns:xalan="http://xml.apache.org/xalan" 

xmlns:lxslt="http://xml.apache.org/xslt"

xmlns:ximg="xaln://com.nwalsh.xalan.ImageIntrinsics"

exclude-result-prefixes="exsl xlink xtext 
lxslt ximg" 
extension-element-prefixes="xtext" version="1.0">

 

Parameter settings in my 
XSLT:

<xsl:param name="axf.extensions">1</xsl:param>

<xsl:param name="use.extensions">1</xsl:param>

<xsl:param 
name="graphicsize.extension" select="'1'"/>

<xsl:param 
name="textinsert.extension" select="'1'"/>

 

What would cause Antenna House XSFormatter 
v4.3 (using xalan ) to fail?

The error I get is: 

6145 (1801):Missing end tag. Line 294, Col 
0, C:\DOCUME~1\davidw\LOCALS~1\Temp\xif87d9.xml 
source:XfoCommon::XmlParserImpl

Any suggestions or examples? I'm trying to 
get the image width information w/o having to specifiy the @width attribute in 
the XML.

Thanks,

 

David White

Ken Cook Co.,

Content Management



http://www.kencook.com

tel: 414.847.1322

 

 

 

--

No virus found in this outgoing message.

Checked by AVG Free Edition.

Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006
← Prev in month ← Prev in thread