Of course I have. And it does work to some extent. But when I need to enable
digital signatures, IP will create them in a different namespace, and use
prefix "my" for it.
Like this:
<?xml version="1.0" encoding="UTF-8"?>
<?mso-infoPathSolution solutionVersion="1.0.0.1" productVersion="11.0.6565"
PIVersion="1.0.0.0" href="file:///C:\temp\bbb.xsn"
name="urn:schemas-microsoft-com:office:infopath:bbb:mynamespace"
language="ru" ?>
<?mso-application progid="InfoPath.Document"?>
<ns1:test
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-01-29T15:58:03"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ns1="mynamespace">
<ns1:a></ns1:a>
<ns1:b></ns1:b>
<my:signatures1>
<my:signatures2></my:signatures2>
</my:signatures1>
</ns1:test>
> Have you already tried creating your own XML document or schema and then
> using the "New from XML Document or Schema..." option when creating a new
[quoted text clipped - 7 lines]
> > "teach" it to only specify the namespace on the root element and not use
> > prefixes on other nodes in the same namespace.
Greg Collins [InfoPath MVP] - 30 Jan 2006 19:28 GMT
This is a limitation with InfoPath. Even if you successfully rename "my" everywhere, InfoPath will just put it back.

Signature
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com
Of course I have. And it does work to some extent. But when I need to enable
digital signatures, IP will create them in a different namespace, and use
prefix "my" for it.
Like this:
<?xml version="1.0" encoding="UTF-8"?>
<?mso-infoPathSolution solutionVersion="1.0.0.1" productVersion="11.0.6565"
PIVersion="1.0.0.0" href="file:///C:\temp\bbb.xsn"
name="urn:schemas-microsoft-com:office:infopath:bbb:mynamespace"
language="ru" ?>
<?mso-application progid="InfoPath.Document"?>
<ns1:test
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-01-29T15:58:03"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ns1="mynamespace">
<ns1:a></ns1:a>
<ns1:b></ns1:b>
<my:signatures1>
<my:signatures2></my:signatures2>
</my:signatures1>
</ns1:test>
"S.Y.M. Wong-A-Ton" wrote:
> Have you already tried creating your own XML document or schema and then
> using the "New from XML Document or Schema..." option when creating a new
[quoted text clipped - 9 lines]
> > "teach" it to only specify the namespace on the root element and not use
> > prefixes on other nodes in the same namespace.