Tractat.usIain | About | Help | FAQ | Special pages | Log in
n. handling , management, treatment.
Printable version | Disclaimers | Privacy policy

Bridge/XML

From Tractatus

< Bridge

OK, the XML looks like this:

<auction> <convention>Ivanhoe</convention> <call>2<NT/></call> <comment>4-5 or better in the minors.</comment> <auction> <call>3<C/><D/>, 4<C/><D/>, 5<C/><D/></call> <comment>TP</comment> </auction> <auction> <call>3<H/><S/></call> <comment>GI, natural. Raise with at least xxx or Jx</comment> </auction> <auction> <call>3<NT/>, 4<H/><S/></call> <comment>TP</comment> </auction> <auction> <call>4<NT/></call> <comment> Blackwood(1430) </comment> </auction> </auction>

I wrote the parse extension already, see XMLTest

The style sheet will be something like this: auction.xsl

Bridge

1 ♣

Ivanhoe

2NT
Ivanhoe 4-5 or better in the minors.
3♣, 4♣, 5♣
TP
3
GI, natural. Raise with at least xxx or Jx
3NT, 4
TP
4NT
Blackwood(1430)


Here is how to make the suits: Club: ♣ Diamond: Heart: Spade: ♠

\u2663 \u2664 \u2665 \u2666

Retrieved from "http://www.tractat.us/wiki/Bridge/XML"

This page has been accessed 795 times. This page was last modified on 28 May 2005, at 05:40. Content is available under Attribution-Noncommercial-Share Alike 2.5 .


Find

Browse
Iain
Current events
Recent changes
Random page
Help
Edit
View source
Editing help
This page
Discuss this page
New section
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
More...