Jump to content

pfb

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by pfb

  1. er... sheer ignorance of xsl, I suppose. I tried much more complex solutions, but of course it was extremely simple.Since nothing I tried seemed to be working, I did someweb searches, also in this forum, but with little success.Sorry about the stupid question, and thanks a lot.Francesco
  2. Hi all,I was wondering about web indexing in xml (or xsl).In traditional html one includes something like <meta name="keywords" content="key1, key2, key3"> in the head section of the document. I have found this tutorial which explainshow to specify the keywords in the xml document and include them in the web page via a properxsl file.However I would like to specify them directly in the xsl sheet. I tried including the above tag in in the head section of my xsl document, just after the bit aboutthe css styles, but the browser complains. Probably it is a matter of syntax, possibly of closing the tag in the correct way.Does someone know the correct syntax, if any?I have tried many web searches, but I have hardly found anything useful. Perhaps what I want to do is a weird thing after all.Thanks for your helpFrancesco
  3. Thanks everybody for your help. I think thatyour codes and suggestion will be very useful to mecheersFrancesco
  4. Hi all, this topic seems to be related to what I am trying to obtain. Actually perhaps the answer is already there, but I am so XSL-impaired that I cannot see it.So, what I have is a collection like this <items> <item> <attr> A </attr> </item> <item> <attr> B </attr> </item> <item> <attr> C </attr> </item> <item> <attr> D </attr> </item> <item> <attr> E </attr> </item></items> and I would like to display all of the attrs in a two-column table, like thisA BC DE (possibly nothing)I am thinking of something involving the mod function (mod #of columns in the table, in this case)but I am not able to sort it out. I have tried to look in the forum for similar problems, but I amnot even sure how to formulate the question...Can someone help me?ThanksF
×
×
  • Create New...