Re: Trouble generate java file with multiple xsd files

2008-02-06 Thread Jacob Danner
Hi Alex, You are getting an error because 2 of your schemas have the same type (in this case, attribute group) defined in them. You'll want to make sure the types are in fact the same, rather than just having the same name first. After that, there are a couple of things you can do here: 1) move

how to restrict validation to part of the W3C schema?

2008-02-06 Thread dave
I would like to restrict the validation only to part of my XML schema. I do not want to validate anything under certain Element, say 'noValidation'. This element in turn contains an XML(which is WellFormed but not Valid) for which there is no schema for whatever reason. But I would want to parse

search and replace kind of operations with XML

2008-02-06 Thread dave
For a given XML input, I would need to perform 'Search and Replace' operation on Element/Attribute Tag names and values. The resultant output is a transformed XML. Since I would like to change both Tags and Values, what is the best way to accomplish this? XSLT or Xpath/XQuery or combination of

Re: search and replace kind of operations with XML

2008-02-06 Thread jimmy Zhang
I think you may find VTD-XML ideally suited for this (better than any other technologies AFAIK ) because of its incremental update capability and built-in XPath http://www.javaworld.com/javaworld/jw-07-2006/jw-0724-vtdxml.html http://www.devx.com/xml/Article/36379 - Original Message

Re: search and replace kind of operations with XML

2008-02-06 Thread dave
Am already using XmlBeans. I would need to see how I can integrate VTD-XML with XMLBeans. I agree with you that VTD-XML is an ideal match for what I want to accomplish. I would still prefer if XmlBeans offers anything on this line. Thanks Jimmy. dave --- jimmy Zhang [EMAIL PROTECTED] wrote: