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

RE: XSplit & JavaScript, JSP

Subject: RE: XSplit & JavaScript, JSP
From: skhurshid@xxxxxxxxxx
Date: Mon, 26 Mar 2001 09:42:18 -0500
javascript jsp

Hi David,
Much Thanks for your reply !

>XSplit contains support for scripts.  Anything enclosed in tags <%....%> or
><jsp>...</jsp> will be ignored.
>If you have other things that need to be replaced, look at the
>ServerPageTags.xml file in your XSplit directory.  You can add your own markers
>or use <script... and </script>.

Unfortunately, I couldn't find any file named ServerPageTags.xml in the XSplit
directory. Also, I still can't get a simply jsp page to be split up.
I tried a very simply jsp page and the resulting xml & xsl are included in the
email below.
Notice that the xml is empty and the xsl has no jsp or html content.

I'm trying to convince management to move to XML/XSL technology and I really
need to show them that this tool works (so that we can automate the conversion).
I *greatly* appreciate your help :-)
Thanks again !
-Sher

--------------------JSP-----------------------------------------
<%@ page contentType="text/html" %>

<%
   HPSEnvironment env = new HPSEnvironment();
   env.getEnvironmentVariables(request,response,true);

%>

<html>
<head>
<title>

-- Title goes here --

</title>
</head>
<body bgcolor="#FFFFFF">

<SPAN ID="psx-text2">-- Body goes here --</span>

</body>
</html>

--------------------GENERATED XSL-------------------
<?xml version='1.0' encoding='ISO-8859-1'?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY % HTMLlat1 SYSTEM "DTD/HTMLlat1x.ent">
%HTMLlat1;

<!ENTITY % HTMLsymbol SYSTEM "DTD/HTMLsymbolx.ent">
%HTMLsymbol;

<!ENTITY % HTMLspecial SYSTEM "DTD/HTMLspecialx.ent">
%HTMLspecial;
]>
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
    <xsl:template match="/"/>
    <xsl:template match="*">
       <xsl:choose>
          <xsl:when test="text()">
             <xsl:value-of select="."/>
          </xsl:when>

          <xsl:otherwise>&nbsp;
</xsl:otherwise>

       </xsl:choose>

       <xsl:if test="not(position()=last())">
          <br id="XSpLit"/>
       </xsl:if>

    </xsl:template>

 </xsl:stylesheet>

--------------------GENERATED XML FILE IS EMPTY-------------------



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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