[thelist] XML > XSL > HTML question

Matt Patterson ltu97mp at reading.ac.uk
Fri May 25 07:25:38 CDT 2001

On 25/5/01 at 1:05 pm, jonathan at familygenetix.com (Jonathan Chard) wrote:

> You got me thinking there, you're right. For a moment I started along
> the lines of "but you know it's going to be a webpage because that's
> what you're doing" but you could be turning it into a pdf document or
> anything....
> So perhaps the solution is, rather than sticking in <br>s or enclosing
> text in <p>s, which are both HTML specific, when you parse the block
> on the way in, you wrap it in your own tag, say put a <para></para>
> around it.

Whoops, you pre-empted my reply without me noticing... doh!

<p></p> isn't HTML specific - it's just a tag set... You could happily use
<p></p>, make your life easier in the conversion to HTML (though no easier than
using <para></para> admittedly) and still be able to transform for other uses...
XHTML is an XML application after all...



Matt Patterson:
   Reading University
   Department of Typography & Graphic Communication

   ltu97mp at reading.ac.uk

   'Can they fly?' asked Roo.
   'Yes,' said Tigger, 'they're very good flyers, Tiggers are. 
Strornry good flyers.'
   'Oo!' said Roo. 'Can they fly as well as Owl?'
   'Yes,' said Tigger. 'Only they don't want to.'

More information about the thelist mailing list