validation - I need a tool for generating CSS selector based JQuery validator for xml custom schema -
Does anybody know who does this or something like this (in any language) because I want to make one?
I think something that will create an array of CSS selectors for the XML schema, and generate snippets of jquery code.
If you want to query XML, then XPath is the way to be asked without having to compare it to jQuery's CSS style selectors. Easily more powerful.
If you want a tool to generate jQuery selectors for an XHTML document to reuse with the actual jQuery, then I do not know about any device that exists . The problem is that for a given element or set of elements, there may be dozens or even hundreds of selectors, who take out that element. The more specific you are (e.g., $ ('html body table: eq (0) td tr: eq (0) td: eq (3)') ), the more likely it is to break the source With very little modifications in the document.
Comments
Post a Comment