---
title: "How you define attributes in XML Schema?"  
description: "How you define attributes in XML Schema?"  
author: "Anonymous User"  
published: 2012-03-12  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/1410/how-you-define-attributes-in-xml-schema  
category: "xml"  
tags: ["xml"]  
reading_time: 1 minute  

---

# How you define attributes in XML Schema?

You can define attributes in XML Schema as follows:\
Syntax:\
<xs:attribute name="abc" type="xyz"/>\

## Answers

### Answer by Anonymous User

You can define attributes in XML Schema as follows:\
Syntax:\
<xs:attribute name="abc" type="xyz"/>\


---

Original Source: https://www.mindstick.com/interview/1410/how-you-define-attributes-in-xml-schema

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
