OpenImmo/src/main/java/org/openestate/io/openimmo/converters/OpenImmo_1_2_6.java
protected void downgradeAusblickElements(Document doc) throws JaxenException {
        List nodes = XmlUtils.newXPath(
                "/io:openimmo/io:anbieter/io:immobilie/io:infrastruktur/io:ausblick[@blick]",
                doc).selectNodes(doc);
        for (Object item : nodes) {
            Element node = (Element) item;
            String value = StringUtils.trimToNull(node.getAttribute("blick"));
            if ("MEER".equalsIgnoreCase(value))
                node.setAttribute("blick", "SEE");
        }
    }
protected void downgradeAusblickElements(Document doc) throws JaxenException {
        List nodes = XmlUtils.newXPath(
                "/io:openimmo/io:anbieter/io:immobilie/io:infrastruktur/io:ausblick[@blick]",
                doc).selectNodes(doc);
        for (Object item : nodes) {
            Element node = (Element) item;
            String value = StringUtils.trimToNull(node.getAttribute("blick"));
            if ("MEER".equalsIgnoreCase(value))
                node.setAttribute("blick", "SEE");
        }
    }
protected void downgradeAusblickElements ( Document doc ) throws JaxenException { List nodes = XmlUtils . newXPath ( "/io:openimmo/io:anbieter/io:immobilie/io:infrastruktur/io:ausblick[@blick]" , doc ) . selectNodes ( doc ) ; for ( Object item : nodes ) { Element node = ( Element ) item ; String value = StringUtils . trimToNull ( node . getAttribute ( "blick" ) ) ; if ( "MEER" . equalsIgnoreCase ( value ) ) node . setAttribute ( "blick" , "SEE" ) ; } }
Downgrade &lt;ausblick&gt; elements to OpenImmo 1.2.5.
<p>
The option "MEER" for the "blick" attribute of
&lt;ausblick&gt; elements is not available in version 1.2.5.
<p>
Any occurence of the "MEER" value is replaced by the "SEE" value.

@param doc OpenImmo document in version 1.2.6
@throws JaxenException if xpath evaluation failed
Downgrade &lt ; ausblick&gt ; elements to OpenImmo 1 . 2 . 5 . <p > The option MEER for the blick attribute of &lt ; ausblick&gt ; elements is not available in version 1 . 2 . 5 . <p > Any occurence of the MEER value is replaced by the SEE value .