Subject: Re: Need help for the query example From: Matthias Clasen <clasen@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 20 Jul 1999 10:22:57 +0200 |
> Date: Mon, 19 Jul 1999 21:43:13 -0500 > From: Brandon Ibach <bibach@xxxxxxxxxxxxxx> > Content-Type: text/plain; charset=us-ascii > Sender: owner-dssslist@xxxxxxxxxxxxxxxx > Precedence: bulk > Reply-To: dssslist@xxxxxxxxxxxxxxxx > > Quoting Didier PH Martin <martind@xxxxxxxxxxxxx>: > > this time this is me that need help. I am maybe too tired but cannot find a > > query-expression that would return a processing instruction singleton > > node-list to be pattern matched with a processing instruction grove node. > > What I cannot find is the query-expression that would return a particular > > type of processing expression, so that a the rule would process only a > > certain kind of processing instruction. > > > Well, beyond checking the class of the node to make sure it's a PI, > processing instructions really don't have any "structure". As far as > DSSSL is aware (it doesn't have any concept of PI "namespaces" or > anything like that, that I'm aware of), a PI is just a PI. So, if you > want to look for certain attributes within the data of the PI, you'd > probably just have to examine the data through whatever DSSSL/Scheme > mechanisms would allow you to determine if it's what you're looking > for. If DSSSL doesn't have a built-in function that will give you the > data of the PI (don't know... too lazy to look at the spec right now), > you may just have to figure out (perhaps from that long, obnoxious > section of Chapter 9 that dumps out the SGML Property Set) which > property of the node contains the data, and grab that. > > -Brandon :) > > > DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist > You could select specific pi's by filtering based on the properties of pi nodes, more specifically on system-data, I think. Btw. I found the properties of pi nodes using the quite remarkable online version of the sgml property set at http://www.hytime.org/materials/sgmlpropset. -- Matthias Clasen, Tel. 0761/203-5606 Email: clasen@xxxxxxxxxxxxxxxxxxxxxxxxxx Mathematisches Institut, Albert-Ludwigs-Universitaet Freiburg DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Need help for the query example, Brandon Ibach | Thread | RE: Need help for the query example, Didier PH Martin |
Re: About Constructions rules, Matthias Clasen | Date | Re: reflection, Matthias Clasen |
Month |