Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

X#: XML oriented programming language

Name: Anonymous 2009-01-21 10:27

X# - XML oriented programming language

http://www.xsharp.org/samples/


<!-- MAP function --> 
 <xsp:variable name="map" type="node"> 
     <xsp:processing-instruction name="map"> 
         <xsp:variable name="function" type="node" select="processing-instruction()"/> 
         <xsp:processing-instruction name="result"> 
             <xsp:for-each select="node()"> 
                 <?xpath . >> $function ?> 
             </xsp:for-each> 
         </xsp:processing-instruction> 
     </xsp:processing-instruction> 
 </xsp:variable>


Discuss.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !FrOzEn2BUo 2009-01-21 10:38

Syntax is too verbose. Might be useful if it was something like:
 <:var="map" t:node><:ins="map"><:var="fun" t:node select="ins()"/><:ins="result">
             <:fore select="node()"><?xpath . >> $fun ?></:fore></:ins></:ins></:var>

_________________________
orbis terrarum delenda est
 http://xs135.xs.to/xs135/09042/av922.jpg

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List