Subject: Re: [xsl] Filterting an OO document From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Wed, 18 Apr 2007 20:54:49 +0200 |
HTH, -- Abel Braaksma
Hello,
I've used XSLT many times but for some reason I can never remember how to do it.
If I run xsltproc on the content.xml of an OO document the result is an empty file. I want to basically filter everything but specific content.
What am I doing wrong?
Mike
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:style="http://openoffice.org/2000/style"
xmlns:text="http://openoffice.org/2000/text">
<xsl:output method="html"
encoding="UTF-8"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
<xsl:template match="text:p[@text:style-name='p_5f_prototype']">
<pre>
<xsl:value-of select="."/>
</pre>
</xsl:template>
<xsl:template match="text()|@*">
</xsl:template>
</xsl:stylesheet>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Filterting an OO document, Michael B Allen | Thread | Re: [xsl] Filterting an OO document, Michael B Allen |
Re: [xsl] XSD Question, Steve | Date | Re: [xsl] XSD Question, Abel Braaksma |
Month |