![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: XML Spy buffer data... >Thread Next - Re: XML Spy buffer data... Re: XML Spy buffer data...To: NULL Date: 3/2/2004 1:19:00 PM > AFAIK, XMLSpy">XMLSpy has bad habit of "adjusting" XML instance, when > associating it with XSD Schema. If the schema has target namespace, but > XML instance doesn't, XMLSpy">XMLSpy "fixes" XML instance. > To avoid it, remove target namespace from your schemas. Your schema > doesn't fit your XML. If your XML doesn't have namespace, why its schema > has? Hmm, good question. My clients provided me with a message (without xmlns), and an XSD, and it's only when you "add" the schema to the XML via XMLSpy">XMLSpy that you see that it is in the correct syntax. Only thing is it's not in the correct syntax because spy fixes it for you! i have a feeling they're creating it all in spy, and spy's filling in some blanks i don't want to see filled. Fantastic. >> I tried the local-name() method but it didn't work, the mapping appeared to >> return a match, but then none of the data that is scanned within the >> template returns valid branches... >You have also to fix *all* XPath expressions in your stylesheet! Instead >of "a/b" - *[local-name()='a']/*[local-name()='b']. Crazy indeed. You're kidding, that's not crazy, that's plain insane! >> Oh, it's so confuzzling. **8-$ >Agree. Namespaces are probably the most confusing stuff in the whole XML :( Now he tells me, DOH! ;o) thanks for your help. Dan. | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
