• Get the Flash Player to see the slideshow.
  • Categories

  • Authors

  • Great Quotes

    Money won’t create success, the freedom to make it will. — Nelson Mandela

Get in touch...

To have a chat about
your CMS needs...

Call us 0207 193 2014
or
Email us on

Archive for the ‘Articles’ Category

Building <A href=”…” /> in LiveSite – Revisited

Thursday, August 14th, 2008

Instead of :-

<a>
<xsl:attribute name=”href”>
<xsl:value-of select=”Properties/Datum[@ID='FFactPerformance']“/>
<xsl:text>?idtype=</xsl:text>
<xsl:value-of select=”//Datum[@ID='idtype']“/>
<xsl:text>&fundid=</xsl:text>
<xsl:value-of select=”//Datum[@ID='fundid']“/>
</xsl:attribute>
<xsl:attribute name=”id”>tab2</xsl:attribute>
<xsl:attribute name=”name”>tab2</xsl:attribute>
Performance & Risk
</a>

 

Use this notation :-

<a href=”{Properties/Datum[@ID='FFactPerformance']}?

idtype={//Datum[@ID='idtype']}&

fundid={//Datum[@ID='fundid']}” id=”tab2″ name=”tab2″>

Performance & Risk</a>

Much shorter to type, and easier to remember.

Formatting XML & HTML with HTML Tidy

Thursday, July 31st, 2008
  1. Get the tidy program from http://www.w3.org/People/Raggett/tidy/
  2. Unzip and run it from the command line, or, place it in your VIM runtime directory, add the following lines to your .vimrc, and when you visually select some text and type ,x on the command line, the selected text will be indented.

“—–
” select xml text to format and hit ,x
vmap ,x :!tidy -q -i –newline LF -xml<CR>
“—

 

Best Practices

Tuesday, June 24th, 2008

Thought it might be a good idea to start the Best Practices section with a Common Bad Practices list :)

1. Branch and Workarea names use acronyms instead of full business names which can obscure the purpose of the branch (e.g) Branch name is ‘ldp’ – this does not mean anything to the casual user.

2. Data Capture Records (DCRs) are not submitted and versioned by the system causing incorrect and lost data to occur.