Dear Clay,
Thanks for your help. The XSLT references you gave are
really nice and I am sure that I can make things work
now.
Really appreciate your help.
Regrds,
Abhi


--- Clay Leeds <[EMAIL PROTECTED]> wrote:
> Abhijit Junnare wrote:
> > Dear Clay,
> > Thanks much. May be you could help me since you
> have
> > done some calculations. Let me know if you think
> its
> > feasible or not.
> > I have some xml element called "Name". I want to
> check
> > the length of the "Name" element. If the string
> length
> > for this is for example 10. I want to write it in
> a
> > fixed width for example 20. So since I want the
> field
> > to be fixed I want to add 10 fill charaters. The
> > number of fill characters I want to add will vary
> as
> > per the string length. Also the alignment can be
> > different. If the alignment is center then I want
> to
> > add fill characters before(here 5) and after (here
> 5)
> > the actual Name. If alignment is left then I want
> to
> > add fill characters (here 10)after the name and
> > similarly for right aligned I want to add before
> the
> > Name. 
> > Do you think something like this is feasible using
> XSL
> > for variable lengths of the strings that come from
> > xml?
> > Your help is really appreciated.
> > Thanks,
> > Abhi
> 
> Please forgive that I'm responding to the list, but
> I want to ensure 
> this discussion is "public" in the event others may
> find this thread useful.
> 
> This is the link to the searchable (and excellent)
> xsl-list archive:
> 
> http://www.biglist.com/lists/xsl-list/archives/
> 
> This thread on the xsl-list has some good info:
> 
>
http://www.biglist.com/lists/xsl-list/archives/200011/msg00817.html
> 
> In addition, this DocBook library may have some
> useful templates:
> 
>
http://docbook.sourceforge.net/release/xsl/current/doc/lib/lib.html
> 
> HTH!
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to