Yermo Lamers wrote:
Sorry if I am posting this to the wrong list. Please let me know if I am.

What I would like to do is write an ooWriter document and "tag" sections
of it with unique codes that would be included in an HTML export and then
referenced from a web app to produce a kind of easy to manage context
sensitive help system.


What you are describing is a metadata scenario.

Metadata - commonly known as data about data - are being used to help applications to interpret the content.

In your example you need to 'tag'/'add metdata to' sections of a document to be handled by different help system application, which otherwise would be not smart enough to recognize the content.

The good news, we are planning a more extensive metadata support in OOo 1.3.

For now you have multiple ways to solve your problem:

I would suggest to use bookmarks to 'tag' your content, but you might as well use certain styles and overwork them in a specific XHTML export version or in the XHTML output after the common XHTML export.

Depends all on your scenario.

regards,
Svante


It seems like this would be something that has already been done, but I
did quite a bit of searching and haven't found anything.

I figure I could modify the XSLT export to HTML examples to include these
codes as <a name="FOOBAR"> tags. I could then write a little indexing
script that would map which HTML documentation file contains which code.
From there it's simple to do a lookup from the webapp, load the right help
page and jump down to the code.

What should I use to tag sections? I thought about using the comment
feature or maybe a custom style is the right answer?

If I were to use OO comments in the Writer doc for my tags how do I
reference them from the XSLT?

I've found this XSLT info: http://books.evc-cit.info/apb.php
Are there any other documents I should be looking at?

Any pointers in the roughly right direction would be greatly appreciated,

Thanks,

-- Yermo

--------------------------------------------------------------------------
What's your portfolio worth?          http://www.personalstockstreamer.com
Don't invest alone! Profit together.       http://www.collabinvest.net
--------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to