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

Re: General algorithm for finding nodes between PIs

Subject: Re: General algorithm for finding nodes between PIs
From: "Rick Quatro rick@xxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 30 Jan 2017 13:01:10 -0000
Re:  General algorithm for finding nodes between PIs
Good question, but these xml documents come from Adobe FrameMaker, which has
a "conditional text" feature. Since this feature is part of both
unstructured and structured (sgml- or xml-based) FrameMaker, it uses
processing-instructions to mark the bounds of each condition format. The
purpose of the transform is to move the information from the PIs to
attributes.

I ended up doing this inside of FrameMaker itself with its scripting tools.
But thanks to this list, I ended up learning some good techniques for doing
it with XSLT. Thanks to all for a great list.

Rick

-----Original Message-----
From: Flynn, Peter pflynn@xxxxxx
[mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx] 
Sent: Monday, January 30, 2017 6:41 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  General algorithm for finding nodes between PIs

On 27/01/17 18:21, Rick Quatro rick@xxxxxxxxxxxxxx wrote:
> Thank you all for the help.

Unrelated to the solution in this case, but from an encoding standpoint, I'm
curious to know if there was any opportunity to choose another schema/dtd
for this document or application; specifically to use one which implements a
different way to encode this kind of effectivity, perhaps using attributes
or elements.

///Peter

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.