but i need the same method for both systems .... i only want to change the Driver.RENDER_PDF to Driver.RENDER_TEXT but you are true .... i only need the transformation, perhaps i need to change all the method and not the form of formatting it.
thx for the example On Thu, Oct 15, 2009 at 11:40 AM, ruud grosmann <[email protected]> wrote: > a short example: > > INPUT > <?xml version="1.0" encoding="UTF-8"?> > <woordenlijst> > <titel>zelfstandige naamwoorden, v1.0</titel> > <term> > <spaans> abreviatura, la</spaans> > <nederlands>afkorting </nederlands> > </term> > <term> > <spaans>abrigo, el</spaans> > <nederlands>jas, bescherming</nederlands> > </term> > </woordenlijst> > > XSLT STYLE SHEET > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > version="2.0"> > > <xsl:output method='text'/> > > <xsl:template match="/woordenlijst"> > <xsl:apply-templates select="term"/> > </xsl:template> > > <xsl:template match="term"> > <xsl:value-of select='normalize-space(spaans)'/> > <xsl:text>;</xsl:text> > <xsl:value-of select='normalize-space(nederlands)'/> > <xsl:text> > </xsl:text> > </xsl:template> > > </xsl:stylesheet> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
