[Home] [By Thread] [By Date] [Recent Entries]

  • From: Liam R E Quin <liam@w...>
  • To: Victor Porton <porton@n...>
  • Date: Fri, 29 Jun 2012 02:17:06 -0400

On Wed, 2012-06-27 at 19:33 +0300, Victor Porton wrote: 
> tr:xslt is a class. I write the following RDF code to specify that our script should be run with parameters debug=false and degree=4:
> 
> 	<tr:xslt>
> 		<tr:arguments>
> 			<tr:parameter tr:name=”debug”>false</tr:parameter>
> 			<tr:parameter tr:name=”degree”>4</tr:parameter>
> 		</tr:arguments>
> 	</tr:xslt>
> 
> Now the question:
> 
> How to (clearly and concisely) say it in English that tr:xslt accepts
> tr:arguments as a parameter which may have multiple tr:parameter
> subparameters with some tr:name names?

You just said it.

This is a rather procedural way to think of RDF, it seems. You're
supposed to use it to express the relationships between resources, not
to write computer programs in it ;-)

Better to inspect the stylesheet directly:
  doc("convert-to-morse-code.xslt")/x:stylesheet/x:param


Liam


-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member