xsl-list
[Top] [All Lists]

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

2012-02-23 08:13:50
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. ________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--