Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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.


Comment on Re^2: perl script that genarate xml file.
Download Code
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2014-12-21 04:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (102 votes), past polls