regards DaveP
>
>
> ---------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
>
> <xsl:output method="text" indent="yes" doctype-public="-//OASIS//DTD
> DocBook XML V4.5//EN"
> doctype-system="http://www.docbook.org/xml/4.5/docbookx.dtd"/>
> <xsl:strip-space elements="*"/>
>
> <!-- Clear all other text templates -->
> <xsl:template match="text()"/>
>
> <xsl:template match="*">
> <xsl:apply-templates/>
> </xsl:template>
>
> <!-- find all parent sections and dig out images -->
> <xsl:template match="imagedata|graphic">
> <xsl:text>copy "images\</xsl:text>
> <xsl:value-of select="@fileref"/>
> <xsl:text>" html\images\"</xsl:text>
> <xsl:value-of select="@fileref"/><xsl:text>"
> </xsl:text>
> </xsl:template>
>
> </xsl:stylesheet>
> -------------------------
>
>
>
>
>
>
> >
> > I also keep the filespaths in my XML relative which make
> portability a
> > bit easier.
>
> In the XML source? That makes the xslt easier.
>
> This is getting interesting!
>
> (I'm starting a write up
about it btw, bare bones so far)
>
>
> regards
>
> --
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk
>
>
> ------------------------------------------------------------------------
> Recession-proof vacation ideas. Find free things to do in the U.S.
> <http://travel.aol.com/travel-ideas/domestic/national-tourism-week?ncid=emlcntustrav00000002>
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail:
[email protected]