logo       

Re: templating question [long-ish]: msg#00007

lang.perl.xml

Subject: Re: templating question [long-ish]

On Tue, 2 Dec 2003, wren thornton wrote:

> tales of (being new to XML and not so good with OOP)
> has been XML::Smart, but from what I can discern
> there's no way to get "The text <strong>here</strong>
> is bold" or something resembling it using that module,
> without CDATAing everything.

Another option is just to encode the text that you want to treat as a
string and not as structureed data:

The text &lt;strong>here&lt;/strong> is bold

That's what I do when I serialize HTML::Template templates inside an
XML document.

-sam
_______________________________________________
Perl-XML mailing list
Perl-XML@xxxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise