38 lines
1 KiB
Java
38 lines
1 KiB
Java
/**
|
|
* Copyright (C) 2006-2014 Christian Pierre MOMON
|
|
*
|
|
* This file is part of Xidyn.
|
|
*
|
|
* Xidyn is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* Xidyn is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with Xidyn. If not, see <http://www.gnu.org/licenses/>
|
|
*/
|
|
import org.w3c.dom.Document;
|
|
|
|
import fr.devinsy.xidyn.utils.XidynUtils;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
class Foo
|
|
{
|
|
/**
|
|
* @throws Exception
|
|
*
|
|
*/
|
|
public static void main(final String[] args) throws Exception
|
|
{
|
|
String source = "<div><h1>toto</h1><span id='titi'>blank</span></div>";
|
|
|
|
Document dom = XidynUtils.buildDom(source);
|
|
}
|
|
}
|