Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Re: downloading code from home nodes

by Flame (Deacon)
on Apr 10, 2004 at 06:04 UTC ( #344086=note: print w/replies, xml ) Need Help??

in reply to Re: downloading code from home nodes
in thread downloading code from home nodes

So in your opinion, we should remove the download code links altogther?

My code doesn't have bugs, it just develops random features.


  • Comment on Re: Re: downloading code from home nodes

Replies are listed 'Best First'.
Re: Re: Re: downloading code from home nodes
by Anonymous Monk on Apr 10, 2004 at 06:40 UTC
    No, but implementation can be as easy as an xslt stylesheet
      as easy as an xslt stylesheet

      How many time have I read that sentence! It is also as easy as writing a piece of assembly code.

      Did you have a look at the XML you get for a node? It is precisely the kind of XML that's very hard to process with XSLT. So please, if you are going to advocate using XSLT here, show us the (tested) code.

      Now if you had said "as easy as writing xml_grep --text_only --cond 'field[@name="doctext"]' node.xml | perl -n -e'if( m{<code>}..m{<//code>}) { s{</?code>}{}g; print; }'", then that would have been OK (extra / added in <//code> to avoid confusing PM's code) . Apart from the fact that it looks like the XML for the homenode I tested it on (tye's) is invalid.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://344086]
[GotToBTru]: time for some C8H10N4O2 for me
[ambrus]: GotToBTru: wait, you tell only the atom totals of what you want? Is that like ordering food in a restaurant by telling only the nutrient amounts you need, or
[ambrus]: like when a medieval scientist supposedly proves his priority inventing something by having previously published an anagram of a thousand letters long summary of the invention?
[choroba]: Progress! Nowadays, you can write a Perl script to generate such an anagram!
[GotToBTru]: i like to order my chemicals a-la-carte ambrus ;)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2016-12-06 13:04 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (104 votes). Check out past polls.