Book a Demo

Author Topic: Attributes of Schema definition  (Read 2457 times)

Joost

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
  • What can't be done has never happened
    • View Profile
Attributes of Schema definition
« on: April 07, 2006, 03:21:45 am »
Is it possible to add an attribute 'version' to the element xs:schema?

Such that the resulting XSD would look like this:

<xs:schema xmlns="mynamespace" version="1.0">

I can only find the option to add namespaces to this element, not any other attributes.
« Last Edit: April 07, 2006, 03:22:15 am by Joost »

Laszlo

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Attributes of Schema definition
« Reply #1 on: April 07, 2006, 04:47:16 am »
Hi Joost,

Look at the the tagged values at the XSDschema level.

Good luck!

László

Joost

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
  • What can't be done has never happened
    • View Profile
Re: Attributes of Schema definition
« Reply #2 on: April 07, 2006, 04:53:44 am »
Oh thanks, I found it!

I am now wondering about the xml encoding attribute.
By default the following line is generated:
<?xml version="1.0"?>

But I would like to have:
<?xml version="1.0" encoding="utf-16" ?>

Any idea how to add this encoding attribute?