Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xsl] force
after x words

From: j milo taylor <milo@------.--->
To: xsl-list@-----.------------.---, ------.------@---.--
Date: 8/3/2009 11:52:00 AM
Thankyou for your kind and detailed response.

I'm someway closer to reaching a solution. The situation, is however 
slightly more complex (i think). This xslt is to transform xml into x3d

i.e.

Using these:

----
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:xs="http://www.w3.org/2001/XMLSchema" 
exclude-result-prefixes="xs" version="2.0" >

<xsl:output media-type="model/x3d=xml"
    doctype-system="http://www.web3d.org/specifications/x3d-3.2.dtd"  
method="xml" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/>

----

(the first suggested by yourself, and the second what i've been workig 
with so far)

and this, throws up the error:

Unsupported XSL element 
'http://www.w3.org/1999/XSL/Transform:for-each-group'

tho both XML checking and validation are fine, and your suggested 
solution has incorporates fine into my existing stylesheet. Thankyou.

I should also say that my initial question should have been how to force 
a carriage return (&#x0D; in UTF-8) rather than a <br/>. - tho i dont 
think this is a problem

Can anyone help?

Many thanks,

Milo


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@l...>
--~--



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent