|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Can I force XSLT to output the long-form of an ele
At 12:16 PM 5/5/03, you wrote:
Chris, Thanks for your help, everybody! Some replies: Yes, the documents do have an XML declaration, almost always with the following form: <?xml version="1.0" encoding="us-ascii"?> <!DOCTYPE html PUBLIC "+//ISBN 0-9673008-1-9//DTD OEB 1.0.1 Document//EN" "oebdoc101.dtd"> I do need to use XML output, not HTML output -- as someone pointed out, HTML output produces tags like <BR>, which aren't allowed in my structure (which is much closer to XHTML than HTML). Several people suggested forcing a space (or a non-breaking space) into the empty anchor tag so that it would no longer be empty, but that would add an extra space into my copy (which would mean that the content is incorrect), and in any case, I'd end up with an underlined (hyperlinked) space which I don't want. These are actually intended to be target anchors, not clickable hyperlinks. So if I did force a space in this spot, I'd just have to come back in and take it out again, so I'm still stuck with a post-process step. It sounds like I'm stuck with what I've been doing already. Oh well -- it works, so I'm not complaining (too much). Thanks again! At 03:03 PM 5/2/2003, Joe wrote:>Yes, I know that '<a id="page-1"></a>' and '<a id="page-1" />' are supposed >to be equivalent, >but one of the tools my users use (XMetaL) doesn't. --Chris ---------------------------------------------------------------------------------------- Texterity ~ XML and PDF ePublishing Services ---------------------------------------------------------------------------------------- Chris Loschen, XML Developer Texterity, Inc. 144 Turnpike Road Southborough, MA 01772 USA tel: +1.508.804.3033 fax: +1.508.804.3110 email: loschen@xxxxxxxxxxxxx http://www.texterity.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








