RE: [xsl] Para element

Subject: RE: [xsl] Para element
From: "Surana, Swati " <swati.surana@xxxxxxxx>
Date: Thu, 12 Nov 2009 10:56:35 +0000
Thanks Michael.
Is the following statement true about a para element:
"When you find a para element, you're only moving on to the next para element
with the same name - if there isn't one you stop, so the section elements
afterwards are ignored."


Regards,
Swati
-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: 12 November 2009 10:07
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Para element

>
> What exactly is a para element?

It's whatever you want it to be. Or rather, what the designer of the XML
vocabulary you are using wants it to be. For example, if your input is
DocBook, then para is what the DocBook definition says it is; if your input is
XHTML, then you need to turn to the XHTML definition. That's the whole point
about XML: anyone can define their own vocabulary, and the tags have no
meaning except in the context of a specific vocabulary.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay

Current Thread