User Profile

Collapse

Profile Sidebar

Collapse
paragguptaiiita
paragguptaiiita
Last Activity: Sep 18 '08, 04:12 AM
Joined: Feb 6 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • paragguptaiiita
    replied to Print Week Number from System Time
    in Perl
    I retrived the Today's date by the localtime() function, now i want to print the corronsponding week number in Perl...
    See more | Go to post

    Leave a comment:


  • paragguptaiiita
    started a topic Print Week Number from System Time
    in Perl

    Print Week Number from System Time

    Hi

    I am new in Perl, i want to print the week number from the Date.
    I fetched date from localtime() function, now how can we convert this date into the week number?

    Thanks in advace :)
    See more | Go to post

  • paragguptaiiita
    started a topic Extracting CData Values
    in XML

    Extracting CData Values

    i have one problem
    in my XML file i have CData like this

    <college name="JDSVM" id="121" >
    <![CDATA[
    53 26100
    ]]>
    <Comment>
    <![CDATA[
    front jounce bumper

    ]]>
    </college>

    in my XSL file, for taking the value of name and id, i used
    <xsl:value-of select="college/@name"/>...
    See more | Go to post

  • paragguptaiiita
    replied to Displaying text from XSL variable
    in XML
    My template is this

    <xsl:template name="break">
    <xsl:param name="str"/>
    <xsl:param name="breaker"/>
    <xsl:choose>
    <xsl:when test="substring-after($str, $breaker) = ''">
    <xsl:variable name="last"><xs l:value-of select="$str"/></xsl:variable>
    ...
    See more | Go to post

    Leave a comment:


  • Problem in Mozilla for Displaying text from XSL variable

    I have one problem regarding displaying text from XML file.
    I have a XSL variable named $p = (0 0 0) (0.82 0 0) (1.63 -0.01 0) (2.63 -0.01 0) (3.63 -0.01 0) (4.63 -0.01 0) (5.63 -0.02 0) (6.63 -0.02 0) (7.63 -0.02 0) (8.6 -0.02 0)
    This line contains X,Y,Z coordinates of 10 points.
    for displaying each coordinate in a separate line.Like this....
    (0 0 0)
    (0.82 0 0)
    (1.63 -0.01 0)
    (2.63 -0.01 0)
    ...
    See more | Go to post
    Last edited by eWish; May 28 '08, 03:14 AM. Reason: Please use code tags

  • paragguptaiiita
    replied to Displaying text from XSL variable
    in XML
    Now i have one more problem.
    NOW THE PROBLEM is this, that in IE 6.0 its displaying all the points in different row, but when i open that file in mozilla,it displays all the points in a single row. can any one help me that how can it display each point in different row in mozilla?
    See more | Go to post

    Leave a comment:


  • paragguptaiiita
    started a topic Displaying text from XSL variable
    in XML

    Displaying text from XSL variable

    I have one problem regarding displaying text from XML file.
    I have a XSL variable named $p = (0 0 0) (0.82 0 0) (1.63 -0.01 0) (2.63 -0.01 0) (3.63 -0.01 0) (4.63 -0.01 0) (5.63 -0.02 0) (6.63 -0.02 0) (7.63 -0.02 0) (8.6 -0.02 0)
    This line contains X,Y,Z coordinates of 10 points.
    for displaying each coordinate in a separate line.Like this....
    (0 0 0)
    (0.82 0 0)
    (1.63 -0.01 0)
    (2.63 -0.01 0)
    ...
    See more | Go to post

  • paragguptaiiita
    replied to Updating XML file via form
    in XML
    is there any other method for updating that file...
    See more | Go to post

    Leave a comment:


  • paragguptaiiita
    started a topic Displaying text from XSL variable
    in XML

    Displaying text from XSL variable

    I have a XSL variable named $p = 10 155 784 967 24 54 698 78 34 27 21 87 13 15
    This line contains width of 10 roads.
    I am using this code for displaying
    <td><font size="-2"><xsl:valu e-of select="$p"/></font></td>
    but i want to display each coordinate in a separate line.Like this....
    10
    155
    784
    967
    24
    54
    698
    78
    ...
    See more | Go to post

  • paragguptaiiita
    started a topic Updating XML file via form
    in XML

    Updating XML file via form

    I want to update the XML file....
    i have a XML file, for that XML file i made a XSL file,this XSL file showing the data of XML file in a HTML form, data shown in text boxes, so that we can edit the data and a submit button is also present. Now when we click submit button,there is an action field that points to the ASP file,now i want to update the data of XML file.

    http://www.asp101.com/articles/michael/editingxml/
    ...
    See more | Go to post

  • paragguptaiiita
    replied to Displaying text from XSL variable
    in XML
    I have one more problem in displaying....
    i want to insert space in between points...or we can say here <&nbsp> does not work, so can u tell me how can we insert space?
    See more | Go to post

    Leave a comment:


  • paragguptaiiita
    replied to Displaying text from XSL variable
    in XML
    Thanx.....Now i want to update the XML file....
    i have a XML file, for that XML file i made a XSL file,this XSL file showing the data of XML file in a HTML form, data shown in text boxes, so that we can edit the data and a submit button is also present. Now when we click submit button,there is an action field that points to the ASP file,now i want to update the data of XML file.

    http://www.asp101.com/articles/michael/editin...
    See more | Go to post

    Leave a comment:


  • paragguptaiiita
    replied to Displaying text from XSL variable
    in XML
    Thanx a lot...its working...
    now if i want round off the value upto 1 decimal place, then how can we do it.
    i m using this line of code
    <xsl:value-of select="concat ( substring-before( $x, '.' ) , '.' , substring ( substring-after ( $x, '.' ) , 1 ,2) )" />

    but for point like (0 0 0),it is displaying ( .. ). It will not display 0 (zero) value.
    so plz help....
    See more | Go to post

    Leave a comment:


  • paragguptaiiita
    replied to Displaying text from XSL variable
    in XML
    how can we insert the serial number in the beginning for displaying like this....
    1. (0 0 0)
    2. (0.82 0 0)
    3. (1.63 -0.01 0)
    4. (2.63 -0.01 0)
    5. (3.63 -0.01 0)
    6. (4.63 -0.01 0)
    7. (5.63 -0.02 0)
    8. (6.63 -0.02 0)
    9. (7.63 -0.02 0)
    10. (8.6 -0.02 0)

    I tried this by declaring two XSL variables before template definition

    <xsl:variable name="temp"...
    See more | Go to post

    Leave a comment:


  • paragguptaiiita
    replied to Displaying text from XSL variable
    in XML
    Thanks a lot.....
    can u give me ur mail id....?
    See more | Go to post

    Leave a comment:


  • paragguptaiiita
    replied to Displaying text from XSL variable
    in XML
    Thanks jkmyoung
    it is working now....but having a minor problem
    in output it is displaying like this
    (
    0 0 0) (
    0.82 0 0) (
    1.63 -0.01 0) (
    2.63 -0.01 0) (
    3.63 -0.01 0) (
    4.63 -0.01 0) (
    5.63 -0.02 0) (
    6.63 -0.02 0) (
    7.63 -0.02 0) (
    8.6 -0.02 0) (

    i changed one line as
    <xsl:value-of select="concat( $breaker,substr ing-before($str,...
    See more | Go to post

    Leave a comment:


  • paragguptaiiita
    replied to Displaying text from XSL variable
    in XML
    Hi jkmyoung,
    thanks for help, i want to use <br> tag, but the code given by you have some minor error (related to tagging), i corrected that as

    in line 8 <xsl:param name="breaker"\ >
    in line 18 <xsl:with-param name="breaker" select="$breake r)"/>
    after line 20 insert one more line </xsl:choose>
    in line 10 <xsl:when test="substring-after($str,...
    See more | Go to post

    Leave a comment:


  • paragguptaiiita
    started a topic Displaying text from XSL variable

    Displaying text from XSL variable

    I have a XSL variable named $p = (0 0 0) (0.82 0 0) (1.63 -0.01 0) (2.63 -0.01 0) (3.63 -0.01 0) (4.63 -0.01 0) (5.63 -0.02 0) (6.63 -0.02 0) (7.63 -0.02 0) (8.6 -0.02 0)
    This line contains X,Y,Z coordinates of 10 points.
    I am using this code for displaying
    <td><font size="-2"><xsl:valu e-of select="$p"/></font></td>
    but i want to display each coordinate in a separate line.Like...
    See more | Go to post

  • paragguptaiiita
    started a topic Displaying text from XSL variable
    in XML

    Displaying text from XSL variable

    I have a XSL variable named $p = (0 0 0) (0.82 0 0) (1.63 -0.01 0) (2.63 -0.01 0) (3.63 -0.01 0) (4.63 -0.01 0) (5.63 -0.02 0) (6.63 -0.02 0) (7.63 -0.02 0) (8.6 -0.02 0)
    This line contains X,Y,Z coordinates of 10 points.
    I am using this code for displaying
    <td><font size="-2"><xsl:valu e-of select="$p"/></font></td>
    but i want to display each coordinate in a separate line.Like...
    See more | Go to post

  • ctually i have a large XML file and i also made a XSL file for viewing that XML file on the web browser.When we view that XML file in web browser and edit that file then i want to update that XML file also.(here we can use any scripting language for updating )

    i don't know how it will, i saw this link Check this

    In this ASP is used for updating the XML file.I want the same thing but the problem is here the XML file...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...