Hi,
  I am developing an extension for WiX. I have several types of
extensions. Part of them need extend <component> element. I have found
examples in WiX extension how I can extend Xsd schema for this
requirement.

  My question is how I can add an additional attributes to <File>
element? I looked at "wix.xsd" file and have found that I can add
additional attributes to <File> element, since schema look like this:
    <xs:element name="File">
        <xs:complexType>
     ........
            <xs:anyAttribute namespace="##other" processContents="lax">
                <xs:annotation><xs:documentation>
                    Extensibility point in the WiX XML Schema.  Schema
extensions can register additional
                    attributes at this point in the schema.
                </xs:documentation></xs:annotation>
            </xs:anyAttribute>
        </xs:complexType>
    </xs:element>


But I don't know how I need write my own xsd. Can somebody send me
example of xsd file that add new attribute, for example "MyAttribute"
that contains string to <File> element.

Thanks in advance,
  Dima

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to