[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Getting expanded empty tag format

Subject: RE: Getting expanded empty tag format
From: "Nathan Young -X \(natyoung - Artizen at Cisco\)" <natyoung@xxxxxxxxx>
Date: Thu, 17 Nov 2005 09:59:35 -0800
xforms tags
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.