Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: xls2xml -- a "customized general-purpose" tool

by hossman (Prior)
on Aug 28, 2007 at 03:20 UTC ( [id://635480]=note: print w/replies, xml ) Need Help??


in reply to xls2xml -- a "customized general-purpose" tool

I'm generally just as skeptical of code that does it's own XML output as i am of code that rolls it's own XML parsing (both are hard to get right)

Right off the bat i have to wonder: what prevents $sheet->{Name} from containing charcters that require entity replacement? (maybe that's not allowed in XLS files, I have no idea) ... I definitely know it's possible for $name and $path to contain dangerous characters.

Replies are listed 'Best First'.
Re^2: xls2xml -- a "customized general-purpose" tool
by graff (Chancellor) on Aug 28, 2007 at 06:09 UTC
    Good points -- thank you. Yes, it's time for me to get better acquainted with a proper xml output module, or at least apply the appropriate module to do entity encoding on those attribute values.

    (And I must confess to being queasy about the <d> element usually just containing character data but sometimes containing <fullval> and <sd> elements. I probably should shorten the former to <fv> and use it in every instance.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-03-29 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found