On Fri, Aug 30, 2002 at 10:23:31AM +0930, Tim Cavanagh wrote:
> Hi,
> 
> Sorry if this is the wrong place to ask this question..
> 
> I am using fop to serialize pdf from xml docs.
> 
> Is it possible to substitute or remove html tags that are mixed in with
> plain text within an XML element.  These tags are only simple ones like
> <b>xsx</b> and OL's, UL's. Can this be done with fo or xslt?

Are the tags part of the XML tree, eg:
<description>
  A <b>short</b> description
</description>

If so, just copy through the content:

<xsl:template match="b|ol|ul">
  <xsl:value-of select="."/>
</xsl:template>


--Jeff

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to