User Profile

Collapse

Profile Sidebar

Collapse
virgiloz
virgiloz
Last Activity: Jan 9 '08, 07:52 AM
Joined: Jan 4 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • virgiloz
    replied to XSL Heartache - Newbie
    in XML
    Thanks jkmyoung.

    I'll look into it. I get what you were saying about the double eval.

    No need to reply.

    Thanks again.

    virgil, out!
    See more | Go to post

    Leave a comment:


  • virgiloz
    replied to XSL Heartache - Newbie
    in XML
    Hi jkmyoung,

    When I say I'm using colors frequently I mean that I'm wanting to specify, say, redborder here, redbackground there, orangetext here ... and so on. Rather than doing a search and replace all the time to replace, say, #CC0033 with #CC11F3, I'd like to have a color schedule somewhere:

    redbackground = " ' #CC0033 ' "
    redborder = ...
    redtext = ...

    etc;

    Then...
    See more | Go to post

    Leave a comment:


  • virgiloz
    replied to Lasy day of the month
    in XML
    This code works fine for 3 out of 4 years ... but what about leap years? Every fourth year February has 29 days. But wait ... that is except every 100th year ... when it doesn't! Ie: generally, there are 24 leap years every 100 years. But wait ... again ... that is, except for every 400th year! Which is a leap year .... so you have 24 leap years every 100 years for 300 years and then 25 leap years for the next 100 years. Totally confused? I...
    See more | Go to post

    Leave a comment:


  • virgiloz
    replied to XSL Heartache - Newbie
    in XML
    Hi jkmyoung,

    Thanks for your reply. I've used the code and it is working fine. I must have the worst XML book there is: Teach Yourself XML in 24 Hours. It makes no mention of my:mapping whatsoever. Or are all the books bad?

    A couple more questions:

    1. How does the node actually reference my:mapping? There doesn't seem to be an explicit reference.

    2. I need to use colors frequently in...
    See more | Go to post

    Leave a comment:


  • virgiloz
    started a topic Continuing Heartache - Newbie
    in XML

    Continuing Heartache - Newbie

    Continuing on from my heartache post earlier, can I nest a <choose> element inside of:

    Code:
    <td align="center" style="border: 3px solid #CC0033" bgcolor="#FFAABF" class="v10">

    Ie: is the following statement correct?

    Code:
    <td align="center" style="border: 3px solid #CC0033" bgcolor="#FFAABF" 
    
    <xsl:choose>
    ...
    See more | Go to post

  • virgiloz
    started a topic variables and constants - Newbie
    in XML

    variables and constants - Newbie

    In vba I would write:

    const mycolor="#CC339 9"
    ...
    background = mycolor

    How do I do this in xsl ???

    virgil, out!
    See more | Go to post

  • virgiloz
    started a topic XSL Heartache - Newbie
    in XML

    XSL Heartache - Newbie

    I'm new to XML but an old hand at c++ lisp and vba programming. I'm trying to process the following xml data:

    Code:
    	<abilities>
    		<ability>
    			<name>Strength</name>
    			<abbr>STR</abbr>
    			<base>15</base>
    			<modifier>+2</modifier>
    		</ability>
    		<ability>
    			<name>Dexterity</name>
    			<abbr>DEX</abbr>
    ...
    See more | Go to post
No activity results to display
Show More
Working...