OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: docbook-xsl "gentext" template not working with MSXML


I'm having problems getting this template to work with MSXML, it always
fails to find a match for the following variables:

<xsl:template name="gentext">
  <xsl:variable name="local.l10n.gentext"

  <xsl:variable name="l10n.gentext"

I have added a test to the gentext template:

<xsl:template name="gentext">
  lang:<xsl:value-of select="$lang"/>,
  count:<xsl:value-of select="count($l10n.xml//*)"/>

  <xsl:for-each select="$l10n.xml//*">
	name:[<xsl:value-of select="name()"/>]
	value:[<xsl:value-of select="."/>]

which creates the output: 

  lang:en, count:1
  name:[l:i18n] value:[ ]

This suggests that the !ENTITY elements are not working in
/common/l10.xml, as there should be many more elements than one!

I guess this is a bug in MSXML. Short of copying the contents of en.xml
into l10n.xml, is anyone aware of a workaround?


Rob Shields
Software Engineer
Star Internet Ltd
e - rshields@star.net.uk
t - 01285 880085
w - http://www.star.net.uk

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]