I was putting off posting this but I've decided to cover all bases.
I'm using the libxml ruby bindings under windows courtesy of the
compilation available from
http://www.movesonrails.com/articles/2007/10/09/libxml-ruby-and-windows
However, when using the library, I'm getting an error, which app
>From looking at the api I'm guessing that the xmllib ruby bindings
can't as of yet insert default attributes as defined in the dtd.
i.e. the xmllint command:
xmllint test.xml --dtdattr
outputs the test.xml file with all the missing default attributes.
Currently our solution is to re parse the ou
Incidentally I couldn't find this method mentioned in the rdocs
> anywhere I only saw it by spotting it in the list of methods of
> XML::Document. For example in an irb session:
>
> document = XML::Document.new
> document.methods.sort# prints out all metho
I'm following through the w3schools tutorial on xsd and xml validation
and I'm trying to get one of the examples to validate. The problem
seems to be in validating the attributes because if I strip them out,
then it validates fine. I'm blindly following the tutorial but I can't
see anything wrong w