Home » Archived » XML Schema Definition (XSD) » xmlns attribute without prefix in schema tag: How to?
| |
Re: xmlns attribute without prefix in schema tag: How to? [message #17125 is a reply to message #17098] |
Tue, 08 April 2003 02:51  |
Eclipse User |
|
|
|
Originally posted by: dirk.schesmer.divos.de
This is a multi-part message in MIME format.
------=_NextPart_000_0011_01C2FDAC.1B958060
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Well, everything it easy once you know what to do and how to achieve =
it... Thanks, Ed!
"Ed Merks" <merks@ca.ibm.com> schrieb im Newsbeitrag =
news:3E9207A3.D410A926@ca.ibm.com...
Dirk,=20
Just do:=20
xsdSchema.getQNamePrefixToNamespaceMap().put(null, =
"http://mycompany.com/");
"Dirk V. Schesmer" wrote:=20
Hi all,=20
Can please someone tell me how to add an xmlns-Attribute without an=20
associated namespace prefix in the schema tag (see xmlns=3D"=20
http://mycompany.com/" below) ?=20
<xsd:schema targetNamespace=3D"http://mycompany.com/"=20
xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" =
xmlns=3D"http://mycompany.com/"=20
xmlns:tns=3D"http://mycompany.com/"=20
xmlns:cobol=3D"http://mouse.de/xml4cobol/cobol/"=20
elementFormDefault=3D"qualified">=20
Thanks for help,=20
Dirk V. Schesmer
------=_NextPart_000_0011_01C2FDAC.1B958060
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Well, everything it easy once you know =
what to do=20
and how to achieve it... Thanks, Ed!</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A =
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>>=20
schrieb im Newsbeitrag <A=20
=
href=3D"news:3E9207A3.D410A926@ca.ibm.com">news:3E9207A3.D410A926@ca.ibm.=
com</A>...</DIV>Dirk,=20
<P>Just do:=20
<BLOCKQUOTE>xsdSchema.getQNamePrefixToNamespaceMap().put(null, "<A=20
=
href=3D"http://mycompany.com/">http://mycompany.com/</A>");</BLOCKQUOTE>
<P><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><BR>"Dirk V.=20
Schesmer" wrote:=20
<BLOCKQUOTE TYPE=3D"CITE">Hi all,=20
<P>Can please someone tell me how to add an xmlns-Attribute without =
an=20
<BR>associated namespace prefix in the schema tag (see xmlns=3D" =
<BR><A=20
href=3D"http://mycompany.com/">http://mycompany.com/</A>" below) ?=20
<P><xsd:schema targetNamespace=3D"<A=20
href=3D"http://mycompany.com/">http://mycompany.com/</A>" =
<BR>xmlns:xsd=3D"<A=20
=
href=3D"http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchem=
a</A>"=20
xmlns=3D"<A =
href=3D"http://mycompany.com/">http://mycompany.com/</A>"=20
<BR>xmlns:tns=3D"<A =
href=3D"http://mycompany.com/">http://mycompany.com/</A>"=20
<BR>xmlns:cobol=3D"<A=20
=
href=3D"http://mouse.de/xml4cobol/cobol/">http://mouse.de/xml4cobol/cobol=
/</A>"=20
<BR>elementFormDefault=3D"qualified">=20
<P>Thanks for help,=20
<P>Dirk V. Schesmer</P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0011_01C2FDAC.1B958060--
|
|
| |
Re: xmlns attribute without prefix in schema tag: How to? [message #567283 is a reply to message #17098] |
Tue, 08 April 2003 02:51  |
Eclipse User |
|
|
|
Originally posted by: dirk.schesmer.divos.de
This is a multi-part message in MIME format.
------=_NextPart_000_0011_01C2FDAC.1B958060
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Well, everything it easy once you know what to do and how to achieve =
it... Thanks, Ed!
"Ed Merks" <merks@ca.ibm.com> schrieb im Newsbeitrag =
news:3E9207A3.D410A926@ca.ibm.com...
Dirk,=20
Just do:=20
xsdSchema.getQNamePrefixToNamespaceMap().put(null, =
"http://mycompany.com/");
"Dirk V. Schesmer" wrote:=20
Hi all,=20
Can please someone tell me how to add an xmlns-Attribute without an=20
associated namespace prefix in the schema tag (see xmlns=3D"=20
http://mycompany.com/" below) ?=20
<xsd:schema targetNamespace=3D"http://mycompany.com/"=20
xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" =
xmlns=3D"http://mycompany.com/"=20
xmlns:tns=3D"http://mycompany.com/"=20
xmlns:cobol=3D"http://mouse.de/xml4cobol/cobol/"=20
elementFormDefault=3D"qualified">=20
Thanks for help,=20
Dirk V. Schesmer
------=_NextPart_000_0011_01C2FDAC.1B958060
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Well, everything it easy once you know =
what to do=20
and how to achieve it... Thanks, Ed!</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A =
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>>=20
schrieb im Newsbeitrag <A=20
=
href=3D"news:3E9207A3.D410A926@ca.ibm.com">news:3E9207A3.D410A926@ca.ibm.=
com</A>...</DIV>Dirk,=20
<P>Just do:=20
<BLOCKQUOTE>xsdSchema.getQNamePrefixToNamespaceMap().put(null, "<A=20
=
href=3D"http://mycompany.com/">http://mycompany.com/</A>");</BLOCKQUOTE>
<P><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><BR>"Dirk V.=20
Schesmer" wrote:=20
<BLOCKQUOTE TYPE=3D"CITE">Hi all,=20
<P>Can please someone tell me how to add an xmlns-Attribute without =
an=20
<BR>associated namespace prefix in the schema tag (see xmlns=3D" =
<BR><A=20
href=3D"http://mycompany.com/">http://mycompany.com/</A>" below) ?=20
<P><xsd:schema targetNamespace=3D"<A=20
href=3D"http://mycompany.com/">http://mycompany.com/</A>" =
<BR>xmlns:xsd=3D"<A=20
=
href=3D"http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchem=
a</A>"=20
xmlns=3D"<A =
href=3D"http://mycompany.com/">http://mycompany.com/</A>"=20
<BR>xmlns:tns=3D"<A =
href=3D"http://mycompany.com/">http://mycompany.com/</A>"=20
<BR>xmlns:cobol=3D"<A=20
=
href=3D"http://mouse.de/xml4cobol/cobol/">http://mouse.de/xml4cobol/cobol=
/</A>"=20
<BR>elementFormDefault=3D"qualified">=20
<P>Thanks for help,=20
<P>Dirk V. Schesmer</P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0011_01C2FDAC.1B958060--
|
|
|
Goto Forum:
Current Time: Fri Jun 20 03:11:55 EDT 2025
Powered by FUDForum. Page generated in 0.28547 seconds
|