schemalocation entry in XML created by castor created sources?

Discussion in 'XML' started by Ulf Heyder, Oct 16, 2003.

  1. Ulf Heyder

    Ulf Heyder Guest

    I use castor-0.9.5 with xerces-2.4.0 to automatically generate classes
    from XSDs via source generator and un-/marshall JAVA objects to/from
    XML files.

    My question is how to tell the castor source generator to create the
    classes in a way that while marshalling they will create a
    schemaLocation entry in the opening root tag:

    <?xml version="1.0" encoding="UTF-8"?>
    <liste
    xmlns="http://www.test.de/test"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.test.de/test liste.xsd">
    Ulf Heyder, Oct 16, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sam Hwang
    Replies:
    0
    Views:
    622
    Sam Hwang
    Apr 26, 2005
  2. John
    Replies:
    1
    Views:
    948
    Bob Foster
    Oct 22, 2003
  3. Naresh Agarwal
    Replies:
    1
    Views:
    707
    Christian Ludwig
    Jan 13, 2004
  4. Tjerk Wolterink
    Replies:
    1
    Views:
    1,584
    Tjerk Wolterink
    Sep 1, 2005
  5. KC

    SchemaLocation within Xml payload and WSDL.exe

    KC, Aug 27, 2003, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    235
Loading...

Share This Page