10 messages in org.w3.xproc-devPuzzled about options
FromSent OnAttachments
Costello, Roger L.Jan 24, 2009 6:34 am 
Toma...@emc.comJan 25, 2009 11:43 pm 
David A. LeeFeb 7, 2009 10:03 am 
David A. LeeFeb 11, 2009 4:53 am 
Norman WalshApr 27, 2009 4:13 am 
Norman WalshApr 27, 2009 4:16 am 
Norman WalshApr 27, 2009 4:17 am 
David A. LeeApr 27, 2009 4:35 am 
Norman WalshApr 27, 2009 5:30 am 
David A. LeeApr 27, 2009 6:34 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Puzzled about optionsActions
From:Costello, Roger L. (cost@mitre.org)
Date:Jan 24, 2009 6:34:36 am
List:org.w3.xproc-dev

Hi Folks,

Consider the following examples which show the use of the "select" and "href"
options.

OPTIONS USED AS ATTRIBUTES

This works:

<p:filter select="/BookStore/Book[Date=1998]" />

But this doesn't work:

<p:store href="/Book/Filename" />

OPTIONS USED AS A CHILD ELEMENT

This works:

<p:store> <p:with-option name="href" select="/Book/Filename"/> </p:store>

But this doesn't work:

<p:filter> <p:with-option name="select" select="/BookStore/Book[Date=1998]" /> </p:filter>

Sometimes when an option is used as an attribute it takes an XPath expression,
sometimes it doesn't. Sometimes when an option is used in with-option it takes
an XPath expression, sometimes it doesn't.

I'm puzzled.

Would someone explain the rules for using options please?

/Roger