Re: [xsl] Cant remove meta data

Subject: Re: [xsl] Cant remove meta data
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Sat, 03 Jan 2009 15:03:50 +0100
Graeme Kidd wrote:

I am currently working on a XML file that was made using Adobe Acrobat which includes meta data at the top of the XML file. Some how some of the RDF data is still getting printed into the output XML. Given this following example any idea why this is happening?

    <xsl:template match="TaggedPDF-doc/Part">
            <xsl:apply-templates select="Sect"> </xsl:apply-templates>

If you only want to process TaggedPDF-doc/Part then add a template <xsl:template match="/"> <xsl:apply-templates select="TaggedPDF-doc/Part"/> </xsl:template> doing that. Otherwise the default templates kick in: and that way the text in the other elements is copied to the output.


	Martin Honnen

Current Thread