Last active
September 21, 2018 07:54
-
-
Save thewilkybarkid/29ebd1a299d8f5eacd45959d084e285f to your computer and use it in GitHub Desktop.
XML element replacement
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
<?xml version="1.0" encoding="UTF-8"?> | |
<document> | |
<meta> | |
<title replaced-by="1">Some text</title> | |
<full-title id="1">Some text</full-title> | |
</meta> | |
<content> | |
<p>Some <italic replaced-by="2"><em id="2">inline</em></italic> content</p> | |
<image replaced-by="3"> | |
<src>http://www.example.com/image.jpg</src> | |
</image> | |
<figure id="3"> | |
<src>http://www.example.com/image.jpg</src> | |
</figure> | |
</content> | |
</document> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<document> | |
<meta> | |
<title>Some text</title> | |
<full-title>Some text</full-title> | |
</meta> | |
<content> | |
<p>Some <italic><em>inline</em></italic> content</p> | |
<image> | |
<src>http://www.example.com/image.jpg</src> | |
</image> | |
<figure> | |
<src>http://www.example.com/image.jpg</src> | |
</figure> | |
</content> | |
</document> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wonder about bi-directional?