|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Getting expanded empty tag format
Hi Gary. I know it's kind of a hack, but could you put a space, non-breaking space or <wbr/> element inside the <p>? If you're primarily concerned with how the browser interprests the XML there's usually something you can do to force the tag not to be minimized without effecting how it displays. --->N > -----Original Message----- > From: Michael Kay [mailto:mike@xxxxxxxxxxxx] > Sent: Tuesday, November 15, 2005 10:38 AM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: RE: Getting expanded empty tag format > > If the XForms processor is expecting the XHTML conventions to > be followed, > then you can use xsl:output method="xhtml". Otherwise no, > there's no way of > controlling this aspect of the serialization (other than > writing your own > serializer, which you could do by subclassing the relevant > parts of the > Saxon serializer). > > Michael Kay > http://www.saxonica.com/ > > > -----Original Message----- > > From: Gary Stewart [mailto:the.stewarg@xxxxxxxxx] > > Sent: 15 November 2005 17:07 > > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > > Subject: Getting expanded empty tag format > > > > Is there a way, in XSL (I'm currently using Saxon), to use the long > > format for an empty tag. So rather than: > > > > <p/> > > > > get: > > > > <p></p> > > > > It's just that an XForms processor I'm using is fine with the latter > > but doesn't like the former. > > > > Thanks! > > > > Gary
|
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








