[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[XSL] Controlling Output Based on XML Processing Instr

Subject: [XSL] Controlling Output Based on XML Processing Instructions
From: Matthew Jaquish <mjaquish@xxxxxxxxx>
Date: Fri, 18 Jan 2002 13:30:37 -0800
xsl instr
Dear fellow list members;

Question: Is it possible to use XML processing instructions from the source XML document to control what is included in the output tree?


Now, since XML processing instructions are not considered part of the XML node hierarchy, is it possible to use them in XSL to control things such as whether anything between the <?insertStart?> and <?insertEnd?> is included in the XSL output and anything between the <?deleteStart?> and <?deleteEnd?> is not included in the output?

I know that it is possible to use the processing-instruction() function to get the name and text values of the content, but it seems that it would be difficult to use this to control the output. Has anyone done anything like this before?

I appreciate your input,


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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.