cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Cavanagh <timca...@tafe.sa.edu.au>
Subject Re: FOP again.. And html
Date Fri, 30 Aug 2002 09:02:26 GMT
Jeff,

Yup they are part of the tree - - Excellent!

Thanks for the help that¹s easy to fix.
Sometimes I cant see the trees for the forest =)


Regards

Tim


On 30/8/02 3:44 PM, "Jeff Turner" <jefft@apache.org> wrote:

> 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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 
> 
> 


---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message