User Profile

Collapse

Profile Sidebar

Collapse
somanathan
somanathan
Last Activity: Jun 21 '07, 09:16 AM
Joined: May 18 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • somanathan
    started a topic Passing Parameters To Xsl File From Java Program
    in Java

    Passing Parameters To Xsl File From Java Program

    I need to pass parameter from a java program to XSL stylesheet.
    StreamSource stylesheet = new StreamSource(f) ;
    Transformer transformer = factory.newTran sformer(stylesh eet);
    transformer.set Parameter("para m","abc");

    I tried the above following but the parameter is not passed to the xsl.
    Any ideas on this will be great
    See more | Go to post

  • somanathan
    replied to Finding an exact string in xsl
    in XML
    This is my requirement..

    I have one string like this
    jr:rul=TISRecom mendedRecommend ed

    Sometimes the string will have only TISRecommended and some othertimes only Recommended.So when I search for Recommended within TISRecommended it will say Recommended is present.But TISRecommended and Recommended are two different strings. I need to find exactly which one of the string is present exactly??

    ...
    See more | Go to post

    Leave a comment:


  • somanathan
    replied to Finding an exact string in xsl
    in XML
    Suppose if I am searching for AdamSachin which is not in the list ,the contains function will return true since AdamSachin which contains the string Adam in it...Got it??If you need more info that also I will give

    thanks for the quick reply...
    See more | Go to post

    Leave a comment:


  • somanathan
    started a topic Finding an exact string in xsl
    in XML

    Finding an exact string in xsl

    I have string like this
    jr:name=AdamAda mParoreAdamGilC hrist

    I want to find the exact string here.Say for e.g If I want Adam it should give me only that string.
    If I use contains(jr:nam e,'Adam')
    It will give true for all the three strings i.e AdamAdamParoreA damGilchrist.I want to do a exact string match.Is there any way to do like that?
    See more | Go to post
No activity results to display
Show More
Working...