osdir.com
mailing list archive

Subject: set namespace attributes - msg#00040

List: text.xml.xerces-c.user

Date: Prev Next Index Thread: Prev Next Index
Hello!

I've problems to find information to write the namespace attributes in the root
of the document.
Example:

<WMS_Capabilities version="1.3.0" xmlns="http://www.opengis.net/wms";
xmlns:xlink="http://www.w3.org/1999/xlink";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.opengis.net/wms
http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd";>

Can anybody help?


Cu

Sascha
Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Compiling on tru-64 with native compiler

Building version 2.7.0 on Tru64 V5.1, just had to add -pthread in PLATFORM_COMPILE_OPTIONS, as in: 602c602 < PLATFORM_COMPILE_OPTIONS = -D${PLATFORM} -ptr ${XERCESCROOT}/.cxx_repository --- > PLATFORM_COMPILE_OPTIONS = -D${PLATFORM} -pthread -ptr ${XERCESCROOT}/.cxx_repository Seems to work OK Australia Post is committed to providing our customers with excellent service. If we can assist you in any way please telephone 13 13 18 or visit our website. The information contained in this e-mail communication may be proprietary, confidential or legally professionally privileged. It is intended exclusively for the individual or entity to which it is addressed. You should only read, disclose, re-transmit, copy, distribute, act in reliance on or commercialise the information if you are authorised to do so. Australia Post does not represent, warrant or guarantee the integrity of this e-mail communication has been maintained nor that the communication is free of errors, virus or interference. If you are not the addressee or intended recipient please notify us by replying direct to the sender and then destroy any electronic or paper copy of this message. Any views expressed in this e-mail communication are taken to be those of the individual sender, except where the sender specifically attributes those views to Australia Post and is authorised to do so.

Next Message by Date: click to view message preview

Usage of the non-standard (experimental) API methods

Hi folks, When parsing an xml file, we need to apply validation against an xml schema file. We do not want to rely on the xsi:schemaLocation attribute in the xml file itself, but instead we want to provide a schema to the parser explicitly. What's more, as the caller we want to supply the schema to the parser through an istream (rather than pointing the parser to a file name or a URL). This allows us to use schemas dynamically. We are now using the DOMBuilder::loadGrammar(const DOMInputSource &source, ...) method which appears to work fine. However, this method is labeled as "Experimental - subject to change". What is the intended use for this method? Can I use it, or is there a "proper" alternative way among the standard methods that I should use? kind regards, Erik van Zijst

Previous Message by Thread: click to view message preview

Compiling on tru-64 with native compiler

Building version 2.7.0 on Tru64 V5.1, just had to add -pthread in PLATFORM_COMPILE_OPTIONS, as in: 602c602 < PLATFORM_COMPILE_OPTIONS = -D${PLATFORM} -ptr ${XERCESCROOT}/.cxx_repository --- > PLATFORM_COMPILE_OPTIONS = -D${PLATFORM} -pthread -ptr ${XERCESCROOT}/.cxx_repository Seems to work OK Australia Post is committed to providing our customers with excellent service. If we can assist you in any way please telephone 13 13 18 or visit our website. The information contained in this e-mail communication may be proprietary, confidential or legally professionally privileged. It is intended exclusively for the individual or entity to which it is addressed. You should only read, disclose, re-transmit, copy, distribute, act in reliance on or commercialise the information if you are authorised to do so. Australia Post does not represent, warrant or guarantee the integrity of this e-mail communication has been maintained nor that the communication is free of errors, virus or interference. If you are not the addressee or intended recipient please notify us by replying direct to the sender and then destroy any electronic or paper copy of this message. Any views expressed in this e-mail communication are taken to be those of the individual sender, except where the sender specifically attributes those views to Australia Post and is authorised to do so.

Next Message by Thread: click to view message preview

Re: set namespace attributes

Hi Sascha, I guess you are talking about updating a DOM tree; but how did you created that DOM tree? Did you created it using API calls, or did you use a DOM parser reading a file? In the latter case, did you turn namespace processing on? Finally, what you plan to do with the updated tree? Alberto At 11.14 22/09/2006 +0200, Sascha Bahl wrote: Hello! I've problems to find information to write the namespace attributes in the root of the document. Example: <WMS_Capabilities version="1.3.0" xmlns="http://www.opengis.net/wms" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd"> Can anybody help? Cu Sascha
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by