[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] xsl parameter "ulink.footnotes" generating anerror
Richard Hamilton wrote: > Erik, > > I can't duplicate this error in my environment, but that could be for > any number or reasons. What I normally do when I have a name space > problem is the following: > > - make sure everything refers to the correct name space (and the same > namespace in the source, customization, and standard stylesheets). > - make sure the prefixes are correct (so if you say xmlns:db="...." > you also use db:xxx, not d:xxx) > - add the namespace definition (the xmlns line) to the customization, > even though it doesn't yet have any elements that need it. > - make sure everything's spelled right; I can't remember how many times > I've typed xls:param instead of xsl:param:). > - try the transform with a different source file to be sure the problem > isn't there (and use a minimum file; just a declaration and a section > with no real content will do). > Thanks, will check again with your directions, Erik > If one of those things doesn't solve the problem, then I'd suggest > reposting the question with more information on your environment (i.e., > which version of the stylesheets, which xslt processor, your xml source > file, your OS, etc.). > > Hope that helps. > > Dick Hamilton > http://rlhamilton.net > > On Tue, 2008-06-17 at 22:29 +0200, Erik Leunissen wrote: >> Hello all, >> >> >> The statement: >> >> <xsl:param name="ulink.footnotes">1</xsl:param> >> >> used in the customization layer below, triggers the following error message: >> >> "XPath error : Undefined namespace prefix" >> >> >> Anybody know: >> - whether that's merely an annoyance or a real error? >> - how to prevent it from happening? >> >> >> Note aside: >> I know that "ulink.show" needs to be set also, >> if one sets "ulink.footnotes" to 1, but I left >> it out from this example because it doesn't >> appear to relate to the error message. >> >> >> >> Thanks in advance for any insight, >> >> Erik. >> >> ====== customization script following == >> >> <?xml version='1.0'?> >> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >> version="1.0"> >> >> <!-- base stylesheet upon which the customizations build --> >> <xsl:import href="/usr/local/share/xml/docbook-xsl-current/fo/docbook.xsl"/> >> >> <!-- this triggers the error message "XPath error : Undefined namespace >> prefix" --> >> <xsl:param name="ulink.footnotes">1</xsl:param> >> >> </xsl:stylesheet> >> >> == end of message == >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org >> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]