Add string variables too as s1..s12
This commit is contained in:
@@ -1,33 +1,37 @@
|
||||
<tests>
|
||||
<!-- Test simple value replacement -->
|
||||
<test id="simple">
|
||||
<value>100</value>
|
||||
</test>
|
||||
|
||||
<!-- Test with multiple capture groups -->
|
||||
<test id="multi">
|
||||
<value>50</value>
|
||||
<multiplier>3</multiplier>
|
||||
<divider>2</divider>
|
||||
</test>
|
||||
|
||||
<!-- Test with inline format -->
|
||||
<test id="inline"><value>200</value>,<multiplier>2</multiplier>,<divider>4</divider></test>
|
||||
|
||||
<!-- Test with nested elements -->
|
||||
<test id="nested">
|
||||
<data>
|
||||
<value>75</value>
|
||||
<settings>
|
||||
<multiplier>4</multiplier>
|
||||
<divider>3</divider>
|
||||
</settings>
|
||||
</data>
|
||||
</test>
|
||||
|
||||
<!-- Test with decimal values -->
|
||||
<test id="decimal">
|
||||
<value>10.5</value>
|
||||
<multiplier>2.5</multiplier>
|
||||
</test>
|
||||
</tests>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<testdata>
|
||||
<!-- Numeric values -->
|
||||
<item>
|
||||
<id>1</id>
|
||||
<value>100</value>
|
||||
<price>24.99</price>
|
||||
<quantity>5</quantity>
|
||||
</item>
|
||||
|
||||
<!-- Text values -->
|
||||
<item>
|
||||
<id>2</id>
|
||||
<name>Test Product</name>
|
||||
<description>This is a test product description</description>
|
||||
<category>Test</category>
|
||||
</item>
|
||||
|
||||
<!-- Mixed content -->
|
||||
<item>
|
||||
<id>3</id>
|
||||
<name>Mixed Product</name>
|
||||
<price>19.99</price>
|
||||
<code>PRD-123</code>
|
||||
<tags>sale,discount,new</tags>
|
||||
</item>
|
||||
|
||||
<!-- Empty and special values -->
|
||||
<item>
|
||||
<id>4</id>
|
||||
<value></value>
|
||||
<specialChars>Hello & World < > " '</specialChars>
|
||||
<multiline>Line 1
|
||||
Line 2
|
||||
Line 3</multiline>
|
||||
</item>
|
||||
</testdata>
|
Reference in New Issue
Block a user