Skip to main content



      Home
Home » Archived » XML Schema Definition (XSD) » xmlns attribute without prefix in schema tag: How to?
xmlns attribute without prefix in schema tag: How to? [message #17041] Mon, 07 April 2003 18:29 Go to next message
Eclipse UserFriend
Originally posted by: dirk.schesmer.divos.de

Hi all,

Can please someone tell me how to add an xmlns-Attribute without an
associated namespace prefix in the schema tag (see xmlns="
http://mycompany.com/" below) ?

<xsd:schema targetNamespace="http://mycompany.com/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://mycompany.com/"
xmlns:tns="http://mycompany.com/"
xmlns:cobol="http://mouse.de/xml4cobol/cobol/"
elementFormDefault="qualified">

Thanks for help,

Dirk V. Schesmer
Re: xmlns attribute without prefix in schema tag: How to? [message #17098 is a reply to message #17041] Mon, 07 April 2003 19:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

--------------3040DDF38E08F502499CD6FF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Dirk,

Just do:

xsdSchema.getQNamePrefixToNamespaceMap().put(null,
"http://mycompany.com/");

"Dirk V. Schesmer" wrote:

> Hi all,
>
> Can please someone tell me how to add an xmlns-Attribute without an
> associated namespace prefix in the schema tag (see xmlns="
> http://mycompany.com/" below) ?
>
> <xsd:schema targetNamespace="http://mycompany.com/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://mycompany.com/"
> xmlns:tns="http://mycompany.com/"
> xmlns:cobol="http://mouse.de/xml4cobol/cobol/"
> elementFormDefault="qualified">
>
> Thanks for help,
>
> Dirk V. Schesmer

--------------3040DDF38E08F502499CD6FF
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Dirk,
<p>Just do:
<blockquote>xsdSchema.getQNamePrefixToNamespaceMap().put(null, "<a href="http://mycompany.com/">http://mycompany.com/</a>");</blockquote>

<p><br>"Dirk V. Schesmer" wrote:
<blockquote TYPE=CITE>Hi all,
<p>Can please someone tell me how to add an xmlns-Attribute without an
<br>associated namespace prefix in the schema tag (see xmlns="
<br><a href="http://mycompany.com/">http://mycompany.com/</a>" below) ?
<p>&lt;xsd:schema targetNamespace="<a href="http://mycompany.com/">http://mycompany.com/</a>"
<br>xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>"
xmlns="<a href="http://mycompany.com/">http://mycompany.com/</a>"
<br>xmlns:tns="<a href="http://mycompany.com/">http://mycompany.com/</a>"
<br>xmlns:cobol="<a href="http://mouse.de/xml4cobol/cobol/">http://mouse.de/xml4cobol/cobol/</a>"
<br>elementFormDefault="qualified">
<p>Thanks for help,
<p>Dirk V. Schesmer</blockquote>
</html>

--------------3040DDF38E08F502499CD6FF--
Re: xmlns attribute without prefix in schema tag: How to? [message #17125 is a reply to message #17098] Tue, 08 April 2003 02:51 Go to previous message
Eclipse UserFriend
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&nbsp;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" &lt;<A =
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>&gt;=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>&lt;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"&gt;=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 #567251 is a reply to message #17041] Mon, 07 April 2003 19:20 Go to previous message
Eclipse UserFriend
--------------3040DDF38E08F502499CD6FF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Dirk,

Just do:

xsdSchema.getQNamePrefixToNamespaceMap().put(null,
"http://mycompany.com/");

"Dirk V. Schesmer" wrote:

> Hi all,
>
> Can please someone tell me how to add an xmlns-Attribute without an
> associated namespace prefix in the schema tag (see xmlns="
> http://mycompany.com/" below) ?
>
> <xsd:schema targetNamespace="http://mycompany.com/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://mycompany.com/"
> xmlns:tns="http://mycompany.com/"
> xmlns:cobol="http://mouse.de/xml4cobol/cobol/"
> elementFormDefault="qualified">
>
> Thanks for help,
>
> Dirk V. Schesmer

--------------3040DDF38E08F502499CD6FF
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Dirk,
<p>Just do:
<blockquote>xsdSchema.getQNamePrefixToNamespaceMap().put(null, "<a href="http://mycompany.com/">http://mycompany.com/</a>");</blockquote>

<p><br>"Dirk V. Schesmer" wrote:
<blockquote TYPE=CITE>Hi all,
<p>Can please someone tell me how to add an xmlns-Attribute without an
<br>associated namespace prefix in the schema tag (see xmlns="
<br><a href="http://mycompany.com/">http://mycompany.com/</a>" below) ?
<p>&lt;xsd:schema targetNamespace="<a href="http://mycompany.com/">http://mycompany.com/</a>"
<br>xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>"
xmlns="<a href="http://mycompany.com/">http://mycompany.com/</a>"
<br>xmlns:tns="<a href="http://mycompany.com/">http://mycompany.com/</a>"
<br>xmlns:cobol="<a href="http://mouse.de/xml4cobol/cobol/">http://mouse.de/xml4cobol/cobol/</a>"
<br>elementFormDefault="qualified">
<p>Thanks for help,
<p>Dirk V. Schesmer</blockquote>
</html>

--------------3040DDF38E08F502499CD6FF--
Re: xmlns attribute without prefix in schema tag: How to? [message #567283 is a reply to message #17098] Tue, 08 April 2003 02:51 Go to previous message
Eclipse UserFriend
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&nbsp;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" &lt;<A =
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>&gt;=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>&lt;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"&gt;=20
<P>Thanks for help,=20
<P>Dirk V. Schesmer</P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0011_01C2FDAC.1B958060--
Previous Topic:Enumeration S.Type: How to add values?
Next Topic:Access to XML header properties: How?
Goto Forum:
  


Current Time: Fri Jun 20 16:21:04 EDT 2025

Powered by FUDForum. Page generated in 0.43644 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top