Hi, I'm having trouble getting Xalan to properly transform my XML document when I have namespace information in the root element, as below:
<List xmlns="http://localhost/List" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://localhost/List http://localhost/List.xsd"> <id>1</id> <name>Canoeing</name> </List> If I have just this... <List> <id>1</id> <name>Canoeing</name> </List> ...everything works perfectly. Can someone suggest what to do? What if I want the namespace information in the instance document but not actually validate the document against the schema when I do the transform? How would I do it? Also, is it possible to validate against the schema before I do the transform? If so, how would I do it? Thanks a lot for your help, Young
