----- Original Message -----
Sent: Wednesday, July 05, 2006 1:08
PM
Subject: [docbook-apps] Problems with
Xalan extensions and docbook XSL
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
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