# XMLClassifierProperty

A classifier for `XML` content.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const xMLClassifierProperty: glue.CfnClassifier.XMLClassifierProperty = {
  classification: 'classification',
  rowTag: 'rowTag',

  // the properties below are optional
  name: 'name',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue

x_ml_classifier_property = glue.CfnClassifier.XMLClassifierProperty(
    classification="classification",
    row_tag="rowTag",

    # the properties below are optional
    name="name"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;

XMLClassifierProperty xMLClassifierProperty = XMLClassifierProperty.builder()
        .classification("classification")
        .rowTag("rowTag")

        // the properties below are optional
        .name("name")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;

var xMLClassifierProperty = new XMLClassifierProperty {
    Classification = "classification",
    RowTag = "rowTag",

    // the properties below are optional
    Name = "name"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

xMLClassifierProperty := &XMLClassifierProperty{
	Classification: jsii.String("classification"),
	RowTag: jsii.String("rowTag"),

	// the properties below are optional
	Name: jsii.String("name"),
}
```

## Properties

- `classification`: string (required) — An identifier of the data format that the classifier matches.

- `name`: string — The name of the classifier.

- `rowTag`: string (required) — The XML tag designating the element that contains each record in an XML document being parsed.

  This can't identify a self-closing element (closed by `/>` ). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, `<row item_a="A" item_b="B"></row>` is okay, but `<row item_a="A" item_b="B" />` is not).
