Skip to content

Instantly share code, notes, and snippets.

@tofi86
tofi86 / CustomButtonPlugin.java
Created January 24, 2014 15:09
Custom Toolbar and Button for oXygen XML Editor
package de.mediaversal.oxygen.CustomButton;
import ro.sync.exml.plugin.Plugin;
import ro.sync.exml.plugin.PluginDescriptor;
/**
* CustomButton demo
*
* @author tofi86
* @created 2014-01-24
@tofi86
tofi86 / input.xml
Last active June 28, 2018 13:27
In XSLT, get a string that contains every character used in an XML input document exactly one time (no duplicates)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<element>This is some sample text string with <bold>inline markup</bold> &amp; some special characters.</element>
<element>Also, named (&lt;), decimal (&#62;) and hexadecimal (&#x00A2;) entities should be respected.</element>
</root>