[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re[2]: [docbook-apps] FYI: DocBook element lookup form
||*()*|| [\..konnichi wa, ogenki desu ka, Bob../] Friday, September 16, 2005, 10:07:42 PM, you wrote: BS> Hi, BS> It doesn't seem to be able to find ulink. Are there other elements it can't BS> find? ulink doesn't present in my downloaded DTD. I don't know which version of docbook standard I've got because there are no comments inside the file docbook.dtd 193723 bytes long, but docbook.rng contains these lines: Source: Derived from DocBook XML V4.3 Release: $Id: docbook.rnc,v 1.3 2005/07/23 20:51:45 nwalsh Exp $ BS> Bob Stayton BS> Sagehill Enterprises BS> DocBook Consulting BS> bobs@sagehill.net BS> ----- Original Message ----- BS> From: "techtonik" <techtonik@tut.by> BS> To: "Michael Smith" <smith@xml-doc.org> BS> Cc: <docbook-apps@lists.oasis-open.org> BS> Sent: Friday, September 16, 2005 1:39 PM BS> Subject: Re: [docbook-apps] FYI: DocBook element lookup form >> ||*()*|| [\..konnichi wa, ogenki desu ka, Michael../] >> >> Monday, May 16, 2005, 4:17:10 PM, you wrote: >> >> MS> For what it's worth, I've set up a simple element lookup form at: >> MS> http://docbook.sourceforge.net/element/ >> >> Slightly enhanced with Ajax technology to fetch data without page >> reloads and avoid 404 mistakes (tested on firefox) >> http://farplugins.sourceforge.net/test/docbook/ >> >> File list: >> http://farplugins.sourceforge.net/test/docbook/readme >> http://farplugins.sourceforge.net/test/docbook/buildlist.phps >> http://farplugins.sourceforge.net/test/docbook/index.phps >> http://farplugins.sourceforge.net/test/docbook/elements.txt >> >> >> MS> If you type (or paste in) in an element name, it will take you the BS> page >> MS> for that element in the online version of DocBook: The Definitive BS> Guide. >> >> MS> I set it up because a couple of translators working on >> MS> localizations had asked me if there was a quick way to look up >> MS> reference info on individual elements. >> >> MS> Here's the source for it: >> >> MS> <?php >> MS> if (isset($_GET['name'])) { >> MS> // if 'goto' value specified in query string, redirect to >> MS> // specified URL >> MS> header("Location:" . "http://docbook.org/tdg/en/html/" . BS> $_GET['name'] . ".html"); >> MS> exit; >> MS> } >> MS> ?> >> MS> <html xmlns="http://www.w3.org/1999/xhtml"> >> MS> <head> >> MS> <title>DocBook Element Lookup Form</title> >> MS> </head> >> MS> <body> >> MS> <h1 style="font-size: 120%; color: #096">DocBook Element BS> Lookup</h1> >> MS> <?php >> MS> print "<form action='" . $_SERVER['PHP_SELF'] ."' method='get'>>\n" >> MS> ?> >> MS> <p> >> MS> <input name="name" type="text"/>  <input type="submit"/>> >> MS> </p> >> MS> <?php >> MS> print "</form>\n" >> MS> ?> >> MS> </body> >> MS> </html> >> >> >> >> >> >> WBR.techtonik >> -- >> (B)uilding, (A)ntenna, (S)pan and (E)arth >> * terminal velocity - 54m/s, 305m * >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org >> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org >> >> >> WBR.techtonik -- (B)uilding, (A)ntenna, (S)pan and (E)arth * terminal velocity - 54m/s, 305m *
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]