Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^2: perl script that genarate xml file.

by veerubiji (Sexton)
on Nov 15, 2011 at 17:47 UTC ( #938229=note: print w/replies, xml ) Need Help??

in reply to Re: perl script that genarate xml file.
in thread perl script that genarate xml file.

sorry, I have one big file with data like that so I posted only small data, I have 100 university's information like that. I tried as you said it doesn't give any errors but it genarated new xml file with 2KB and I tried to open it internet explorer giving error like this

The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error +and then click the Refresh button, or try again later. ---------------------------------------------------------------------- +---------- Required white space was missing. Error processing resource 'file:///C +:/files/star/new.xml'. Line 23, Position 26 <semester number="1"subjects="7" rank="2"/> -------------------------^
can you tel me how to overcome.

Replies are listed 'Best First'.
Re^3: perl script that genarate xml file.
by runrig (Abbot) on Nov 15, 2011 at 17:53 UTC
    Required white space was missing.

    You have the error message, you have the line of data with the error. Insert the missing whitespace. Whatever is generating your "XML" is sometimes failing to put any space between the "number" and "subjects" attributes.

      Thank you very much fro your help to solve my problem, Now its working, Its totally my fault, My XML data is not well formatted.Sorry for posting this type of question, because I am beginner.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://938229]
[davido]: If you ever doubt the progress made in CPU technology: I have a script that runs in 2m20s on a Core2-Duo with 8GB RAM and an SSD. On an i7-2700K, also with SSD, same script runs in 12.5s.
[davido]: That's a 2nd Gen i7, but it is OC'ed from 3.5GHz to 4.6. ...things break down for awhile following 2nd gen though; the 2nd gen i7 2700k beats my Haswell (4th gen) i7 laptop by about 30%

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2017-11-22 15:10 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (326 votes). Check out past polls.