Thanks for the help. could you please explain me how can i use mode or parameters as u said for converting to small caps. for example if i have an XML like this <Main> <element 1>.... </elemen 1> <element 1> ... <element 2> <A>..</A> </element 2> </element 1> <element 1> <A Caps="Yes">.....<B>.....<C>....</C></B><D>...<D>....</A> <D>....</> <element 1> </Main>
So I want to translate all the content that comes under the <A Caps="Yes"> element to uppercase meaning including its children elements <B> <C> and <D> Your help is really appreciated. Thanks, Abhi --- "J.Pietschmann" <[EMAIL PROTECTED]> wrote: > Abhijit Junnare wrote: > > I looked through the FOP documentation and it says > > that the text-transform property is NOT yet > > implemented in FOP. I am wondering if there is any > > chance that this will be implemented in FOP and if > yes > > how long would it take. > > The spec itself recommends against using this > feature. Uppercasing > arbitrary Unicode letters is a quite non-trivial > task. > > > I tried writing a template to convert to capital > > letters but it doesnt work the way I need coz I am > > setting the attribute in the parent and I need its > > children to inherit it irrespective of the level > of > > depth. Hence I cant pass a specific string to the > > conversion template. > > Ouch! Pass a mode or a parameter to templates > applying to > the child element, and do a > translate(.,$lower,$upper) > in th ecorrespondinggly moded template matching > text(), > or if the text() template senses the parameter. > > J.Pietschmann > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
