[izpack-users] Adding line break to a description in packslang.xml

Nick lonnc2000 at yahoo.co.uk
Fri Jul 13 12:54:26 CEST 2007


Ok, so I was being stupid.
Answering my own question:

<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<langpack>
    <str id="core" txt="My Product"/>
    <str id="core.description">
This is line 1 of the description.
This is line 2.
     </str>
</langpack>

Nick

On Friday 13 July 2007 10:55, Nick wrote:
> Sorry, forgot to say that I'm using version 3.10.2.
>
> On Friday 13 July 2007 10:41, Nick wrote:
> > I am probably being completely stupid and missing something obvious, but
> > how do you add a line break to a description in packslang.xml?
> >
> > I have tried to escape the XML, use HTML and of course use a regular line
> > feed, but nothing seems to work.
> > Briefly looking at the source code, I'm not sure that it is possible -
> > but surely somebody has done this before.
> >
> > What I'm after is something like:
> >
> > <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
> > <langpack>
> >     <str id="core" txt="My Product"/>
> >     <str id="core.description" txt="This is line 1 of the
> > description.&#10;This is line 2."/>
> > </langpack>
> >
> > or even:
> >
> > <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
> > <langpack>
> >     <str id="core" txt="My Product"/>
> >     <str id="core.description" txt="This is line 1 of the description.
> > This is line 2."/>
> > </langpack>
> >
> >
> > Cheers,
> >
> > Nick
> > _______________________________________________
> > izpack-users mailing list
> > izpack-users at lists.berlios.de
> > https://lists.berlios.de/mailman/listinfo/izpack-users
>
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users



More information about the izpack-users mailing list