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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1126)
- Stylus Studio Technical Forum (13844)
-> + XSLT Debug Call Stack doesn't ... (13)
-> + Basing XSLT on Schema (2)
-> + Xpath and the not operator (7)
-> + WSDL does not load properly (2)
-> + Stylus Studio won't run (7)
-> + XSLT Group By (2)
-> + Access problems to Tamino XML ... (2)
-> + Utilizing Stylus Studio for au... (4)
-> + Running Java file created from... (4)
-> + Showing All Validation Errors ... (6)
-> + How to read the value of defau... (2)
-> + Set the xmlns namespace depend... (11)
-> + CVS integration (2)
-> + buiding your own nodesets (11)
-> + XSD Validation (3)
-> + Moving Stylus Studio (2)
-> + StylusFileFactory.unlockAPI() ... (5)
-> + StylusFileFactory.unlockAPI FA... (2)
-> + Has the beta been released yet... (2)
-> + Custom File System java.lang.N... (4)
-> + Complex Flat File to XML Conve... (10)
-> + convert positional flat file t... (9)
-> + XML Schema to XML Document (2)
-> + Web Services Call Returns Noth... (6)
-> + Product Activation Question (5)
-> + Empty Columns Not Seen when Us... (6)
-> + Problems with targetNamespace ... (2)
-> + Show Restriction Facets in Dia... (2)
-> + xml to flat file (2)
-> + Xs3p schema doc generator crea... (2)
-> + RDBXML connection to Oracle DB... (4)
-> + HTML to XML wizard - What Java... (2)
-> + Berkeley DB XML integration (5)
-> + Cannot open local XML file in ... (2)
-> + Collections in the latest ente... (3)
-> + Is there an XSD import limitat... (2)
-> + Evaluation Copy Installation P... (2)
-> + Convert to XML selections miss... (3)
-> + 837 to XML error (7)
-> + finding un-used types (2)
-> + Seble WSDL using Soap_DOC (8)
-> + XSL_FO to RTF conversion (2)
-> + Schema Newbie (2)
-> - Siebel WSDL not parsed correct... (1)
-> + File type associations disappe... (2)
-> + Pattern issues with & < charac... (3)
-> + 2 stylus studio newbie questio... (2)
-> + Using Adapters (4)
-> + Names spaces (3)
-> + security alert (2)
-> + using variables for xpath stri... (2)
-> + GUI widget for defining collec... (4)
-> + with xslt , in preview, tree v... (4)
-> + CSV to XML: Ignore Missing Fie... (3)
-> + SS 2006 R3 Ent cannot find JRE... (19)
-> + Issue with external Javascript (2)
-> + Adapter issues - Failng to Con... (6)
-> - Tools \ Keyboard not showing a... (1)
-> + CSV to XML: Size Limit? (2)
-> + Comparing two nodes (4)
-> + Relationship between Stylus St... (3)
-> + HOme studio is failing to save... (5)
-> + EDI parsing questions (2)
-> + Is it possible to have empty d... (5)
-> + Xpath Query Editor (5)
-> + Carriage returns and line feed... (7)
-> + CVS: Configuration of ZEUS for... (4)
-> + Unable to reset debug toolbar (2)
-> + Not able to generate JAXB clas... (2)
-> + Unable to Bulk Load the XML fi... (7)
-> - Stylus Studio Does Not Install... (1)
-> + DESADV 93A (3)
-> + Stylus Studio Installs Trojan ... (6)
-> + Subversion Support (2)
-> + Changes to XML file not persis... (3)
-> + Stylus is crashing everytime i... (4)
-> + New XPath Query Window in Rele... (6)
-> + Convert to XML not converting ... (3)
-> + Joining variables to xpath exp... (5)
-> + Locale Settings (2)
-> + EDI to XML using adapter (2)
-> + Out of Memory using WYSIWYG XS... (2)
-> + Poor Database Support (2)
-> + WSDL (3)
-> + How to Insert To DB with Java (8)
-> + Stylus Studio with Java 1.5.0_... (2)
-> + Help with strange XML file - p... (6)
-> + WSDL will not create scenario (3)
-> + 'import module ..' line disapp... (3)
-> + Install does not create regist... (11)
-> + Finding a node by its name! (8)
-> + To create local hyperlinks in ... (2)
-> + More on invalid characters (2)
-> - Entity Reference Toggle for XM... (1)
-> + Flat file with complex layout ... (2)
-> + xsl - 2 source documents? (2)
-> - Adobe Framemaker Readable XML (1)
-> + berkeley db xml container upda... (2)
-> + Problem Database connection (2)
-> + Error validating a small docum... (4)
-- Previous [1801-1820] [1821-1840] [1841-1860] Next
+ Website Feedback (244)
+ XSLT Help and Discussion (7447)
+ XQuery Help and Discussion (1870)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (361)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Carlton NolesSubject: New to Stylus
Author: Carlton Noles
Date: 25 Nov 1999 10:37 AM
I am new with stylus. One of the default rules outputs all of the text. When I add rules I am getting a duplication of the existing text what am I doing wrong?

Postnext
Thomas McclureSubject: New to Stylus
Author: Thomas Mcclure
Date: 25 Nov 1999 10:51 AM
www.potomacgroup.freeservers.com is seeking $US 10,000 venture capital

for development of XML to Java Interpreter in small C to produce JAVA code.

Postnext
Omri TraubSubject: New to Stylus
Author: Omri Traub
Date: 29 Nov 1999 01:11 PM
Hi,

I am not sure that I understand your problem. In general, there are two default rules: one that processes every xml element by searching and applying an appropriate template for each of its children. The other is a default rule for text, which just displays it.

The result of these two is that with a brand new stylesheet, you will see that just the xml text is being displayed.

I am not sure why you are getting duplication. If you post a specific example, I can be more specific.

- Omri.

Postnext
Carlton NolesSubject: New to Stylus
Author: Carlton Noles
Date: 06 Dec 1999 02:19 PM
attached  is the xsl file ---

and here is the html output ---


Carlton Noles Carlton Noles
5508 Rollingwood Dr.5508 Rollingwood Dr.
SarasotaSarasota, FlFl3423234232
nolesce@home.comnolesce@home.com
941.377.6351941.377.6351




Burt Wizeman Burt Wizeman
5322 JoAn Dr.5322 JoAn Dr.
SarasotaSarasota, FlFl3423734237
wizemanb@yahoo.comwizemanb@yahoo.com
941.341.5116941.341.5116






Notice that the data is repeated.

regards,
puzzled


Applicationaddbook.xsl

Postnext
Omri TraubSubject: New to Stylus
Author: Omri Traub
Date: 07 Dec 1999 10:20 AM
Hi,

Here is one of the templates you had:

(xsl:template match="Name")(xsl:apply-templates/)
(font color="Blue")(b) (xsl:value-of select=".")(br/)(/b)(/font)
(/xsl:template)

The reason you get the data repeated is because you have both: (xsl:apply-templates) and (xsl:value-of) in your template. The apply-templates call goes and uses the default text rule to accomplish the same thing as your value-of call. Stylus puts (xsl:apply-templates) in every new template you create. If you want to specify your own content, you may wish to delete that code first.

- Omri.

Posttop
Carlton NolesSubject: New to Stylus
Author: Carlton Noles
Date: 09 Dec 1999 02:23 AM
that was it thank you very much

Carlton

   
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-2011 All Rights Reserved.