Re: [xsl] A regular expression for the content of any processing-instruction

Subject: Re: [xsl] A regular expression for the content of any processing-instruction
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 23 Feb 2012 14:13:38 +0000
On 23/02/2012 14:04, Costello, Roger L. wrote:
> Is it common practice to structure the content of PIs as attribute/value pairs?


It wasn't in the old days, XML started a trend I think with pseudo attributes in the xml declaration like encoding="utf8" and xml-stylesheet carried on the tradition.

In many original uses the PI is used a a hole in to which to drop processing instructions in the language used by the processor, so often in some completely different non-Tex typesetting language. (In xmltex for example you can drop bits of TeX syntax into a PI and they fall through into the generated document.

Basically PI's are a distinguished form of comment, just using <? ?> instead of <!-- -->.


David


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________


Current Thread