[opensb-users] Newbie question about the .replace command
Brought to you by:
stas_t
From: P W. <Pwa...@ro...> - 2004-05-10 05:12:42
|
Hi, I have just started to use the Open Site builder and am finding it quite useful BUT so far I cannot get the .replace command to work. I have defined a _sections.xml file and I have put a .replace command into the corresponding .src file but it does not do the replace and further, it leaves the replace command in the generated .html file. Is this just a dumb user problem ... can anyone suggest what I am doing wrong? Here is the text of the _sections.xml file <sections> <section name="topmenu"> <![CDATA[ <a href="&.root;index.html">Home</a> || <b>About</b> || <a href="&.root;membership/index.html">Membership</a> || <a href="&.root;products/index.html">Products</a> ]]> </section> <section name="submenu"> <![CDATA[ &.section(books);<br /> &.section(tapes);<br /> &.section(infokits);<br /> ]]> </section> <section name="books"> <![CDATA[ <a href="books.html">Books</a> ]]> </section> <section name="books-active"> <![CDATA[ <b>Books</b> ]]> </section> <section name="tapes"> <![CDATA[ <a href="tapes.html">Tapes</a> ]]> </section> <section name="tapes-active"> <![CDATA[ <b>Tapes</b> ]]> </section> <section name="infokits"> <![CDATA[ <a href="infokits.html">Information Kits</a> ]]> </section> <section name="infokits-active"> <![CDATA[<b>Information Kits</b> ]]> </section> </sections> |