Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: How to generate XML file from XSDs ?

by Cody Pendant (Prior)
on Nov 13, 2008 at 05:32 UTC ( #723345=note: print w/replies, xml ) Need Help??

in reply to How to generate XML file from XSDs ?

I don't really know much about XSDs but I think your problem is, you're generating an attribute called "yes_or_no". The attribute needs to be called "is_added" and the value of it should be "yes" or "no".

But as you haven't shown us the code which generates that, we can't fix it.

Nobody says perl looks like line-noise any more
kids today don't know what line-noise IS ...
  • Comment on Re: How to generate XML file from XSDs ?

Replies are listed 'Best First'.
Re^2: How to generate XML file from XSDs ?
by matrixmadhan (Beadle) on Nov 13, 2008 at 05:42 UTC
    Many thanks for the reply.

    I think am correct in that. For the sample XSD I had given that should be the proper XML output.

    is_added is an attribute to the element - first_element.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://723345]
[stevieb]: do you have input coming in that you're parsing? if so, update the question. Also add an example of *exactly* what your desired output should look like given an example input
[stevieb]: valgrind doesn't catch a deep internal segfault issue :( sigh

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2017-04-29 03:40 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (531 votes). Check out past polls.