XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Jeff ZahodnikSubject: Disabling Default Stylesheets in Stylus
Author: Jeff Zahodnik
Date: 27 Oct 2000 06:05 PM
Being a newbie at using Stylus, is there a way to disable the application of the default style sheets? FYI... I'm getting output from the [Default: Text and Attributes] - text()|@* stylesheet; which is generating output that is not desired.

Thanks,

Jeff Zahodnik
President, Reverber8 Technologies
http://www.reverber8.com
ph: 916-812-7567

Sample doc.xml:

Technology



Sample output:
Technology <- This is undesirably being written

Postnext
(Deleted User) Subject: Disabling Default Stylesheets in Stylus
Author: (Deleted User)
Date: 29 Oct 2000 08:51 PM
You can disable Stylus's adding default templates to your stylesheet, but that will not change the stylesheet's behavior. An attribute()|text() rule and a *|/ rule are built into any XSL processor. Stylus only adds them explicitly for clarity when you're using backmapping and other debug features.

Alex Lloyd
eXcelon corp.

Posttop
Jeff ZahodnikSubject: Disabling Default Stylesheets in Stylus
Author: Jeff Zahodnik
Date: 30 Oct 2000 10:41 AM
Thanks for the response. In working with further, I've achieved the desired output. More to follow...

JZ

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.