Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-1646

Allow platform xml namespaces to be used with xml attributes in Alloy

    Details

      Description

      Would be great to allow using xml namespaces to filter attributes based on platform.

      For example:

       <Label ios:text="Hello iOS!" android:text="Hello Android!" />
      

      This is a probably over-simplistic example but the only way to do this right now is to have two separate elements:

      <Label text="Hello iOS!" platform="ios" />
      

      and

      <Label text="Hello Android!" platform="android" />
      

      This can cause problems with some tags/elements where it thinks you have duplicate tags and throws a compile time error.

        Attachments

          Activity

            People

            • Assignee:
              bhouse Brenton House
              Reporter:
              bhouse Brenton House
              Reviewer:
              Ewan Harris
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code