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
Doug ConingSubject: XSLT Nodes converted to lowercase?
Author: Doug Coning
Date: 22 Mar 2005 04:40 PM
I had an xslt sheet sent to me from a coworker that I had been working with all day in Stylus Studio.

About 10 minutes ago I noticed that most of the nodes had been converted from UPPERCASE or CamelCase to lowercase throughout the entire document!

First of all, could I have inadvertently run a command in Stylus Studio that would cause all nodes to be lowercased?

Secondly, is there a way to reverse this?

Thanks,

Doug C.

Postnext
(Deleted User) Subject: Re: XSLT Nodes converted to lowercase?
Author: (Deleted User)
Date: 23 Mar 2005 08:38 AM
Hi Doug,
the only place where such a replacement could happen is if you have been
using the WYSIWYG editor for HTML; in this case only the HTML tags would be
made lowercase by the HTML engine of Internet Explorer.
Is this the case?

Thanks,
Alberto


Postnext
Doug ConingSubject: Re: XSLT Nodes converted to lowercase?
Author: Doug Coning
Date: 23 Mar 2005 09:03 AM
No. In fact there are no HTML tags in my XSLT, it's output mode is XML.

This is a sampling of my original code that I began the day with:

<xsl:template match="/">
<LoanApplication>
<LOANAPP>
<APPTYPENAME>
<xsl:value-of select="$apptypename"/>
</APPTYPENAME>


Then at the end of the day, I noticed the following:

<xsl:template match="/">
<loanapplication>
<loanapp>
<apptypename>
<xsl:value-of select="TALIS/LOANAPP/APPDETAILS/PRODUCTID"/>
</apptypename>


I did NOT modify each node to be lowercase. The bummer is this happened to about 300 lines of xml code within the stylesheet.

Would changing the <xsl:output> method from html to xml do this?

Thanks,

Doug coning

Posttop
(Deleted User) Subject: Re: XSLT Nodes converted to lowercase?
Author: (Deleted User)
Date: 25 Mar 2005 05:06 AM
Hi Doug,
can you remember which tools were you using? e.g. just the text editor,
or also the mapper interface and WYSIWYG?

In case you were using the mapper interface, can you check whether the
target schema has lowercase node names?

Alberto

 
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.