-
Notifications
You must be signed in to change notification settings - Fork 753
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
misc/xml-to-record-converter/src/test/resources/ballerina/sample_24.bal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
type Book_BookItem record { | ||
string[] authorName; | ||
}; | ||
|
||
type Book_BookList record { | ||
Book_BookItem bookItem; | ||
}; | ||
|
||
@xmldata:Name {value: "library"} | ||
type Example_Library record { | ||
Book_BookList bookList; | ||
}; |
8 changes: 8 additions & 0 deletions
8
misc/xml-to-record-converter/src/test/resources/xml/sample_24.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<example:library xmlns:example="http://example.com/library" xmlns:book="http://example.com/book" xmlns:author="http://example.com/author"> | ||
<book:bookList> | ||
<book:bookItem> | ||
<author:authorName>Value 1</author:authorName> | ||
<author:authorName>Value 2</author:authorName> | ||
</book:bookItem> | ||
</book:bookList> | ||
</example:library> |