|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSLT vs Perl
> > Let's be concrete. What is the equivalent of
> >
> > <a href="{../@code}.html"/><xsl:value-of select="title"/></a>
>
> new Node("a",href=>value_of(../@code).".html",value_of("title"));
>
> David Tolpin
Could I ask you what language this is written in and where I find its
semantics, please?
I'm curious as to why the element name "a" is in quotes but the
attribute name "href" isn't, and why one of the XPath expressions
"title" is in quotes and the other one "../@code" isn't, and how you
create three nodes with only one call on "new". I would also be
interested to see how this kind of language manages the static and
dynamic context.
Michael Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






