[xsl] Problem with handling processing instructions

Subject: [xsl] Problem with handling processing instructions
From: Jon Steeves <Jon_Steeves@xxxxxxxxxxxxxx>
Date: Thu, 6 Mar 2003 15:24:06 -0800
Hello:

	I'm using xmetal which has track changes processing instructions.  Here's an example:

			<?xm-deletion_mark author="davej" time="20030306T111203-0800" data="Internal: Writing"?>
			<?xm-insertion_mark_start author="davej" time="20030306T111203-0800"?>This
			is a change <?xm-insertion_mark_end?>

	I've written this xslt template to process deletion marks:

			<xsl:template match="processing-instruction('xm-deletion_mark')">
			  <fo:block color="red">
			   **** deleted item
			   <xsl:apply-templates/>
			  </fo:block>
			</xsl:template>

But the template is ignored when I run the MSXML xslt parser.  Can anyone tell me what I'm doing wrong?  or if this is possible?

Cheers

Jon Steeves
Technical Communications
(604) 415-6053 ext. 2139
jon_steeves@xxxxxxxxxxxxxx


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread