- From: Doug Davis <dug@us.ibm.com>
- Date: Tue, 27 Jan 2009 06:43:25 -0700
- To: Bob Freund <bob.freund@hitachisoftware.com>
- Cc: public-ws-resource-access-editors@w3.org, public-ws-resource-access-editors-request@w3.org
- Message-ID: <OF3004220D.10CF070B-ON8525754B.004B2795-8525754B.004B65A9@us.ibm.com>
Done. I've attached the xsl to this note for those who do not have cvs
access. So, now you should be able to say:
<specref ref="exampleid"/> or <specref ref="tableid"/>
and this will be replaced with
Example x-y or Table x-y
and they'll be href's to the corresponding example/table.
FYI - in case you didn't already know it - if you load the xml files up in
your browser (and the xsl files are in the same dir) then the browser will
automatically run the xslt processor for you - no need to do it manually.
thanks
-Doug
______________________________________________________
STSM | Web Services Architect | IBM Software Group
(919) 254-6905 | IBM T/L 444-6905 | dug@us.ibm.com
Bob Freund <bob.freund@hitachisoftware.com>
Sent by: public-ws-resource-access-editors-request@w3.org
01/26/2009 11:23 PM
To
Doug Davis/Raleigh/IBM@IBMUS
cc
public-ws-resource-access-editors@w3.org
Subject
Re: wsrt-wd1.xml
Doug,'I would share the technique and go for it.
-bob
On Jan 26, 2009, at 9:03 PM, Doug Davis wrote:
All,
I've figured out how to modify the xsl so that examples and tables are
numbered and then <specref>'s can be used to explicitly say "Example 2-1"
- what do people think? should I update our xsl for this or should we
limit ourself to just the generic xsl? For RT it makes it annoying not
being able to refer to an example or table that's far far away since
relative terms like "above" don't really work well.
thanks
-Doug
______________________________________________________
STSM | Web Services Architect | IBM Software Group
(919) 254-6905 | IBM T/L 444-6905 | dug@us.ibm.com
__________________
All,
I've checked in the latest wsrt-wd1.xml and attached it to this note for
those who do not have cvs access yet.
This one conforms to the dtd but I still need to go thru it line by line
to make sure everything is right.
Some things I couldn't figure out and would appreciate some help - if
someone else knows how to do it:
- how do I make something bold - <b> isn't allowed
- other specs use <specref>'s to examples and tables, but our xls doesn't
support it - should we?
- as a result of the previous one I had to modify all references to say
"as shown below..." instead of "in table X'.
- <example>/<eg> (or just <eg>) appears to be the only way to include
preformatted text (like code) that will respect line-breaks. However, if
I give the example a <head> then it says "Example:" and there are time
when its not an example. Anyone know of any other tag I could use?
thanks
-Doug
Attachments
- application/octet-stream attachment: xmlspec.xsl
Received on Tuesday, 27 January 2009 13:44:08 UTC