Hi Yanick and Marco.
Thanks for the reply.
I realise now that I hadn't expressed my problem clearly enough! My
problem was really twofold - my XML markup and the processing into html.
Marco Marongiu wrote:
> Just guessing: put the content of the element in a CDATA section?
Yep - I needed to mark my text up as CDATA. I've never used CDATA before
- clearly I should have known about this <blush>:
<sect2 id="journal-article">
<title>Article in a Journal</title>
<para>
An article in a journal is coded like this <citation>ref1</citation>:
<markup><![CDATA[
<biblioentry id="ref1">
<biblioset relation="book">
.....
</biblioset>
</biblioentry>
]]></markup>
Yanick Champoux wrote:
> <% $template->set( 'markup' => { pre => '<code>', post => '</code>' }
) %>
> Or, if you are using a pre-1.0 XPathscript:
>
> $t->{markup}{pre} = '<code>';
> $t->{markup}{post} = '</code>';
This is what worked for me - getting xpathscript to wrap it in a <PRE> tag:
$t->{markup}{pre} = '<PRE>';
$t->{markup}{post} = '</PRE>';
Thanks both - problem solved.
Pete
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]