return false ;
}
private static boolean printPrefix(IndentedWriter iWriter, Prologue prologue)
{
PrefixMapping prefixMapping = prologue.getPrefixMapping() ;
if ( prefixMapping != null )
{
Map<String, String> m = prefixMapping.getNsPrefixMap() ;
if ( ! m.isEmpty() )
{
int s = iWriter.getCol() ;
WriterLib.start(iWriter, Tags.tagPrefix, NoNL) ;
WriterLib.start(iWriter) ;
// Indent to this col.
int len = iWriter.getCurrentOffset() ;
iWriter.incIndent(len) ;
Iterator<String> iter = m.keySet().iterator();
boolean first = true ;
for ( ; iter.hasNext() ; )
{
if ( ! first )
iWriter.println() ;
first = false ;
String prefix = iter.next();
String uri = prefixMapping.getNsPrefixURI(prefix) ;
// Base relative URI = but not prefix mappings!
uri = FmtUtils.stringForURI(uri, prologue.getBaseURI()) ;
WriterLib.start(iWriter) ;
iWriter.print(prefix) ;
iWriter.print(": ") ;