On Thu, May 3, 2012 at 5:29 PM, Dermot O'H <[email protected]>wrote:
> > > David, thanks very much. That did the trick! Very much appreciated. > > For anybody else using the latest snapshots you may run into a problem with > the way the first xslt task in the sample build.xml embeds the sysproperty > "org.apache.xerces.xni.parser.XMLParserConfiguration". This causes an error > along the lines of "xslt does not support embedded sysproperty". You can > get > around this by using Ant's java task to call Saxon instead of xsltproc. > > Hi Dermot, Didn't know that this works too. The recommended way for this would be to upgrade the ANT version to 1.8.0+ though. This is now reflected in the snapshot docs. http://snapshots.docbook.org/xsl/webhelp/docs/content/ch02s01.html Cheers, --Kasun > > > David Cramer wrote: > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hi Dermot, > > Please use the latest version from the snapshots machine: > > > > http://snapshots.docbook.org/ > > > > That version supports profiling (set the appropriate profile.* param > > in your build file) and includes many other improvements. > > > > A new release of the xsls will be out soon. > > > > Thanks, > > David > > > > On 04/19/2012 10:50 AM, Dermot O'H wrote: > >> > >> Hi, > >> > >> I use Docbook's profiling (i.e. conditional text) facility to > >> produce different flavours of content. This works great for HTML > >> and PDF output. I've recently started using the Webhelp output > >> format > >> (http://blog.kasunbg.org/2010/08/docbook-webhelp-project.html). The > >> problem is that Webhelp's stylesheet does not perform any > >> conditional processing when producing its output despite I > >> including the xhtml/profile-chunk.xsl file during the processing > >> (as with the profiled HTML and PDF processing). > >> > >> Has anyone any experience with this? I'm wondering if the > >> chunking-related templates in the Webhelp stylesheet are causing > >> profiled-chunking to be ignored somehow? > >> > >> Rgds, Dermot > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.11 (GNU/Linux) > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > > > iQEcBAEBAgAGBQJPkDn8AAoJEMHeSXG7afUhPeoH/iPaDsJLI6d655YMd+tZq2KV > > bplVoRzp99YRl5ege6ddhKjoi1A6t093QT/tBXQDn+IjLV0e9FYUPS59i15Iolzk > > 5NqYck1LXhF0XxONSVuEOaLTQUWZ7/YEtnyV5z45E3rJl/8aTKnQIqztex+IQuHt > > 5Tk92GpWmRQCwwNzC0+MHY8a+W33F435huZwcjbhT6GDD3iengERHu/SLqVLUCmv > > h/WhGY6/C2dFyWZhVLM7GcUfQvNuoaSUugQNJIDYHh99sYqLGe6Op2mD+V7+pKQ+ > > 0EaHvin+9VkU+k7tXek66vKAVT3VPLMasl7lWOzJZyYVH5aE4LV4D3X2XpXDZ2o= > > =27T1 > > -----END PGP SIGNATURE----- > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > -- > View this message in context: > http://old.nabble.com/Profiling-Conditional-Text-in-Webhelp-tp33715122p33763411.html > Sent from the docbook apps mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- ~~~*******'''''''''''''*******~~~ *Kasun Gajasinghe* Software Engineer; WSO2 Inc.; http://wso2.com, *linked-in: *http://lk.linkedin.com/in/gajasinghe* * *blog: **http://blog.kasunbg.org* <http://blog.kasunbg.org/> * twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>
