Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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.

Flame


Comment on Re: Re: downloading code from home nodes
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://344086]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2014-09-16 12:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (19 votes), past polls