Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: xml-pastor runtime error?

by ramrod (Chaplain)
on Mar 07, 2009 at 16:34 UTC ( #749053=note: print w/ replies, xml ) Need Help??

in reply to xml-pastor runtime error?

It seems to me that something's worng with your schema. I used one of the examples from the w3schools website, and the your code executed with no errors. Here's the sample xsd I used:

<?xml version="1.0"?> <xs:schema xmlns:xs="" targetNamespace="" xmlns="" elementFormDefault="qualified"><xs:element name="note"> <xs:complexType> <xs:sequence> <xs:element name="to" type="xs:string"/> <xs:element name="from" type="xs:string"/> <xs:element name="heading" type="xs:string"/> <xs:element name="body" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element></xs:schema>
Provide some info towards what you need your data to look like for better help.

Comment on Re: xml-pastor runtime error?
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (1)
As of 2015-10-10 00:44 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (254 votes), past polls