> From: Nat Gross [mailto:[EMAIL PROTECTED] > Matt Benson wrote: > >--- Nat Gross <[EMAIL PROTECTED]> > >wrote: > > > >>Hi; > >>How can I embed a \t within an echo string? > >>I tried to console and file, with and without > >>message attribute, to no > >>avail. > > > >I believe this is an XML thing. You might find an XML > >parser that would preserve a hard tab character in a > >buildfile, but as I understand it the tab character is > >not defined in XML so the behavior of (e.g. Xerces) is > >to interpret it as a space. That what appears to be > >happening when I run: > > > ><project> > > <echo message="foo bar" /> > > <!-- that was a tab between foo and bar > > but my HTML form-based e-mail won't let > > me do it ;) --> > ></project> > > > >Can you just use several spaces? You could even do: > > > ><property name="tab" value=" " /> > >and use ${tab} wherever you want... > > > Neat idea. Thanks. > -nat > > >-Matt > > > >>Thanks, > >>-nat >
Alternately, if you really want a tab character, I think you should be able to use the XML character entity for tab: <property name="tab" value="	"> Kajsa Anderson --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
