<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://wbex.ru/index.php?action=history&amp;feed=atom&amp;title=XML%2FXSLT_stylesheet%2Fprocessing_instruction</id>
		<title>XML/XSLT stylesheet/processing instruction - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://wbex.ru/index.php?action=history&amp;feed=atom&amp;title=XML%2FXSLT_stylesheet%2Fprocessing_instruction"/>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=XML/XSLT_stylesheet/processing_instruction&amp;action=history"/>
		<updated>2026-04-05T03:58:19Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://wbex.ru/index.php?title=XML/XSLT_stylesheet/processing_instruction&amp;diff=10457&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=XML/XSLT_stylesheet/processing_instruction&amp;diff=10457&amp;oldid=prev"/>
				<updated>2010-05-26T08:26:23Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 08:26, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>http://wbex.ru/index.php?title=XML/XSLT_stylesheet/processing_instruction&amp;diff=10456&amp;oldid=prev</id>
		<title> в 18:22, 25 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=XML/XSLT_stylesheet/processing_instruction&amp;diff=10456&amp;oldid=prev"/>
				<updated>2010-05-25T18:22:29Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Generate processing-instruction==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
File: Data.xml&lt;br /&gt;
&amp;lt;poem&amp;gt;&lt;br /&gt;
  &amp;lt;verse&amp;gt;line 1&amp;lt;/verse&amp;gt;&lt;br /&gt;
  &amp;lt;verse&amp;gt;line 2&amp;lt;/verse&amp;gt;&lt;br /&gt;
  &amp;lt;picture picfile=&amp;quot;squadron&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;verse&amp;gt;line 3&amp;lt;/verse&amp;gt;&lt;br /&gt;
  &amp;lt;verse&amp;gt;line 4&amp;lt;/verse&amp;gt;&lt;br /&gt;
  &amp;lt;verse&amp;gt;line 5&amp;lt;/verse&amp;gt;&lt;br /&gt;
  &amp;lt;picture picfile=&amp;quot;ceres&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/poem&amp;gt;&lt;br /&gt;
File: Transform.xslt&lt;br /&gt;
&amp;lt;xsl:stylesheet xmlns:xsl=&amp;quot;http://www.w3.org/1999/XSL/Transform&amp;quot;&lt;br /&gt;
  version=&amp;quot;1.0&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:output method=&amp;quot;xml&amp;quot; omit-xml-declaration=&amp;quot;yes&amp;quot; indent=&amp;quot;no&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;verse&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:processing-instruction name=&amp;quot;xml-stylesheet&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:text&amp;gt;href=&amp;quot;headlines.css&amp;quot; type=&amp;quot;text/css&amp;quot;&amp;lt;/xsl:text&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:processing-instruction&amp;gt;&lt;br /&gt;
    &amp;lt;html&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:apply-templates /&amp;gt;&lt;br /&gt;
    &amp;lt;/html&amp;gt;&lt;br /&gt;
  &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;br /&gt;
Output:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;?xml-stylesheet href=&amp;quot;headlines.css&amp;quot; type=&amp;quot;text/css&amp;quot;?&amp;gt;&amp;lt;html&amp;gt;line 1&amp;lt;/html&amp;gt;&lt;br /&gt;
  &amp;lt;?xml-stylesheet href=&amp;quot;headlines.css&amp;quot; type=&amp;quot;text/css&amp;quot;?&amp;gt;&amp;lt;html&amp;gt;line 2&amp;lt;/html&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;?xml-stylesheet href=&amp;quot;headlines.css&amp;quot; type=&amp;quot;text/css&amp;quot;?&amp;gt;&amp;lt;html&amp;gt;line 3&amp;lt;/html&amp;gt;&lt;br /&gt;
  &amp;lt;?xml-stylesheet href=&amp;quot;headlines.css&amp;quot; type=&amp;quot;text/css&amp;quot;?&amp;gt;&amp;lt;html&amp;gt;line 4&amp;lt;/html&amp;gt;&lt;br /&gt;
  &amp;lt;?xml-stylesheet href=&amp;quot;headlines.css&amp;quot; type=&amp;quot;text/css&amp;quot;?&amp;gt;&amp;lt;html&amp;gt;line 5&amp;lt;/html&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==match=&amp;quot;processing-instruction()&amp;quot;==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
File: Data.xml&lt;br /&gt;
&amp;lt;?xml-stylesheet href=&amp;quot;headlines.css&amp;quot; type=&amp;quot;text/css&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;verse&amp;gt;text&amp;lt;/verse&amp;gt;&lt;br /&gt;
&amp;lt;?smellPlugIn scent=&amp;quot;newCar&amp;quot; duration=&amp;quot;12secs&amp;quot;?&amp;gt;&lt;br /&gt;
File: Transform.xslt&lt;br /&gt;
&amp;lt;xsl:stylesheet xmlns:xsl=&amp;quot;http://www.w3.org/1999/XSL/Transform&amp;quot;&lt;br /&gt;
  version=&amp;quot;1.0&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:output method=&amp;quot;xml&amp;quot; omit-xml-declaration=&amp;quot;yes&amp;quot; indent=&amp;quot;no&amp;quot; /&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;processing-instruction()&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:copy /&amp;gt;&lt;br /&gt;
  &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;br /&gt;
Output:&lt;br /&gt;
&amp;lt;?xml-stylesheet scent=&amp;quot;newCar&amp;quot; duration=&amp;quot;12secs&amp;quot;?&amp;gt;text&amp;lt;?smellPlugIn scent=&amp;quot;newCar&amp;quot; duration=&amp;quot;12secs&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Match processing-instruction()|comment()==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
File: Data.xml&lt;br /&gt;
&lt;br /&gt;
&amp;lt;wine grape=&amp;quot;Chardonnay&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;product&amp;gt;product 2&amp;lt;/product&amp;gt;&lt;br /&gt;
  &amp;lt;year&amp;gt;1997&amp;lt;/year&amp;gt;&lt;br /&gt;
  &amp;lt;price&amp;gt;10.99&amp;lt;/price&amp;gt;&lt;br /&gt;
&amp;lt;/wine&amp;gt;&lt;br /&gt;
File: Transform.xslt&lt;br /&gt;
&amp;lt;xsl:stylesheet xmlns:xsl=&amp;quot;http://www.w3.org/1999/XSL/Transform&amp;quot;&lt;br /&gt;
  version=&amp;quot;1.0&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;wine[@grape=&amp;quot;Cabernet&amp;quot;]&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:copy&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:apply-templates /&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:copy&amp;gt;&lt;br /&gt;
  &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;wine&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;@*|node()|processing-instruction()|comment()&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:copy&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:apply-templates&lt;br /&gt;
        select=&amp;quot;@*|node()|processing-instruction()|comment()&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/xsl:copy&amp;gt;&lt;br /&gt;
  &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;br /&gt;
Output:&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==match=&amp;quot;processing-instruction(&amp;quot;xml-stylesheet&amp;quot;)&amp;quot;==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
File: Data.xml&lt;br /&gt;
&amp;lt;?xml-stylesheet href=&amp;quot;headlines.css&amp;quot; type=&amp;quot;text/css&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;verse&amp;gt;text&amp;lt;/verse&amp;gt;&lt;br /&gt;
&amp;lt;?smellPlugIn scent=&amp;quot;newCar&amp;quot; duration=&amp;quot;12secs&amp;quot;?&amp;gt;&lt;br /&gt;
File: Transform.xslt&lt;br /&gt;
&amp;lt;xsl:stylesheet xmlns:xsl=&amp;quot;http://www.w3.org/1999/XSL/Transform&amp;quot;&lt;br /&gt;
  version=&amp;quot;1.0&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:output method=&amp;quot;xml&amp;quot; omit-xml-declaration=&amp;quot;yes&amp;quot; indent=&amp;quot;no&amp;quot; /&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;processing-instruction(&amp;quot;xml-stylesheet&amp;quot;)&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;stylesheet&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:value-of select=&amp;quot;.&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/stylesheet&amp;gt;&lt;br /&gt;
  &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;processing-instruction(&amp;quot;smellPlugIn&amp;quot;)&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;smellData&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:value-of select=&amp;quot;.&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/smellData&amp;gt;&lt;br /&gt;
  &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;verse&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;p&amp;gt;&lt;br /&gt;
      &amp;lt;xsl:apply-templates /&amp;gt;&lt;br /&gt;
    &amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;br /&gt;
Output:&lt;br /&gt;
&amp;lt;stylesheet&amp;gt;scent=&amp;quot;newCar&amp;quot; duration=&amp;quot;12secs&amp;quot;&amp;lt;/stylesheet&amp;gt;&amp;lt;p&amp;gt;text&amp;lt;/p&amp;gt;&amp;lt;smellData&amp;gt;scent=&amp;quot;newCar&amp;quot; duration=&amp;quot;12secs&amp;quot;&amp;lt;/smellData&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==processing-instruction with xlink==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
File: Data.xml&lt;br /&gt;
&amp;lt;stylesheetFile type=&amp;quot;text/css&amp;quot;&amp;gt;headlines.css&amp;lt;/stylesheetFile&amp;gt;&lt;br /&gt;
&lt;br /&gt;
File: Transform.xslt&lt;br /&gt;
&amp;lt;xsl:stylesheet xmlns:xsl=&amp;quot;http://www.w3.org/1999/XSL/Transform&amp;quot;&lt;br /&gt;
  version=&amp;quot;1.0&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;xsl:output method=&amp;quot;xml&amp;quot; omit-xml-declaration=&amp;quot;yes&amp;quot; indent=&amp;quot;no&amp;quot; /&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;xsl:template match=&amp;quot;stylesheetFile&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;xsl:processing-instruction name=&amp;quot;xml-stylesheet&amp;quot;&amp;gt;&lt;br /&gt;
      href=&amp;quot;&lt;br /&gt;
      &amp;lt;xsl:value-of select=&amp;quot;.&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;quot; type=&amp;quot;&lt;br /&gt;
      &amp;lt;xsl:value-of select=&amp;quot;@type&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
    &amp;lt;/xsl:processing-instruction&amp;gt;&lt;br /&gt;
  &amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;br /&gt;
Output:&lt;br /&gt;
&amp;lt;?xml-stylesheet href=&amp;quot;&lt;br /&gt;
      headlines.css&lt;br /&gt;
      &amp;quot; type=&amp;quot;&lt;br /&gt;
      text/css&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
    ?&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
			</entry>

	</feed>