Beautify XML?
Hello Is there a way to get resulting XML document without those blank lines? For example, if I write: esql:row-results tsl xsp:attribute name=tsl_numberesql:get-int column=tsl //xsp:attribute xsp:attribute name=subslotesql:get-int column=subslot //xsp:attribute xsp:attribute name=sapiesql:get-int column=sapi //xsp:attribute xsp:attribute name=teiesql:get-int column=tei //xsp:attribute /tsl /esql:row-results in XML I get this: signalling-timeslots tsl tsl_number=13 subslot=0 sapi=0 tei=4 /tsl tsl tsl_number=15 subslot=0 sapi=0 tei=12 /tsl tsl tsl_number=17 subslot=-1 sapi=62 tei=1 /tsl tsl tsl_number=18 subslot=0 sapi=0 tei=1 How can I remove those empty lines? I do not want to write all attributes in one line in my XSP. :) Dmitry. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Beautify XML?
It's mentioned as ToDo for XSP (first entry for medium priority): http://cocoon.apache.org/2.0/todo.html. At the moment you will need a custom stylesheet I guess. Joerg Dmitry Diskin wrote: Hello Is there a way to get resulting XML document without those blank lines? For example, if I write: esql:row-results tsl xsp:attribute name=tsl_numberesql:get-int column=tsl //xsp:attribute xsp:attribute name=subslotesql:get-int column=subslot //xsp:attribute xsp:attribute name=sapiesql:get-int column=sapi //xsp:attribute xsp:attribute name=teiesql:get-int column=tei //xsp:attribute /tsl /esql:row-results in XML I get this: signalling-timeslots tsl tsl_number=13 subslot=0 sapi=0 tei=4 /tsl tsl tsl_number=15 subslot=0 sapi=0 tei=12 /tsl tsl tsl_number=17 subslot=-1 sapi=62 tei=1 /tsl tsl tsl_number=18 subslot=0 sapi=0 tei=1 How can I remove those empty lines? I do not want to write all attributes in one line in my XSP. :) Dmitry. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]