Skip to content

Commit

Permalink
fix: correct namespace usage in doc example
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-grgt committed Mar 4, 2024
1 parent c93f1c4 commit bcc4b93
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,22 @@ public class Location {
```java
String document = """
<?xml version="1.0" encoding="UTF-8"?>
<w:WeatherData xmlns:xjx="https://github.com/jonas-grgt/xjx">
<w:Location>
<w:Country City="New York">USA</w:Country>
</w:Location>
<w:CurrentConditions>
<w:Temperature>
<w:Value>75</Value>
<w:Unit><![CDATAF]]></w:Unit>
</w:Temperature>
<w:Humidity>
<w:Value>60</w:Value>
<w:Unit>%</w:Unit>
</w:Humidity>
<w:WeatherCondition>Sunny</w:WeatherCondition>
</w:CurrentConditions>
</w:WeatherData>""";
<xjx:WeatherData xmlns:xjx="https://github.com/jonas-grgt/xjx">
<xjx:Location>
<xjx:Country City="New York">USA</xjx:Country>
</xjx:Location>
<xjx:CurrentConditions>
<xjx:Temperature>
<xjx:Value>75</Value>
<xjx:Unit><![CDATAF]]></xjx:Unit>
</xjx:Temperature>
<xjx:Humidity>
<xjx:Value>60</xjx:Value>
<xjx:Unit>%</xjx:Unit>
</xjx:Humidity>
<xjx:WeatherCondition>Sunny</xjx:WeatherCondition>
</xjx:CurrentConditions>
</xjx:WeatherData>""";
var xjx = new XjxSerdes();
Expand Down

0 comments on commit bcc4b93

Please sign in to comment.