[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Happy XML birthday, all! :-)

Subject: Re: Happy XML birthday, all! :-)
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Fri, 11 Feb 2005 19:47:34 +1100
Re:  Happy XML birthday
<stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform">
<output method="xml"/><template match="/"><for-each  
select="document('')/*"><element
name="{translate(*[1]/@*,'*xaybzcl','*iaybzcg')}" namespace="">
<attribute name="{translate(*[1]/@*,'*xaymzcl','*sayrzcc')}">
<value-of select="concat(concat(substring-before(namespace::*,'1'),
'2003/02/'),(document(concat(substring-before(namespace::*,'1'),
'2003/02/',*[1]/@*,translate(local-name(*[2]/@*),
'mch','--'),count(//*)-2,'.html'))//*[contains(text(),'!')][1]/following::*/@src)[1])"/>
</attribute></element></for-each></template></stylesheet>




On Thu, 10 Feb 2005 22:03:11 +0100, Joris Gillis <roac@xxxxxxxxxx> wrote:
> <stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform">
> <output method="xml"/><template match="/"><for-each
> select="document('')/*">
> <copy-of select="document(concat(substring-before(namespace::*,'1'),
> '2003/02/',*[1]/@*,translate(local-name(*[2]/@*),
> 'mch','--'),count(//*),'.html'))//*[contains(text(),'!')][1]"/>
> </for-each></template></stylesheet>
> --
> Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041)
> Vincit omnia simplicitas
> Keep it simple

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.