This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Fri, Mar 07, 2003 at 09:57:24PM +0100, Jirka Kosek wrote: > Ben Hratshorne wrote: > > > I was confused by this. Though I understood the difference between > > SGML/XML and DSSSL/XSL (you're right it was a typo), I thought that if > > you use SGML, you must use DSSSL, and if you use XML, you must use XSL. > > I was unaware you could use DSSSL with XML. Is the converse true - can > > you use XSL with SGML? > > No. You must first convert SGML into XML. You can use tools like sx for > this task. any idea what debian package might have this tool? > > Can any of you suggest a web page that might have the same document in > > XML and SGML, and show differences in both the document and in how to > > compile it? > > The biggest difference is that XML doesn't support minimalization > features of SGML which allow you to not close some tags and use other > markup shortcuts. What about non-closing tags such as imagedata? <mediaobject> <imageobject> <imagedata fileref="images/stack.pdf"> </imageobject> <imageobject> <imagedata fileref="images/stack.png"> </imageobject> </mediaobject> > > But... at this point I have one (mostly) complete manual in SGML. Any > > tips on what I might need to change to switch it over, besides the first > > line? I think the only tricky part is that I have a couple of > > conditionally compiled sections: > > > > [entitity example cut] > > > > This is not supported by XML. But you can substitute this by profiling > http://www.sagehill.net/xml/docbookxsl/SpecialHandling.html#Profiling That link (and the rest of the manual at the same place) is very nice; I handn't found it before. Thank you! -ben -- Ben Hartshorne email: ben at hartshorne dot net http://ben.hartshorne.net
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |