Re: [xml] Validate single elements against RelaxNG



Torsten Radtke wrote:
I am trying to validate a single node in a document with xmlRelaxNGValidatePushElement, xmlRelaxNGValidateFullElement, and xmlRelaxNGValidatePopElement, but I only receive correct results if I validate the root node.

Is there a possibility to validate nodes at an arbitrary position in the tree?
the RELAXNG <start> element lists those things
which can act as the root of the tree. so amend
your schema to allow anything there

--
Sebastian Rahtz Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]